Compare commits
18 commits
main
...
stable-2.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a43d432647 | ||
|
|
579db591a0 | ||
|
|
63830807e0 | ||
|
|
7927741e50 | ||
|
|
e9c7fc52e1 | ||
|
|
b5b6c95c89 | ||
|
|
125e3ab71f | ||
|
|
9fa575b8f9 | ||
|
|
c91e5108cd | ||
|
|
d514be0546 | ||
|
|
eb95c2cbed | ||
|
|
1ecaadcada | ||
|
|
14a79167bd | ||
|
|
4a4514d38d | ||
|
|
6e2505ef93 | ||
|
|
f3e03fa10a | ||
|
|
fd992cc1ae | ||
|
|
6b0bf40e20 |
12
.warp.md
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
This file provides guidance to WARP (warp.dev) when working with code in this repository.
|
||||
|
||||
Agent entrypoint
|
||||
- Start with WARP.md (primary project rules and workflows for agents).
|
||||
- For extended quick refs and workflows, see cheatsheets/project-guide.md.
|
||||
This is a minimal entrypoint for agents.
|
||||
|
||||
For the full, up-to-date commands, architecture, and workflows, see:
|
||||
- cheatsheets/project-guide.md
|
||||
|
||||
Note: Keep cheatsheets/project-guide.md current. Make updates to this index by editing that guide.
|
||||
|
||||
Maintenance note
|
||||
- Keep both WARP.md and cheatsheets/project-guide.md current.
|
||||
- Prefer updating WARP.md for canonical rules; use the project guide for quick commands.
|
||||
|
|
|
|||
613
CHANGELOG.md
|
|
@ -5,619 +5,15 @@
|
|||
|
||||
---
|
||||
|
||||
# 🚀 **Current Release - ZaneyOS v2.6.1**
|
||||
|
||||
- Removed `discord` and `discord-canary`
|
||||
- They use an outdated `electron`
|
||||
- That build uses and `openssl v1.1.1w`
|
||||
- That ius OEL and marked insecure in NIXOS
|
||||
- Users can use an alternativve client until discord is updated
|
||||
- Disabled `zen browser` in `zaneyos/modules/home/default.nix`
|
||||
- Needs to be migrated to being enabled via host variable
|
||||
- Changed from `zen` to `latest` kernel
|
||||
- Linux kernel v7.0 is much better than 6.19_zen
|
||||
- Disabled `vfr = true;` in hyprland config
|
||||
- It's not supportorted after `v54.3`
|
||||
- Disabling now to avoid error on next update
|
||||
- Added `awww` as flake input for installs < 25.11
|
||||
- Fixed eval warnings:
|
||||
- `gtk.gtk4.theme` set to `null`
|
||||
- `git.signing.format` set to `null`
|
||||
- `nixvim` lualine theme set to `auto`
|
||||
- Changed to NixOS unstable branch
|
||||
- Ported `DropTerminal` from `KoolDots` to ZaneyOS
|
||||
- Replaces pyprland and some python dependencies
|
||||
- Hyprland updated to v0.54
|
||||
- Added support for scrolling and monocle layouts
|
||||
- Fixed hyprland float-all bindings
|
||||
- Updated Window Rules for new Hyprland format
|
||||
- Disabled steam by default
|
||||
- Removed `adb.enable` no longer supported and not needed for ZaneyOS
|
||||
- Changed `nixfmt-rfc-style` package for updated `nitfmt`
|
||||
- `nixfmt-rfc-style` no longer supported
|
||||
- Fixed other evaluation warnings with `Xorg` package changes
|
||||
|
||||
# 🚀 **Current Release - ZaneyOS v2.6.0**
|
||||
|
||||
#### 📅 **Updated: April 3rd, 2026**
|
||||
|
||||
- Swapped `awww` for `swww`
|
||||
- `swww` is no longer maintained
|
||||
- removed `--format xrgb` flag also no needed
|
||||
|
||||
#### 📅 **Updated: February 19th, 2026**
|
||||
|
||||
- Fixed `zcli` GPU detection for newer AMD GPUs
|
||||
- Fixed the fix to properly detect VMs
|
||||
- `nixvim.nix` changes
|
||||
- Disabled Zig language server
|
||||
- Disabled marksman language server
|
||||
- Caused dotnet lib to be compiled (takes hours)
|
||||
|
||||
#### 📅 **Updated: February 16th, 2026**
|
||||
|
||||
- Removed `hyprpanel`
|
||||
- No longer maintained
|
||||
- Vendor created `wayle` to replace it
|
||||
- Replaced in ZaneyOS with 'noctalia-shell'
|
||||
|
||||
- `webkitgtk` being built from source
|
||||
- Removed audacity is called `wxwidgets`
|
||||
- Created overlay for `tumbler` to disable `libepub`
|
||||
- These caused the build from source issue
|
||||
- Building `webkitgtk` takes hours every rebuild/update
|
||||
|
||||
#### 📅 **Updated: January 31st, 2026**
|
||||
|
||||
- Changed default login manager to `TUI`
|
||||
- Issues recently (again) with SDDM and some GPUs
|
||||
- Often related to SDDM wayland support option
|
||||
- Some GPUs need it enabled, others disabled
|
||||
|
||||
#### 📅 **Updated: January 28th, 2026**
|
||||
|
||||
- Disabled gnome in stylix. Caused install failure
|
||||
|
||||
#### 📅 **Updated: January 26th, 2026**
|
||||
|
||||
- `noctalia-shell` regression:
|
||||
- Removed `noctalia-shell` systemd service
|
||||
- Caused old version of `noctalia-shell`
|
||||
- Adjusted `noctalia-shell` bindings to match change
|
||||
- Default applications now settable
|
||||
- Globally for all hosts
|
||||
- `zaneyos/modules/home/xdg.nix`
|
||||
- Per host
|
||||
- `zaneyos/hosts/HOSTNAME/variables.nix`
|
||||
- Host settings override `xdg.nix` settings
|
||||
|
||||
#### 📅 **Updated: January 23rd, 2026**
|
||||
|
||||
- Added additional fonts
|
||||
- Fixed issue with Hypridle and Home Manager
|
||||
- Added `systemdTarget = "hyprland-session.target";`
|
||||
- Thank you `Yang Kexuan` for the fix
|
||||
- Reference issue: [5899](https://github.com/nix-community/home-manager/issues/5899)
|
||||
|
||||
#### 📅 **Updated: January 5th, 2026**
|
||||
|
||||
- Removed extra newline in `exec-once.nix`
|
||||
- Fixed typo in `noctalia.nix`
|
||||
- Added docs reference per systemd spec
|
||||
- Improved code overall
|
||||
- Thanks `lichen.gel.calm` for finding these issues
|
||||
- Disabled `noctalia-shell` systemd service
|
||||
- Caused older revision of `noctalia-shell` to load
|
||||
- Now started from hyprland
|
||||
|
||||
#### 📅 **Updated: December 29th, 2025**
|
||||
|
||||
- Removed extra `noctalia-shell` startup
|
||||
- Added initial support for AMD, NVIDIA Hybrid laptops
|
||||
- Keypress to recover from DPMS now enabled by default
|
||||
|
||||
#### 📅 **Updated: December 21st, 2025**
|
||||
|
||||
- Added user systemd service for `noctalia-shell`
|
||||
- Updated Hyprland bindings to accomodate change
|
||||
- Updated `nixvim`
|
||||
|
||||
## `nixvim` Features Migrated from Bugsvim
|
||||
|
||||
#### Custom Diagnostic Icons
|
||||
|
||||
```lua
|
||||
Error = " "
|
||||
Warn = " "
|
||||
Hint = ""
|
||||
Info = ""
|
||||
```
|
||||
- Custom unicode symbols for each diagnostic severity level
|
||||
- Integrated into vim.diagnostic.config() for gutter display
|
||||
|
||||
#### Diagnostic Display Options
|
||||
|
||||
- **Sign Column**: Shows diagnostic icons in the gutter with custom text and highlight groups
|
||||
- **Virtual Text**: Inline diagnostics with custom prefix (`●`) and 2-space spacing
|
||||
- **Virtual Lines**: Enhanced visibility for error context without cluttering
|
||||
- **Underline**: Visual underline for error locations
|
||||
- **Floating Window**: Hover diagnostics with rounded borders and source attribution
|
||||
- **Severity Sorting**: Errors prioritized over warnings
|
||||
|
||||
### 2. Text Yank Highlighting
|
||||
|
||||
**Migration**: Highlight yanked text for 200ms (IncSearch highlight group)
|
||||
- Autocmd-based implementation in extraConfigLua
|
||||
- Uses vim.hl.on_yank for smooth visual feedback
|
||||
|
||||
### 3. LSP Attachment Keybindings
|
||||
|
||||
**Enhanced LSP Integration** with on-attach callbacks:
|
||||
```
|
||||
K - Hover documentation
|
||||
gd - Goto definition
|
||||
gD - Goto declaration
|
||||
gi - Goto implementation
|
||||
gr - References
|
||||
<leader>rn - Rename symbol
|
||||
<leader>ca - Code action
|
||||
```
|
||||
- Buffer-local scope prevents global pollution
|
||||
- Guard against multiple registrations with flag check
|
||||
|
||||
### 4. Startup Dashboard
|
||||
|
||||
**Migration**: alpha-nvim with custom banner generation
|
||||
|
||||
#### Dynamic Header Generation
|
||||
|
||||
- Primary: `toilet -f ansi-shadow NIXOS`
|
||||
- Secondary: `figlet -f "ANSI Shadow" NIXOS`
|
||||
- Tertiary: `figlet NIXOS`
|
||||
- Fallback: ASCII art banner (9 lines)
|
||||
|
||||
#### Dashboard Buttons
|
||||
|
||||
| Shortcut | Action | Command |
|
||||
|----------|--------|---------|
|
||||
| `f` | Find file | Telescope find_files |
|
||||
| `r` | Recent files | Telescope oldfiles |
|
||||
| `g` | Live grep | Telescope live_grep |
|
||||
| `n` | New file | :enew |
|
||||
| `e` | File browser | Neotree toggle |
|
||||
| `q` | Quit | :qa |
|
||||
|
||||
#### Footer
|
||||
|
||||
Dynamic version display: `NixVim • Neovim X.Y.Z`
|
||||
|
||||
### 5. Theme Integration
|
||||
|
||||
**Migration**: Tokyo Night colorscheme with Stylix integration
|
||||
- Tokyo Night colors for status line (lualine)
|
||||
- Notify background color tied to Stylix palette: `#${config.lib.stylix.colors.base01}`
|
||||
- Consistent color management across UI components
|
||||
|
||||
## Comprehensive Feature Set
|
||||
|
||||
### UI/Visuals Migrated
|
||||
|
||||
- Lualine status line (Tokyo Night theme)
|
||||
- Bufferline for buffer management
|
||||
- Indent-blankline for visual indentation
|
||||
- Colorizer for inline color display
|
||||
- Illuminate for reference highlighting
|
||||
- Which-key for keybinding discovery (Helix preset)
|
||||
|
||||
### Core Editing
|
||||
|
||||
- Treesitter for syntax highlighting
|
||||
- Neo-tree file browser
|
||||
- Telescope fuzzy finder with media_files extension
|
||||
- Project.nvim for project management
|
||||
- Hop/Leap motion plugins
|
||||
- vim-surround for text manipulation
|
||||
- Comment.nvim for toggle comments
|
||||
|
||||
### Advanced Features
|
||||
|
||||
- snacks.nvim ecosystem (terminal, scratch buffers, zen mode, git integration, notifier)
|
||||
- Noice for enhanced UI/messages
|
||||
- Notify for notifications
|
||||
- todo-comments for task navigation
|
||||
- nvim-autopairs with Treesitter support
|
||||
|
||||
### Language Support
|
||||
|
||||
**LSP Servers**: nil_ls, lua_ls, pyright, ts_ls, html, cssls, clangd, zls, marksman, hyprls, tailwindcss, bashls
|
||||
|
||||
**Formatters**:
|
||||
- Nix: alejandra
|
||||
- Lua: stylua
|
||||
- JavaScript/TypeScript: prettierd
|
||||
- Shell: shfmt
|
||||
|
||||
**Completion**: blink-cmp with luasnip snippets
|
||||
|
||||
### Development Tools
|
||||
|
||||
- Git integration: gitsigns + diffview
|
||||
- Markdown preview
|
||||
- Trouble diagnostics panel
|
||||
- Terminal: toggleterm with float direction
|
||||
|
||||
## Implementation Details
|
||||
|
||||
### Module Structure
|
||||
|
||||
- **File**: `modules/home/editors/nixvim.nix` (743 lines)
|
||||
- **Framework**: Nixvim home-manager module
|
||||
- **Theme**: Tokyo Night (primary), Catppuccin (fallback)
|
||||
- **Runtime Tools**: 23+ packages (bat, chafa, fd, figlet, lazygit, prettierd, ripgrep, etc.)
|
||||
|
||||
## Keybinding Highlights
|
||||
|
||||
```
|
||||
jk - Exit insert mode
|
||||
<leader>ff - Find files
|
||||
<leader>fm - Find media files
|
||||
<leader>lg - Live grep
|
||||
<leader>fe - File explorer toggle
|
||||
<leader>t - Toggle terminal
|
||||
<leader>. - Toggle comment (line/visual)
|
||||
<leader>z - Zen mode
|
||||
<leader>Z - Zoom
|
||||
<leader>gg - Lazygit
|
||||
<c-/> - Terminal (via snacks)
|
||||
]t / [t - Next/prev TODO comment
|
||||
<leader>n - Notification history
|
||||
```
|
||||
|
||||
#### 📅 **Updated: December 21st, 2025**
|
||||
|
||||
- Added user systemd service for `noctalia-shell`
|
||||
- Updated Hyprland bindings to accomodate change
|
||||
- Updated `nixvim`
|
||||
|
||||
## `nixvim` Features Migrated from Bugsvim
|
||||
|
||||
#### Custom Diagnostic Icons
|
||||
|
||||
```lua
|
||||
Error = " "
|
||||
Warn = " "
|
||||
Hint = ""
|
||||
Info = ""
|
||||
```
|
||||
- Custom unicode symbols for each diagnostic severity level
|
||||
- Integrated into vim.diagnostic.config() for gutter display
|
||||
|
||||
#### Diagnostic Display Options
|
||||
|
||||
- **Sign Column**: Shows diagnostic icons in the gutter with custom text and highlight groups
|
||||
- **Virtual Text**: Inline diagnostics with custom prefix (`●`) and 2-space spacing
|
||||
- **Virtual Lines**: Enhanced visibility for error context without cluttering
|
||||
- **Underline**: Visual underline for error locations
|
||||
- **Floating Window**: Hover diagnostics with rounded borders and source attribution
|
||||
- **Severity Sorting**: Errors prioritized over warnings
|
||||
|
||||
### 2. Text Yank Highlighting
|
||||
|
||||
**Migration**: Highlight yanked text for 200ms (IncSearch highlight group)
|
||||
- Autocmd-based implementation in extraConfigLua
|
||||
- Uses vim.hl.on_yank for smooth visual feedback
|
||||
|
||||
### 3. LSP Attachment Keybindings
|
||||
|
||||
**Enhanced LSP Integration** with on-attach callbacks:
|
||||
```
|
||||
K - Hover documentation
|
||||
gd - Goto definition
|
||||
gD - Goto declaration
|
||||
gi - Goto implementation
|
||||
gr - References
|
||||
<leader>rn - Rename symbol
|
||||
<leader>ca - Code action
|
||||
```
|
||||
- Buffer-local scope prevents global pollution
|
||||
- Guard against multiple registrations with flag check
|
||||
|
||||
### 4. Startup Dashboard
|
||||
|
||||
**Migration**: alpha-nvim with custom banner generation
|
||||
|
||||
#### Dynamic Header Generation
|
||||
|
||||
- Primary: `toilet -f ansi-shadow NIXOS`
|
||||
- Secondary: `figlet -f "ANSI Shadow" NIXOS`
|
||||
- Tertiary: `figlet NIXOS`
|
||||
- Fallback: ASCII art banner (9 lines)
|
||||
|
||||
#### Dashboard Buttons
|
||||
|
||||
| Shortcut | Action | Command |
|
||||
|----------|--------|---------|
|
||||
| `f` | Find file | Telescope find_files |
|
||||
| `r` | Recent files | Telescope oldfiles |
|
||||
| `g` | Live grep | Telescope live_grep |
|
||||
| `n` | New file | :enew |
|
||||
| `e` | File browser | Neotree toggle |
|
||||
| `q` | Quit | :qa |
|
||||
|
||||
#### Footer
|
||||
|
||||
Dynamic version display: `NixVim • Neovim X.Y.Z`
|
||||
|
||||
### 5. Theme Integration
|
||||
|
||||
**Migration**: Tokyo Night colorscheme with Stylix integration
|
||||
- Tokyo Night colors for status line (lualine)
|
||||
- Notify background color tied to Stylix palette: `#${config.lib.stylix.colors.base01}`
|
||||
- Consistent color management across UI components
|
||||
|
||||
## Comprehensive Feature Set
|
||||
|
||||
### UI/Visuals Migrated
|
||||
|
||||
- Lualine status line (Tokyo Night theme)
|
||||
- Bufferline for buffer management
|
||||
- Indent-blankline for visual indentation
|
||||
- Colorizer for inline color display
|
||||
- Illuminate for reference highlighting
|
||||
- Which-key for keybinding discovery (Helix preset)
|
||||
|
||||
### Core Editing
|
||||
|
||||
- Treesitter for syntax highlighting
|
||||
- Neo-tree file browser
|
||||
- Telescope fuzzy finder with media_files extension
|
||||
- Project.nvim for project management
|
||||
- Hop/Leap motion plugins
|
||||
- vim-surround for text manipulation
|
||||
- Comment.nvim for toggle comments
|
||||
|
||||
### Advanced Features
|
||||
|
||||
- snacks.nvim ecosystem (terminal, scratch buffers, zen mode, git integration, notifier)
|
||||
- Noice for enhanced UI/messages
|
||||
- Notify for notifications
|
||||
- todo-comments for task navigation
|
||||
- nvim-autopairs with Treesitter support
|
||||
|
||||
### Language Support
|
||||
|
||||
**LSP Servers**: nil_ls, lua_ls, pyright, ts_ls, html, cssls, clangd, zls, marksman, hyprls, tailwindcss, bashls
|
||||
|
||||
**Formatters**:
|
||||
- Nix: alejandra
|
||||
- Lua: stylua
|
||||
- JavaScript/TypeScript: prettierd
|
||||
- Shell: shfmt
|
||||
|
||||
**Completion**: blink-cmp with luasnip snippets
|
||||
|
||||
### Development Tools
|
||||
|
||||
- Git integration: gitsigns + diffview
|
||||
- Markdown preview
|
||||
- Trouble diagnostics panel
|
||||
- Terminal: toggleterm with float direction
|
||||
|
||||
## Implementation Details
|
||||
|
||||
### Module Structure
|
||||
|
||||
- **File**: `modules/home/editors/nixvim.nix` (743 lines)
|
||||
- **Framework**: Nixvim home-manager module
|
||||
- **Theme**: Tokyo Night (primary), Catppuccin (fallback)
|
||||
- **Runtime Tools**: 23+ packages (bat, chafa, fd, figlet, lazygit, prettierd, ripgrep, etc.)
|
||||
|
||||
## Keybinding Highlights
|
||||
|
||||
```
|
||||
jk - Exit insert mode
|
||||
<leader>ff - Find files
|
||||
<leader>fm - Find media files
|
||||
<leader>lg - Live grep
|
||||
<leader>fe - File explorer toggle
|
||||
<leader>t - Toggle terminal
|
||||
<leader>. - Toggle comment (line/visual)
|
||||
<leader>z - Zen mode
|
||||
<leader>Z - Zoom
|
||||
<leader>gg - Lazygit
|
||||
<c-/> - Terminal (via snacks)
|
||||
]t / [t - Next/prev TODO comment
|
||||
<leader>n - Notification history
|
||||
```
|
||||
|
||||
#### 📅 **Updated: December 21st, 2025**
|
||||
|
||||
- Updated:
|
||||
- `nixvim.nix` now uses `blink-cmp` for completion/suggestions
|
||||
- This replaces `nvim-cmp`
|
||||
- `blink-cmp` is better, integrated in nixvim
|
||||
- Removed LUA code related to `nvim-cmp`
|
||||
|
||||
- Fixed:
|
||||
- Output of `zcli list-gens` corrected
|
||||
- Thanks `@codingismy11to71`
|
||||
|
||||
#### 📅 **Updated: December 14th, 2025**
|
||||
|
||||
- Fixed:
|
||||
- hyprlock background image
|
||||
- `--diff-always` to `nh` rebuilds
|
||||
- Removed extra `Ghz` in `fastfetch` output
|
||||
- Fixed hard coded directory for cheatsheets path
|
||||
- Removed hard coded title
|
||||
- Focus follows mouse
|
||||
- Consistent with hyprland
|
||||
- Turned off resize overlay
|
||||
- Added curosr wrap shader
|
||||
- Thanks to Steven Scott for the fixes
|
||||
|
||||
#### 📅 **Updated: December 12th, 2025**
|
||||
|
||||
- Fixed:
|
||||
- `Weather.py` script
|
||||
- Start menu in waybars
|
||||
- Ported from ddubsos:
|
||||
- `kitty-bg` and `ghostty-bg`
|
||||
- Adds random backgrounds to terminals
|
||||
- Custom Quickshell logout menu
|
||||
- Custom startmenu
|
||||
- Custom logout menu
|
||||
- Quickshell wallpaper apps
|
||||
- One for images, one for video wallpapers
|
||||
- `ly` login manager
|
||||
- `nwg-dock-hyprland.nix`
|
||||
- `SUPERCTRL+D` to toggle
|
||||
- Added:
|
||||
- More wallpapers
|
||||
- Video wallpapers
|
||||
|
||||
#### 📅 **Updated: December 9th, 2025**
|
||||
|
||||
- Notifcation history binding had wrong keyword
|
||||
- Thanks to Kexuan Yang for fixing it
|
||||
|
||||
#### 📅 **Updated: December 7th, 2025**
|
||||
|
||||
- Added `alejandra` formatter to `flake.nix`
|
||||
- ran `nix fmt ./` and updated all files to current format spec
|
||||
- Added `alejandra` as default formatter in `nixvim.nix`
|
||||
- Hybrid GPU detection fails in `install-zaneyos.sh`
|
||||
- Should be `nvidia-laptop` not `hybrid`
|
||||
- Thanks to sasek @sasek333 for spotting this
|
||||
|
||||
#### 📅 **Updated: December 6th, 2025**
|
||||
|
||||
- Changed:
|
||||
- Quickshell now comes fromm NixPkgs.
|
||||
- No more compiling on rebuilds
|
||||
- Remove Flake input and input in `quickshell.nix`
|
||||
|
||||
#### 📅 **Updated: December 3rd, 2025**
|
||||
|
||||
- Added:
|
||||
- Cheatsheets from ddubsOS
|
||||
- Covers, terminals, emacs, etc
|
||||
- In English and Spanish
|
||||
- Zen browser
|
||||
- Via Flake, for current builds
|
||||
- Nano customized config
|
||||
- Pinned: `nixvim` to v25.11 branch
|
||||
- Added: Support for `kb_variants` at install time.
|
||||
- Keyboards, like `dvorak`, `coleman,` or `euro`
|
||||
- Configures, console, SDDM and Hyprland
|
||||
- Fixed: TUI greetd service name changed to `services.greetd`
|
||||
- Updated:
|
||||
- `cachix settings updated for better speed
|
||||
- Moved to its own `cacheix.nix` file
|
||||
|
||||
#### 📅 **Updated: December 1st, 2025**
|
||||
|
||||
- Added: System keybinds search tool from ddubsOS
|
||||
- Shows bindings for:
|
||||
- Hyprland, kitty, wezterm, ghostty, emacs and yazi
|
||||
- SUPER + K to invoke
|
||||
- SUPER + SHIFT + K for legacy keybind rofi menu
|
||||
- Fixed: Added power profiles daemon for noctalia
|
||||
- Fixed: `gpu-screen-recorder` not installed
|
||||
- Thanks to `@mugdad11` for finding them
|
||||
- Fixed: Both rofi and noctalia clipboard
|
||||
- Both were active on `SUPER + V`
|
||||
- Now checks for waybar or noctalia shell
|
||||
- Thanks to `@mugdad11` for finding it
|
||||
- Fixed: Laptop battery not showing in noctalia shell
|
||||
- Thanks again `@mugdad11` for finding issue
|
||||
- And doing the Merge Request to fix it
|
||||
- `upower` package not installed and `upower` service not enabled
|
||||
|
||||
- NEW: Added `quickshell-overview` integration
|
||||
- Workspace overview with live window previews
|
||||
- Toggled via `SUPER + TAB` keybind
|
||||
- Drag-and-drop workspace navigation
|
||||
- Uses IPC for seamless integration with Hyprland
|
||||
- QML code managed via Home Manager activation script
|
||||
- FIXED: Username wasn't reliably being set in `flake.nix`
|
||||
- Set ZaneyOS to NixOS v25.11 stable branch
|
||||
- Moved to `nixvim` for NeoVIM configuration
|
||||
- Works better
|
||||
- Fewer issues vs. `nvf.nix`
|
||||
- `nvf.nix` still included, but commented out
|
||||
- Added `alacritty.nix` from ddubsOS
|
||||
- Added `tmux.nix` from ddubosOS (courtesy of Tony,btw)
|
||||
- Added `vscode.nix` from ddubsOS.
|
||||
- Pre-configured with many useful plugins
|
||||
- Also works as template to add more
|
||||
- Added `antigravity` IDE from Google based on vscodium
|
||||
- Created `modules/core/overlays.nix`
|
||||
- Currently only has `antigravity` but more maybe be needed later
|
||||
- Fixed gestures errors from Hyprland Upgrade
|
||||
- Added Noctalia Shell as default
|
||||
- Added Additional waybars from dddubsOS
|
||||
- Added Addtional Animations from ddubsOS
|
||||
- Switched to `bindd` for friendlier keybinds descriptions
|
||||
- Updated keybind parser to use these descriptions
|
||||
- Keybinds are now conditional on waybar or noctalia shell
|
||||
- Updated `README.md` and `README.es.md`
|
||||
- New screenshots
|
||||
- Updated Keybindings
|
||||
- Moved screenshots into a markdown suummary to reduce clutter
|
||||
- Added script to fix `doom iedit` update error
|
||||
- Moved some modules/home/\*.nix files to their own subdir
|
||||
- Terminals
|
||||
- Alacritty
|
||||
- ghostty
|
||||
- Kitty
|
||||
- tmux
|
||||
- Wezterm
|
||||
- Editors
|
||||
- antigravity
|
||||
- emacs
|
||||
- evil-helix
|
||||
- nixvim
|
||||
- nvf
|
||||
- vscode
|
||||
- CLI/Utils
|
||||
- bat
|
||||
- Btop
|
||||
- Bottom
|
||||
- cava
|
||||
- fzf
|
||||
- git
|
||||
- gh
|
||||
- lazygit
|
||||
|
||||
Contributors: `@mugdad11`
|
||||
|
||||
#### 📅 **Updated: September 18th, 2025**
|
||||
|
||||
- 🧪 EXPERIMENTAL: AMD+NVIDIA hybrid support (amd-hybrid)
|
||||
- New driver module: `modules/drivers/nvidia-amd-hybrid.nix` (options:
|
||||
`enable`, `amdgpuBusID`, `nvidiaBusID`)
|
||||
- Kernel pin: `boot.kernelPackages` forced to `linuxPackages_6_12` when
|
||||
enabled (required for RTX 50xx open kernel module)
|
||||
- New profile: `profiles/amd-hybrid/default.nix` (wires `amdgpuID`/`nvidiaID`
|
||||
from `hosts/<host>/variables.nix`)
|
||||
- zcli detection updated to recognize `amd-hybrid`; `install-zaneyos.sh`
|
||||
prompts include `amd-hybrid`
|
||||
- Added `amdgpuID` to `hosts/*/variables.nix`
|
||||
- Docs updated (`README`, `WARP.md`, cheatsheets)
|
||||
- Caution: Can't fully test at this time. Please verify your Bus IDs via
|
||||
`lspci` and use `zcli rebuild-boot` for safer activation
|
||||
# 🚀 **Current Release - ZaneyOS v2.4**
|
||||
|
||||
#### 📅 **Updated: September 9th, 2025**
|
||||
|
||||
- 🛡️ Installer: Added defensive hostname validation and sanitization
|
||||
- Prevents invalid hostnames (e.g., with dots) from causing Nix evaluation
|
||||
errors
|
||||
- Auto-sanitizes to a compliant hostname (letters/digits with '-' or '\_', 1–63
|
||||
chars) and prompts for confirmation
|
||||
- Prevents invalid hostnames (e.g., with dots) from causing Nix evaluation errors
|
||||
- Auto-sanitizes to a compliant hostname (letters/digits with '-' or '_', 1–63 chars) and prompts for confirmation
|
||||
- Explicitly rejects 'default' to avoid template overwrites
|
||||
- 🧩 Nix: Added assertion in modules/core/network.nix for clearer errors if an
|
||||
invalid hostname is provided
|
||||
- 🧩 Nix: Added assertion in modules/core/network.nix for clearer errors if an invalid hostname is provided
|
||||
|
||||
#### 📅 **Updated: August 30th, 2025**
|
||||
|
||||
|
|
@ -827,7 +223,6 @@
|
|||
- 📊 Added info on `zcli` utility
|
||||
- ⬆️ Updated `zcli` now uses `nh` util to select # of generations to keep
|
||||
- ➕ Added `zcli` CLI util. runs rebuild, update, garbage collection and diags
|
||||
|
||||
```text
|
||||
❯ zcli
|
||||
|
||||
|
|
|
|||
495
FAQ.es.md
|
|
@ -1,8 +1,15 @@
|
|||
[English](FAQ.md) | [Español](FAQ.es.md)
|
||||
|
||||
# 💬 Preguntas frecuentes de ZaneyOS
|
||||
# 💬 Preguntas frecuentes de ZaneyOS para v2.4
|
||||
|
||||
- **Fecha:** 14 de deciembre de 2025
|
||||
- **Revisión v1.26**
|
||||
- **Fecha:** 1-septiembre-2025
|
||||
|
||||
> IMPORTANTE: ¿Actualizando de v2.3 a v2.4?
|
||||
> - Altamente recomendado: Lee `ZaneyOS-Upgrade.md` completamente antes de intentar la actualización.
|
||||
> - Explica la actualización automatizada, respaldo completo, migración de host y proceso de reversión.
|
||||
> - NO uses los alias `fu` o `fr` para esta actualización.
|
||||
> - Si has hecho modificaciones extensas, no ejecutes el script—revisa los documentos y migra manualmente.
|
||||
|
||||
**⌨ ¿Dónde puedo ver los atajos de teclado de Hyprland?**
|
||||
|
||||
|
|
@ -13,76 +20,43 @@
|
|||
<summary>**✨🖥️ ZCLI: ¿Qué es y cómo lo uso?**</summary>
|
||||
<div style="margin-left: 20px;">
|
||||
|
||||
La utilidad `zcli` es una herramienta de línea de comandos diseñada para
|
||||
simplificar la gestión de tu entorno `zaneyos`. Proporciona un conjunto completo
|
||||
de comandos para realizar tareas comunes como actualizar tu sistema, gestionar
|
||||
hosts, limpiar generaciones antiguas y gestionar Doom Emacs.
|
||||
La utilidad `zcli` es una herramienta de línea de comandos diseñada para simplificar la gestión de tu entorno `zaneyos`. Proporciona un conjunto completo de comandos para realizar tareas comunes como actualizar tu sistema, gestionar hosts, limpiar generaciones antiguas y gestionar Doom Emacs.
|
||||
|
||||
Para usarlo, abre una terminal y escribe `zcli` seguido de uno de los comandos
|
||||
listados a continuación:
|
||||
Para usarlo, abre una terminal y escribe `zcli` seguido de uno de los comandos listados a continuación:
|
||||
|
||||
## Comandos del Sistema Core:
|
||||
- `cleanup`: Limpia generaciones antiguas del sistema. Puedes especificar el número de generaciones a mantener. Incluye limpieza automatizada de logs de compilaciones antiguas.
|
||||
- `diag`: Crea un reporte de diagnóstico completo del sistema usando `inxi --full`, guardado en `~/diag.txt`. Perfecto para solucionar problemas.
|
||||
- `list-gens`: Lista tanto generaciones de usuario como de sistema con información detallada.
|
||||
- `rebuild`: Recompila la configuración del sistema NixOS con verificaciones de seguridad mejoradas y manejo de archivos de respaldo.
|
||||
- `rebuild-boot`: Recompila y establece como boot por defecto (se activa en el próximo reinicio). Más seguro para cambios importantes del sistema y actualizaciones del kernel.
|
||||
- `trim`: Recorta sistemas de archivos para mejorar el rendimiento del SSD con prompts de confirmación del usuario.
|
||||
- `update`: Actualiza el flake y recompila el sistema con manejo de errores completo.
|
||||
- `update-host`: Establece automáticamente el host y perfil en `flake.nix`. Características detección inteligente de GPU y validación de hostname.
|
||||
- `add-host`: Crea configuraciones de host nuevas con detección automática de GPU, generación de hardware.nix y integración con git.
|
||||
- `del-host`: Elimina configuraciones de host de forma segura con prompts de confirmación para prevenir eliminación accidental.
|
||||
|
||||
- `cleanup`: Limpia generaciones antiguas del sistema. Puedes especificar el
|
||||
número de generaciones a mantener. Incluye limpieza automatizada de logs de
|
||||
compilaciones antiguas.
|
||||
- `diag`: Crea un reporte de diagnóstico completo del sistema usando
|
||||
`inxi --full`, guardado en `~/diag.txt`. Perfecto para solucionar problemas.
|
||||
- `list-gens`: Lista tanto generaciones de usuario como de sistema con
|
||||
información detallada.
|
||||
- `rebuild`: Recompila la configuración del sistema NixOS con verificaciones de
|
||||
seguridad mejoradas y manejo de archivos de respaldo.
|
||||
- `rebuild-boot`: Recompila y establece como boot por defecto (se activa en el
|
||||
próximo reinicio). Más seguro para cambios importantes del sistema y
|
||||
actualizaciones del kernel.
|
||||
- `trim`: Recorta sistemas de archivos para mejorar el rendimiento del SSD con
|
||||
prompts de confirmación del usuario.
|
||||
- `update`: Actualiza el flake y recompila el sistema con manejo de errores
|
||||
completo.
|
||||
- `update-host`: Establece automáticamente el host y perfil en `flake.nix`.
|
||||
Características detección inteligente de GPU y validación de hostname.
|
||||
- `add-host`: Crea configuraciones de host nuevas con detección automática de
|
||||
GPU, generación de hardware.nix y integración con git.
|
||||
- `del-host`: Elimina configuraciones de host de forma segura con prompts de
|
||||
confirmación para prevenir eliminación accidental.
|
||||
|
||||
**Uso:** `zcli add-host [hostname] [profile]`\
|
||||
**Uso:** `zcli add-host [hostname] [profile]`
|
||||
**Perfiles de GPU:** `amd`, `intel`, `nvidia`, `nvidia-hybrid`, y `vm`
|
||||
|
||||
## Opciones Avanzadas de Compilación:
|
||||
|
||||
Los comandos `rebuild`, `rebuild-boot` y `update` soportan opciones mejoradas
|
||||
para control granular:
|
||||
|
||||
Los comandos `rebuild`, `rebuild-boot` y `update` soportan opciones mejoradas para control granular:
|
||||
- `--dry, -n`: Modo preview - muestra qué se haría sin ejecutar (dry run)
|
||||
- `--ask, -a`: Prompts de confirmación interactiva para operaciones críticas de
|
||||
seguridad
|
||||
- `--cores N`: Limita operaciones de compilación a N núcleos de CPU (esencial
|
||||
para VMs y sistemas con recursos limitados)
|
||||
- `--verbose, -v`: Habilita logs detallados de operación y salida verbose para
|
||||
troubleshooting
|
||||
- `--no-nom`: Deshabilita nix-output-monitor para salida tradicional de línea de
|
||||
comandos
|
||||
- `--ask, -a`: Prompts de confirmación interactiva para operaciones críticas de seguridad
|
||||
- `--cores N`: Limita operaciones de compilación a N núcleos de CPU (esencial para VMs y sistemas con recursos limitados)
|
||||
- `--verbose, -v`: Habilita logs detallados de operación y salida verbose para troubleshooting
|
||||
- `--no-nom`: Deshabilita nix-output-monitor para salida tradicional de línea de comandos
|
||||
|
||||
**Múltiples opciones pueden combinarse** para control preciso sobre tu proceso
|
||||
de compilación.
|
||||
**Múltiples opciones pueden combinarse** para control preciso sobre tu proceso de compilación.
|
||||
|
||||
## Gestión de Doom Emacs:
|
||||
Gestión completa del ciclo de vida de Doom Emacs con características de seguridad:
|
||||
- `doom install`: Instalación automatizada de Doom Emacs usando el script get-doom con todos los paquetes requeridos
|
||||
- `doom status`: Verifica el estado de instalación y muestra información de versión para verificación
|
||||
- `doom remove`: Remueve la instalación de Doom Emacs de forma segura con prompts de confirmación para prevenir eliminación accidental
|
||||
- `doom update`: Actualiza paquetes de Doom Emacs y configuración vía `doom sync`
|
||||
|
||||
Gestión completa del ciclo de vida de Doom Emacs con características de
|
||||
seguridad:
|
||||
|
||||
- `doom install`: Instalación automatizada de Doom Emacs usando el script
|
||||
get-doom con todos los paquetes requeridos
|
||||
- `doom status`: Verifica el estado de instalación y muestra información de
|
||||
versión para verificación
|
||||
- `doom remove`: Remueve la instalación de Doom Emacs de forma segura con
|
||||
prompts de confirmación para prevenir eliminación accidental
|
||||
- `doom update`: Actualiza paquetes de Doom Emacs y configuración vía
|
||||
`doom sync`
|
||||
|
||||
**Características:** Verificaciones de seguridad integradas, manejo de errores
|
||||
completo y gestión automática de dependencias.
|
||||
**Características:** Verificaciones de seguridad integradas, manejo de errores completo y gestión automática de dependencias.
|
||||
|
||||
```text
|
||||
❯ zcli
|
||||
|
|
@ -120,7 +94,6 @@ Doom Emacs:
|
|||
```
|
||||
|
||||
**Ejemplos:**
|
||||
|
||||
```bash
|
||||
# Gestión del sistema
|
||||
zcli rebuild --dry # Muestra qué se recompilaría
|
||||
|
|
@ -139,45 +112,15 @@ zcli doom status # Verifica estado de instalación
|
|||
</div>
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>**¿Cómo configuro aplicaciones predeterminadas (PDF, navegador) por host?**</summary>
|
||||
|
||||
- Edita `~/zaneyos/hosts/<HOSTNAME>/variables.nix` y descomenta `mimeDefaultApps`.
|
||||
- Home Manager usará esto vía `modules/home/xdg.nix` para escribir tu `~/.config/mimeapps.list`.
|
||||
- Usa IDs `.desktop` reales de `/usr/share/applications` o `~/.local/share/applications`.
|
||||
|
||||
```nix
|
||||
# hosts/<HOSTNAME>/variables.nix
|
||||
# Aplicaciones predeterminadas a nivel de host (consumidas por xdg.mimeApps)
|
||||
# mimeDefaultApps = {
|
||||
# # PDFs
|
||||
# "application/pdf" = ["okular.desktop"];
|
||||
# "application/x-pdf" = ["okular.desktop"];
|
||||
# # Navegador web
|
||||
# "x-scheme-handler/http" = ["google-chrome.desktop"]; # o brave-browser.desktop, firefox.desktop
|
||||
# "x-scheme-handler/https" = ["google-chrome.desktop"];
|
||||
# "text/html" = ["google-chrome.desktop"];
|
||||
# # Archivos
|
||||
# "inode/directory" = ["thunar.desktop"]; # gestor de archivos
|
||||
# "text/plain" = ["nvim.desktop"]; # o code.desktop
|
||||
# };
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
## Atajos Principales de Hyprland
|
||||
|
||||
A continuación se muestran los atajos de teclado para Hyprland, formateados para
|
||||
fácil referencia.
|
||||
A continuación se muestran los atajos de teclado para Hyprland, formateados para fácil referencia.
|
||||
|
||||
## Lanzamiento de Aplicaciones
|
||||
|
||||
- `$modifier + Return` → Lanzar `Terminal`
|
||||
- `$modifier + Tab` → Alternar `Quickshell Overview` (visor de espacios con
|
||||
vistas en vivo)
|
||||
- `$modifier + K` → Lista atajos
|
||||
- `$modifier + D` → Lanzar `launcher`
|
||||
- `$modifier + Shift + Return` → Lanzar `launcher`
|
||||
- `$modifier + Shift + Return` → Lanzar `rofi-launcher`
|
||||
- `$modifier + Shift + W` → Abrir `web-search`
|
||||
- `$modifier + Alt + W` → Abrir `wallsetter`
|
||||
- `$modifier + Shift + N` → Ejecutar `swaync-client -rs`
|
||||
|
|
@ -185,7 +128,7 @@ fácil referencia.
|
|||
- `$modifier + Y` → Abrir `kitty` con `yazi`
|
||||
- `$modifier + E` → Abrir `emopicker9000`
|
||||
- `$modifier + S` → Tomar captura de pantalla
|
||||
- `$modifier + Shift + D` → Abrir `Discord`
|
||||
- `$modifier + D` → Abrir `Discord`
|
||||
- `$modifier + O` → Lanzar `OBS Studio`
|
||||
- `$modifier + C` → Ejecutar `hyprpicker -a`
|
||||
- `$modifier + G` → Abrir `GIMP`
|
||||
|
|
@ -205,14 +148,10 @@ fácil referencia.
|
|||
|
||||
## Movimiento de Ventanas
|
||||
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Mover ventana
|
||||
izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Shift + H / L / K / J` → Mover ventana
|
||||
izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Intercambiar ventana
|
||||
izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Alt + 43 / 46 / 45 / 44` → Intercambiar ventana
|
||||
izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Mover ventana izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Shift + H / L / K / J` → Mover ventana izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Intercambiar ventana izquierda/derecha/arriba/abajo
|
||||
- `$modifier + Alt + 43 / 46 / 45 / 44` → Intercambiar ventana izquierda/derecha/arriba/abajo
|
||||
|
||||
## Movimiento de Foco
|
||||
|
||||
|
|
@ -247,14 +186,11 @@ fácil referencia.
|
|||
- El nombre `ZaneyOS` es un chiste interno entre amigos.
|
||||
- La intención es que esta configuración pueda usarse como daily driver
|
||||
- Desarrollar software, jugar juegos vía steam, etc.
|
||||
- Mi esperanza es que sea útil, y lo modifiques para que se ajuste a tus
|
||||
necesidades.
|
||||
- Mi esperanza es que sea útil, y lo modifiques para que se ajuste a tus necesidades.
|
||||
- Ese es el punto clave. Hazlo tuyo.
|
||||
- Crea un fork de ZaneyOS, luego modifícalo.
|
||||
- Si encuentras un issue y lo arreglas, o proporcionas una nueva característica,
|
||||
por favor compártelo.
|
||||
- ZaneyOS no es una distro. En este momento no hay planes para crear un ISO de
|
||||
instalación.
|
||||
- Si encuentras un issue y lo arreglas, o proporcionas una nueva característica, por favor compártelo.
|
||||
- ZaneyOS no es una distro. En este momento no hay planes para crear un ISO de instalación.
|
||||
|
||||
</div>
|
||||
</details>
|
||||
|
|
@ -337,8 +273,7 @@ fácil referencia.
|
|||
|
||||
- Remueve la línea con el paquete que quieres remover o coméntala
|
||||
- Guarda el archivo y haz un rebuild con el alias `fr`
|
||||
- Después puedes ejecutar `flatpak list` para verificar que los paquetes(s)
|
||||
estén removidos
|
||||
- Después puedes ejecutar `flatpak list` para verificar que los paquetes(s) estén removidos
|
||||
- Nota: Las dependencias base para flatpaks permanecen una vez instaladas.
|
||||
|
||||
</details>
|
||||
|
|
@ -375,13 +310,9 @@ waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
|||
<details>
|
||||
<summary>**¿Cómo cambio la configuración del monitor? **</summary>
|
||||
|
||||
La configuración del monitor está en el archivo:
|
||||
`~/zaneyos/hosts/<HOSTNAME>/variables.nix`
|
||||
La configuración del monitor está en el archivo: `~/zaneyos/hosts/<HOSTNAME>/variables.nix`
|
||||
|
||||
Dentro de las comillas la sintaxis es "monitor=adaptador de
|
||||
video,resolución@refresh rate, auto,escala" El monitor debe estar en minúsculas.
|
||||
Si no estás seguro de tus dispositivos de video ejecuta `hyprctl monitors` en
|
||||
una CLI de terminal. La salida se verá similar a esto:
|
||||
Dentro de las comillas la sintaxis es "monitor=adaptador de video,resolución@refresh rate, auto,escala" El monitor debe estar en minúsculas. Si no estás seguro de tus dispositivos de video ejecuta `hyprctl monitors` en una CLI de terminal. La salida se verá similar a esto:
|
||||
|
||||
```text
|
||||
hyprctl monitors
|
||||
|
|
@ -413,21 +344,15 @@ Edita la línea `extraMonitorSettings`. **Ejemplos:**
|
|||
- Monitor Único: `extraMonitorSettings = "monitor=eDP-1,1920x1080@60,auto,1";`
|
||||
- Monitores Múltiples:
|
||||
`extraMonitorSettings = "
|
||||
monitor=eDP-1,1920x1080@60,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@75,auto,auto
|
||||
";`
|
||||
monitor=eDP-1,1920x1080@60,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@75,auto,auto
|
||||
";`
|
||||
|
||||
- Para configuraciones multi-monitor más complejas, puedes usar la aplicación
|
||||
GUI, `nwg-displays` Esta mostrará tus monitores conectados actualmente
|
||||
permitiéndote usar el mouse para coincidir cómo están arreglados físicamente.
|
||||
Ej. qué monitor está a la izquierda, derecha, arriba o abajo. Es muy similar a
|
||||
la herramienta X11 basada, `arandr` Creará entonces un archivo de
|
||||
configuración compatible con Hyprland en `~/.config/hypr/monitors.conf`
|
||||
- Para configuraciones multi-monitor más complejas, puedes usar la aplicación GUI, `nwg-displays` Esta mostrará tus monitores conectados actualmente permitiéndote usar el mouse para coincidir cómo están arreglados físicamente. Ej. qué monitor está a la izquierda, derecha, arriba o abajo. Es muy similar a la herramienta X11 basada, `arandr` Creará entonces un archivo de configuración compatible con Hyprland en `~/.config/hypr/monitors.conf`
|
||||
|
||||
<img align="center" width="90%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/nwg-displays.png" />
|
||||
|
||||
Después de configurar los monitores como deseas, presiona `Apply` para guardar
|
||||
los cambios en `~/.config/hypr/monitors.conf`\
|
||||
Después de configurar los monitores como deseas, presiona `Apply` para guardar los cambios en `~/.config/hypr/monitors.conf`\
|
||||
El contenido se verá algo como esto:
|
||||
|
||||
```text
|
||||
|
|
@ -436,14 +361,11 @@ monitor=HDMI-A-1,1920x1080@74.97,2136x268,1.0
|
|||
monitor=eDP-1,1920x1080@144.0,216x268,1.0
|
||||
```
|
||||
|
||||
Solo necesitas copiar las líneas `monitor=` y pegarlas en el archivo
|
||||
`variables.nix` como se describe en el proceso arriba.
|
||||
Solo necesitas copiar las líneas `monitor=` y pegarlas en el archivo `variables.nix` como se describe en el proceso arriba.
|
||||
|
||||
Una vez hecho eso. Ejecuta el comando alias `fr` para construir una nueva
|
||||
generación para hacer efectivos los cambios.
|
||||
Una vez hecho eso. Ejecuta el comando alias `fr` para construir una nueva generación para hacer efectivos los cambios.
|
||||
|
||||
Más información sobre configurar monitores está disponible en el
|
||||
[Wiki de Hyprland](https://wiki.hyprland.org/Configuring/Monitors/)
|
||||
Más información sobre configurar monitores está disponible en el [Wiki de Hyprland](https://wiki.hyprland.org/Configuring/Monitors/)
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -452,15 +374,13 @@ Más información sobre configurar monitores está disponible en el
|
|||
|
||||
### Hay dos opciones. Una para todos los hosts que tienes, otra para un host específico.
|
||||
|
||||
1. Para aplicaciones que se incluirán en todos los hosts definidos edita el
|
||||
archivo `~/zaneyos/modules/core/packages.nix` file.
|
||||
1. Para aplicaciones que se incluirán en todos los hosts definidos edita el archivo `~/zaneyos/modules/core/packages.nix` file.
|
||||
|
||||
Hay una sección que comienza con: `environment.systemPackages = with pkgs;`
|
||||
|
||||
Seguida de una lista de paquetes. Estos son requeridos para ZaneyOS.
|
||||
|
||||
Te sugerimos agregar un comentario al final de los nombres de paquetes. Luego
|
||||
agrega tus paquetes.
|
||||
Te sugerimos agregar un comentario al final de los nombres de paquetes. Luego agrega tus paquetes.
|
||||
|
||||
```text
|
||||
...
|
||||
|
|
@ -507,8 +427,7 @@ La parte del archivo que necesitas editar se ve como esto:
|
|||
}
|
||||
```
|
||||
|
||||
Puedes agregar paquetes adicionales, o por ejemplo cambiar `discord` a
|
||||
`discord-canary` para obtener la versión beta de Discord pero solo en este host.
|
||||
Puedes agregar paquetes adicionales, o por ejemplo cambiar `discord` a `discord-canary` para obtener la versión beta de Discord pero solo en este host.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -519,8 +438,7 @@ Puedes agregar paquetes adicionales, o por ejemplo cambiar `discord` a
|
|||
- Usa la utilidad `zcli`. `zcli rebuild`
|
||||
- El alias legacy `fr`, Flake Rebuild está depreciado pero aún disponible
|
||||
|
||||
Si el rebuild se completa exitosamente, se creará una nueva generación con tus
|
||||
paquetes agregados.
|
||||
Si el rebuild se completa exitosamente, se creará una nueva generación con tus paquetes agregados.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -538,7 +456,7 @@ paquetes agregados.
|
|||
|
||||
- Usa la utilidad `zcli`. `zcli rebuild`
|
||||
- El alias legacy `fr`, Flake Rebuild está depreciado pero aún disponible **
|
||||
NOTA: Si **creaste un nuevo archivo\*\*
|
||||
NOTA: Si **creaste un nuevo archivo**
|
||||
- necesitarás ejecutar un comando `git add .` en la carpeta `zaneyos`
|
||||
- Si es exitoso se generará una nueva generación con tus cambios
|
||||
- Un logout o reboot podría ser requerido dependiendo de qué cambiaste
|
||||
|
|
@ -548,8 +466,7 @@ paquetes agregados.
|
|||
<details>
|
||||
<summary>** ¿Cómo puedo configurar un kernel diferente en un host específico? **</summary>
|
||||
|
||||
1. Tienes que editar el archivo `hardware.nix` para ese host en
|
||||
`~/zaneyos/hosts/HOSTNAME/hardware.nix` y override el default.
|
||||
1. Tienes que editar el archivo `hardware.nix` para ese host en `~/zaneyos/hosts/HOSTNAME/hardware.nix` y override el default.
|
||||
2. Cerca del top encontrarás esta sección del archivo `hardware.nix`.
|
||||
|
||||
```nix
|
||||
|
|
@ -573,8 +490,7 @@ boot.kernelModules = ["kvm-intel"];
|
|||
boot.extraModulePackages = [];
|
||||
```
|
||||
|
||||
5. Usa el comando `zcli rebuild` o alias `fr` para crear una nueva generación y
|
||||
reboot para que tome efecto.
|
||||
5. Usa el comando `zcli rebuild` o alias `fr` para crear una nueva generación y reboot para que tome efecto.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -585,37 +501,28 @@ NixOS ofrece varios tipos principales de kernel para adaptarse a diferentes nece
|
|||
|
||||
1. **`linuxPackages`**
|
||||
- El kernel estable default, típicamente una versión LTS (Long-Term Support).
|
||||
LTS en 25.05 (warbler) es 6.12.x Versiones más viejas, 6.6.x, 6.8.x no
|
||||
están soportadas.
|
||||
LTS en 25.05 (warbler) es 6.12.x Versiones más viejas, 6.6.x, 6.8.x no están soportadas.
|
||||
|
||||
2. **`linuxPackages_latest`**
|
||||
- El kernel mainline más reciente, que puede incluir nuevas características
|
||||
pero podría ser menos estable.
|
||||
- El kernel mainline más reciente, que puede incluir nuevas características pero podría ser menos estable.
|
||||
|
||||
3. **`linuxPackages_zen`**
|
||||
- Un kernel optimizado para rendimiento con parches dirigidos a mejorar la
|
||||
responsividad e interactividad. Comúnmente usado por gamers y usuarios de
|
||||
desktop.
|
||||
- Un kernel optimizado para rendimiento con parches dirigidos a mejorar la responsividad e interactividad. Comúnmente usado por gamers y usuarios de desktop.
|
||||
|
||||
4. **`linuxPackages_hardened`**
|
||||
- Un kernel enfocado en seguridad con parches adicionales de hardening para
|
||||
protección mejorada.
|
||||
- Un kernel enfocado en seguridad con parches adicionales de hardening para protección mejorada.
|
||||
|
||||
5. **`linuxPackages_rt`**
|
||||
- Un kernel en tiempo real diseñado para baja latencia y aplicaciones
|
||||
sensibles al tiempo, como producción de audio o robótica.
|
||||
- Un kernel en tiempo real diseñado para baja latencia y aplicaciones sensibles al tiempo, como producción de audio o robótica.
|
||||
|
||||
6. **`linuxPackages_libre`**
|
||||
- Un kernel stripped de firmware y drivers propietarios, adhiriéndose a
|
||||
principios de software libre.
|
||||
- Un kernel stripped de firmware y drivers propietarios, adhiriéndose a principios de software libre.
|
||||
|
||||
7. **`linuxPackages_xen_dom0`**
|
||||
- Un kernel adaptado para correr como host (dom0) en entornos de
|
||||
virtualización Xen.
|
||||
- Un kernel adaptado para correr como host (dom0) en entornos de virtualización Xen.
|
||||
|
||||
8. **`linuxPackages_mptcp`**
|
||||
- Un kernel con soporte para Multipath TCP, útil para escenarios avanzados de
|
||||
networking.
|
||||
- Un kernel con soporte para Multipath TCP, útil para escenarios avanzados de networking.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -623,10 +530,7 @@ NixOS ofrece varios tipos principales de kernel para adaptarse a diferentes nece
|
|||
|
||||
<summary>** Tengo generaciones viejas que quiero borrar, ¿cómo puedo hacerlo? **</summary>
|
||||
|
||||
- El alias NixOS Clean Generations `ncg` removerá **TODAS** menos la más actual
|
||||
generación. Asegúrate de haber booted desde esa generación antes de usar este
|
||||
alias. También hay un schedule que removerá generaciones viejas
|
||||
automáticamente con el tiempo.
|
||||
- El alias NixOS Clean Generations `ncg` removerá **TODAS** menos la más actual generación. Asegúrate de haber booted desde esa generación antes de usar este alias. También hay un schedule que removerá generaciones viejas automáticamente con el tiempo.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -634,11 +538,9 @@ NixOS ofrece varios tipos principales de kernel para adaptarse a diferentes nece
|
|||
|
||||
<summary>**¿Cómo cambio el hostname? **</summary>
|
||||
|
||||
Para cambiar el hostname, hay varios pasos y tendrás que reboot para hacer el
|
||||
cambio efectivo.
|
||||
Para cambiar el hostname, hay varios pasos y tendrás que reboot para hacer el cambio efectivo.
|
||||
|
||||
1. Copia el directorio del host que quieres renombrar a un directorio con el
|
||||
nuevo nombre.
|
||||
1. Copia el directorio del host que quieres renombrar a un directorio con el nuevo nombre.
|
||||
|
||||
- `cp -rpv ~/zaneyos/hosts/OLD-HOSTNAME ~/zaneyos/hosts/NEW-HOSTNAME`
|
||||
|
||||
|
|
@ -646,11 +548,9 @@ cambio efectivo.
|
|||
|
||||
- `host = "NEW-HOSTNAME"`
|
||||
|
||||
3. En el directorio `~/zaneyos` ejecuta `git add .` _El rebuild fallará con un
|
||||
error 'file not found' si olvidas este paso._
|
||||
3. En el directorio `~/zaneyos` ejecuta `git add .` _El rebuild fallará con un error 'file not found' si olvidas este paso._
|
||||
|
||||
4. Usa el comando `zcli rebuild` o `fr` alias para crear una nueva generación
|
||||
con el nuevo hostname. Debes reboot para hacer el cambio efectivo.
|
||||
4. Usa el comando `zcli rebuild` o `fr` alias para crear una nueva generación con el nuevo hostname. Debes reboot para hacer el cambio efectivo.
|
||||
|
||||
</details>
|
||||
<details>
|
||||
|
|
@ -666,30 +566,20 @@ cambio efectivo.
|
|||
```
|
||||
|
||||
3. Cámbialo a `false`
|
||||
4. Ejecuta el comando `zcli rebuild` o alias `fr` para crear una nueva
|
||||
generación.
|
||||
4. Ejecuta el comando `zcli rebuild` o alias `fr` para crear una nueva generación.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>** ¿Cómo configuro mi laptop híbrida con GPUs Intel/NVIDIA? **</summary>
|
||||
|
||||
1. Ejecuta el script `install-zaneyos.sh` y selecciona el template
|
||||
`nvidia-laptop` o si configurando manualmente, establece el template en el
|
||||
`flake.nix` a `nvidia-prime`
|
||||
1. Ejecuta el script `install-zaneyos.sh` y selecciona el template `nvidia-laptop` o si configurando manualmente, establece el template en el `flake.nix` a `nvidia-prime`
|
||||
|
||||
2. En el archivo `~/zaneyos/hosts/HYBRID-HOST/variables.nix` necesitarás
|
||||
establecer los PCI IDs para las GPUs Intel y NVIDIA. Refiérete a
|
||||
[esta página](https://nixos.wiki/wiki/Nvidia) para ayudar a determinar esos
|
||||
valores.
|
||||
2. En el archivo `~/zaneyos/hosts/HYBRID-HOST/variables.nix` necesitarás establecer los PCI IDs para las GPUs Intel y NVIDIA. Refiérete a [esta página](https://nixos.wiki/wiki/Nvidia) para ayudar a determinar esos valores.
|
||||
|
||||
3. Una vez que todo esté configurado apropiadamente, usa el alias Flake Rebuild
|
||||
`fr` para crear una nueva generación.
|
||||
3. Una vez que todo esté configurado apropiadamente, usa el alias Flake Rebuild `fr` para crear una nueva generación.
|
||||
|
||||
4. En el archivo `~/zaneyos/modules/home/hyprland/config.nix` hay un ENV
|
||||
setting`"AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1:/dev/dri/card2"` Esto
|
||||
establece la GPU primaria y secundaria. Usando la info del weblink arriba
|
||||
podrías tener que cambiar el orden de estos valores.
|
||||
4. En el archivo `~/zaneyos/modules/home/hyprland/config.nix` hay un ENV setting`"AQ_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1:/dev/dri/card2"` Esto establece la GPU primaria y secundaria. Usando la info del weblink arriba podrías tener que cambiar el orden de estos valores.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -745,8 +635,7 @@ cambio efectivo.
|
|||
```
|
||||
|
||||
3. Selecciona la imagen que quieres que `stylix` use para la paleta de colores.
|
||||
4. Ejecuta el comando `zcli rebuild` o `fr` alias para crear una nueva
|
||||
generación con este esquema de colores.
|
||||
4. Ejecuta el comando `zcli rebuild` o `fr` alias para crear una nueva generación con este esquema de colores.
|
||||
|
||||
- Para deshabilitar descomenta
|
||||
|
||||
|
|
@ -754,28 +643,27 @@ cambio efectivo.
|
|||
2. Descomenta desde `base16Scheme` hasta el `};` después de `base0F`
|
||||
|
||||
```nix
|
||||
base16Scheme = {
|
||||
base00 = "282936";
|
||||
base01 = "3a3c4e";
|
||||
base02 = "4d4f68";
|
||||
base03 = "626483";
|
||||
base04 = "62d6e8";
|
||||
base05 = "e9e9f4";
|
||||
base06 = "f1f2f8";
|
||||
base07 = "f7f7fb";
|
||||
base08 = "ea51b2";
|
||||
base09 = "b45bcf";
|
||||
base0A = "00f769";
|
||||
base0B = "ebff87";
|
||||
base0C = "a1efe4";
|
||||
base0D = "62d6e8";
|
||||
base0E = "b45bcf";
|
||||
base0F = "00f769";
|
||||
};
|
||||
base16Scheme = {
|
||||
base00 = "282936";
|
||||
base01 = "3a3c4e";
|
||||
base02 = "4d4f68";
|
||||
base03 = "626483";
|
||||
base04 = "62d6e8";
|
||||
base05 = "e9e9f4";
|
||||
base06 = "f1f2f8";
|
||||
base07 = "f7f7fb";
|
||||
base08 = "ea51b2";
|
||||
base09 = "b45bcf";
|
||||
base0A = "00f769";
|
||||
base0B = "ebff87";
|
||||
base0C = "a1efe4";
|
||||
base0D = "62d6e8";
|
||||
base0E = "b45bcf";
|
||||
base0F = "00f769";
|
||||
};
|
||||
```
|
||||
|
||||
3. Ejecuta el comando `zcli rebuild` o `fr` alias para construir una nueva
|
||||
generación con el dracula default o establece tus propios colores custom
|
||||
3. Ejecuta el comando `zcli rebuild` o `fr` alias para construir una nueva generación con el dracula default o establece tus propios colores custom
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -783,8 +671,7 @@ cambio efectivo.
|
|||
<summary>¿Cómo cambio la imagen que Stylix usa para tematizar?</summary>
|
||||
|
||||
1. Edita el archivo `~/zaneyos/hosts/HOSTNAME/varibles.nix`
|
||||
2. Cambia el `stylixImage =` al nombre del archivo que quieres usar. Los
|
||||
wallpapers están en `~/zaneyos/wallpapers`
|
||||
2. Cambia el `stylixImage =` al nombre del archivo que quieres usar. Los wallpapers están en `~/zaneyos/wallpapers`
|
||||
|
||||
```nix
|
||||
# Establecer Imagen Stylix
|
||||
|
|
@ -825,7 +712,7 @@ stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
|||
<summary>** ¿Cómo puedo establecer un temporizador para cambiar el wallpaper automáticamente? **</summary>
|
||||
|
||||
1. Edita el archivo `~/zaneyos/modules/home/hyprland/config.nix` file.
|
||||
2. Comenta la línea `sleep 1.5 && awww img ...`
|
||||
2. Comenta la línea `sleep 1.5 && swww img ...`
|
||||
3. Agrega nueva línea después de eso con `sleep 1 && wallsetter`
|
||||
|
||||
```json
|
||||
|
|
@ -833,19 +720,18 @@ settings = {
|
|||
exec-once = [
|
||||
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"killall -q awww;sleep .5 && awww init"
|
||||
"killall -q swww;sleep .5 && swww init"
|
||||
"killall -q waybar;sleep .5 && waybar"
|
||||
"killall -q swaync;sleep .5 && swaync"
|
||||
"nm-applet --indicator"
|
||||
"lxqt-policykit-agent"
|
||||
"pypr &"
|
||||
#"sleep 1.5 && awww img /home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg"
|
||||
#"sleep 1.5 && swww img /home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg"
|
||||
"sleep 1 && wallsetter"
|
||||
];
|
||||
```
|
||||
|
||||
4. Ejecuta el comando `zcli rebuild` o alias `fr` para crear una nueva
|
||||
generación.
|
||||
4. Ejecuta el comando `zcli rebuild` o alias `fr` para crear una nueva generación.
|
||||
5. Necesitarás logout o reboot para que el cambio sea efectivo.
|
||||
|
||||
</details>
|
||||
|
|
@ -856,8 +742,7 @@ settings = {
|
|||
|
||||
1. Edita el archivo `~/zaneyos/modules/home/scripts/wallsetter`
|
||||
2. Cambia el valor `TIMEOUT =` . Está en segundos.
|
||||
3. Ejecuta el comando `zcli rebuild` o alias `fr`, para crear una nueva
|
||||
generación.
|
||||
3. Ejecuta el comando `zcli rebuild` o alias `fr`, para crear una nueva generación.
|
||||
4. Necesitarás logout o reboot para que el cambio sea efectivo.
|
||||
|
||||
</details>
|
||||
|
|
@ -874,37 +759,26 @@ settings = {
|
|||
<details>
|
||||
<summary> Para versión v2.3 </summary>
|
||||
|
||||
Altamente recomendado: Lee `ZaneyOS-Upgrade.md` antes de proceder. Detalla el
|
||||
upgrade automatizado seguro, respaldo, y proceso de revert.
|
||||
Altamente recomendado: Lee `ZaneyOS-Upgrade.md` antes de proceder. Detalla el upgrade automatizado seguro, respaldo, y proceso de revert.
|
||||
|
||||
Usa el upgrade automatizado v2.3 → v2.4. Ve `ZaneyOS-Upgrade.md` y
|
||||
`UPGRADE-2.3-to-2.4.md`. Para evitar sobrescribir tu config antes de crear un
|
||||
respaldo, fetch solo el script sin modificar tu working tree:
|
||||
Usa el upgrade automatizado v2.3 → v2.4. Ve `ZaneyOS-Upgrade.md` y `UPGRADE-2.3-to-2.4.md`. Para evitar sobrescribir tu config antes de crear un respaldo, fetch solo el script sin modificar tu working tree:
|
||||
|
||||
- Git (recomendado):
|
||||
|
||||
```bash
|
||||
git -C ~/zaneyos fetch origin
|
||||
git -C ~/zaneyos show origin/main:upgrade-2.3-to-2.4.sh > ~/upgrade-2.3-to-2.4.sh
|
||||
chmod +x ~/upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
- Curl:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/zaney/zaneyos/-/raw/main/upgrade-2.3-to-2.4.sh -o ~/upgrade-2.3-to-2.4.sh
|
||||
chmod +x ~/upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
Luego ejecuta el script: `~/upgrade-2.3-to-2.4.sh`. Creará un respaldo completo
|
||||
antes de cambiar branches y migrará tus hosts de forma segura desde el respaldo.
|
||||
Luego ejecuta el script: `~/upgrade-2.3-to-2.4.sh`. Creará un respaldo completo antes de cambiar branches y migrará tus hosts de forma segura desde el respaldo.
|
||||
|
||||
**IMPORTANTE:**
|
||||
|
||||
- NO uses los alias `fu` o `fr` para este upgrade; el script usa un boot build
|
||||
seguro.
|
||||
- Si has hecho modificaciones extensas, no ejecutes el script. Lee los docs
|
||||
arriba y migra manualmente en su lugar.
|
||||
- NO uses los alias `fu` o `fr` para este upgrade; el script usa un boot build seguro.
|
||||
- Si has hecho modificaciones extensas, no ejecutes el script. Lee los docs arriba y migra manualmente en su lugar.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -914,35 +788,29 @@ antes de cambiar branches y migrará tus hosts de forma segura desde el respaldo
|
|||
1. Primero respaldo tu directorio `zaneyos` existente. ej.
|
||||
`cp -r ~/zaneyos ~/zaneyos-backup`
|
||||
|
||||
2. No hay update directo. Cuando clones la nueva config los archivos de config y
|
||||
layout han cambiado.
|
||||
2. No hay update directo. Cuando clones la nueva config los archivos de config y layout han cambiado.
|
||||
|
||||
3. Necesitas instalar zaneyos como una nueva install. `./install-zaneyos.sh`
|
||||
|
||||
4. Una vez que el build se complete y hayas rebooted puedes revisar el nuevo
|
||||
layout y decidir si algún cambio que hiciste en la versión anterior puede ser
|
||||
migrado a v2.3.
|
||||
4. Una vez que el build se complete y hayas rebooted puedes revisar el nuevo layout y decidir si algún cambio que hiciste en la versión anterior puede ser migrado a v2.3.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary> Para versión v1.x </summary>
|
||||
|
||||
1. El layout y configuración son completamente diferentes. Virtualmente nada de
|
||||
1.x es aplicable a v2.3.
|
||||
1. El layout y configuración son completamente diferentes. Virtualmente nada de 1.x es aplicable a v2.3.
|
||||
|
||||
2. Respalda tu directorio `zaneyos` ej. `cp -r ~/zaneyos ~/zaneyos-backup`
|
||||
|
||||
3. Ejecuta el script `./install-zaneyos.sh` y sigue las nuevas instrucciones de
|
||||
install.
|
||||
3. Ejecuta el script `./install-zaneyos.sh` y sigue las nuevas instrucciones de install.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary> ¿Cómo sé cuándo se lanza una nueva versión de ZaneyOS? </summary>
|
||||
|
||||
Será anunciado en el servidor Discord de Zaney
|
||||
[Discord](https://discord.gg/W7efsSDS).
|
||||
Será anunciado en el servidor Discord de Zaney [Discord](https://discord.gg/W7efsSDS).
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -962,13 +830,13 @@ Será anunciado en el servidor Discord de Zaney
|
|||
~/zaneyos/
|
||||
├── hosts/ # Carpeta donde se guardan configs de host
|
||||
│ ├── default # Template de host default
|
||||
│ └── nixstation # Host de Zaney
|
||||
│ └── nixstation # Host de Zaney
|
||||
├── img/ # Imágenes para README.md
|
||||
├── modules/ # Archivos de config Core, HomeMgr, drivers
|
||||
│ └── drivers/ # Configs AMD,NVIDA,Intel,VM
|
||||
│ └── core/ # Servicios, paquetes, fonts, etc
|
||||
│ └── home/ # Archivos de config Home Manager
|
||||
│ ├── fastfetch/ # Config Fastfetch
|
||||
│ ├── fastfetch/ # Config Fastfetch
|
||||
│ ├── hyprland/ # Configs Hyrprland
|
||||
│ ├── rofi/ # Configs de menú rofi
|
||||
│ ├── scripts/ # screenshots, wallpaper, etc.
|
||||
|
|
@ -982,9 +850,9 @@ Será anunciado en el servidor Discord de Zaney
|
|||
│ ├── nvidia/ # Configs video NVIDIA discrete
|
||||
│ ├── nvidia-laptop/ # Configs video NVIDIA Hybrid
|
||||
│ └── vm/ # Configs Virtual Machine
|
||||
├── wallpapers/ # Agrega tus wallpapers aquí
|
||||
├── wallpapers/ # Agrega tus wallpapers aquí
|
||||
├── CHANGELOG.md # Lista de cambios
|
||||
├── CONTRIBUTING.md # Cómo puedes ayudar
|
||||
├── CONTRIBUTING.md # Cómo puedes ayudar
|
||||
├── FAQ.md # Preguntas Frecuentes
|
||||
├── flake.lock # Guarda info de versión de todos los paquetes instalados
|
||||
├── flake.nix # flake que controla config ZaneyOS
|
||||
|
|
@ -1009,10 +877,8 @@ Será anunciado en el servidor Discord de Zaney
|
|||
**Update**
|
||||
<br>
|
||||
|
||||
- Usando el comando `zcli rebuild` o `zcli upgrade` buscará este archivo
|
||||
causando fallos de rebuild
|
||||
- Si encuentras otros archivos que causan esto puedes agregarlos en el
|
||||
`zaneyos/modules/home/scripts/default.nix`
|
||||
- Usando el comando `zcli rebuild` o `zcli upgrade` buscará este archivo causando fallos de rebuild
|
||||
- Si encuentras otros archivos que causan esto puedes agregarlos en el `zaneyos/modules/home/scripts/default.nix`
|
||||
<br>
|
||||
|
||||
```text
|
||||
|
|
@ -1032,8 +898,7 @@ May 08 18:33:57 explorer systemd[1]: Failed to start Home Manager environment fo
|
|||
- Te promptará para borrar estos backups
|
||||
- También crea un log
|
||||
- Nota: El script no es perfecto
|
||||
- Si obtienes este msg pero `hm-find` no reporta ninguno tendrás que buscar
|
||||
manualmente ej `journalctl | grep hm-activate`
|
||||
- Si obtienes este msg pero `hm-find` no reporta ninguno tendrás que buscar manualmente ej `journalctl | grep hm-activate`
|
||||
- Puedes entonces redo tu rebuild
|
||||
- Usa el comando `zcli rebuild` o `fr` para `flake rebuild`
|
||||
- El flake ya ha sido actualizado
|
||||
|
|
@ -1051,22 +916,16 @@ May 08 18:33:57 explorer systemd[1]: Failed to start Home Manager environment fo
|
|||
**1. Layout Master**
|
||||
|
||||
- El layout **Master** divide el workspace en dos áreas principales:
|
||||
- Un **área master** para la ventana primaria, que toma una porción más grande
|
||||
de la pantalla.
|
||||
- Un **área stack** para todas las otras ventanas, que están tiled en el
|
||||
espacio restante.
|
||||
- Este layout es ideal para workflows donde quieres enfocarte en una ventana
|
||||
main mientras mantienes otras accesibles.
|
||||
- Un **área master** para la ventana primaria, que toma una porción más grande de la pantalla.
|
||||
- Un **área stack** para todas las otras ventanas, que están tiled en el espacio restante.
|
||||
- Este layout es ideal para workflows donde quieres enfocarte en una ventana main mientras mantienes otras accesibles.
|
||||
|
||||
**2. Layout Dwindle**
|
||||
|
||||
- El layout **Dwindle** es un layout de tiling basado en árbol binario:
|
||||
- Cada nueva ventana split el espacio disponible dinámicamente, alternando
|
||||
entre splits horizontales y verticales.
|
||||
- Los splits son determinados por el aspect ratio del contenedor padre (ej.
|
||||
splits más anchos horizontalmente, más altos verticalmente).
|
||||
- Este layout es más dinámico y distribuye espacio equitativamente entre todas
|
||||
las ventanas.
|
||||
- Cada nueva ventana split el espacio disponible dinámicamente, alternando entre splits horizontales y verticales.
|
||||
- Los splits son determinados por el aspect ratio del contenedor padre (ej. splits más anchos horizontalmente, más altos verticalmente).
|
||||
- Este layout es más dinámico y distribuye espacio equitativamente entre todas las ventanas.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -1086,8 +945,7 @@ Para verificar cuál layout está activo actualmente, usa el comando `hyprctl`:
|
|||
|
||||
<div style="margin-left: 20px;"> <br>
|
||||
|
||||
El archivo de configuración de Yazi está localizado en
|
||||
`~/zaneyos/modules/home/yazi.nix`
|
||||
El archivo de configuración de Yazi está localizado en `~/zaneyos/modules/home/yazi.nix`
|
||||
|
||||
Yazi está configurado como VIM y motions VIM
|
||||
|
||||
|
|
@ -1127,7 +985,7 @@ El keymap está en el archivo `~/zaneyos/modules/home/yazi/keymap.toml` file
|
|||
roboto-mono
|
||||
symbola
|
||||
terminus_font
|
||||
# NERD fonts
|
||||
# NERD fonts
|
||||
nerd-fonts.0xproto
|
||||
nerd-fonts._3270
|
||||
nerd-fonts.agave
|
||||
|
|
@ -1213,13 +1071,10 @@ El keymap está en el archivo `~/zaneyos/modules/home/yazi/keymap.toml` file
|
|||
|
||||
<summary>Mi cursor en Kitty es "janky" y salta alrededor. ¿Cómo lo arreglo?</summary>
|
||||
|
||||
- Esa característica se llama "cursor_trail" en el archivo
|
||||
`~/zaneyos/modules/home/kitty.nix`.
|
||||
- Esa característica se llama "cursor_trail" en el archivo `~/zaneyos/modules/home/kitty.nix`.
|
||||
|
||||
1. Edita ese archivo y cambia el `cursor_trail 1` a `cursor_trail 0` o comenta
|
||||
esa línea.
|
||||
2. Usa el alias `zcli rebuild` o `fr` para crear una nueva generación con el
|
||||
cambio.
|
||||
1. Edita ese archivo y cambia el `cursor_trail 1` a `cursor_trail 0` o comenta esa línea.
|
||||
2. Usa el alias `zcli rebuild` o `fr` para crear una nueva generación con el cambio.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -1296,8 +1151,7 @@ Los defaults son:
|
|||
|
||||
<summary>¿Cómo habilito WezTerm?</summary>
|
||||
|
||||
Edita el `/zaneyos/modules/home/wezterm.nix` Cambia `enable = false` a
|
||||
`enable = true;`\
|
||||
Edita el `/zaneyos/modules/home/wezterm.nix` Cambia `enable = false` a `enable = true;`\
|
||||
Guarda el archivo y rebuild zaneyos con el comando `zcli rebild` o el alias `fr`
|
||||
|
||||
```
|
||||
|
|
@ -1323,7 +1177,7 @@ ALT es la tecla META definida para WezTerm
|
|||
ALT + t Abrir nuevo Tab
|
||||
ALT + w Cerrar Tab actual
|
||||
ALT + n Mover a siguiente Tab
|
||||
ALT + p Mover a Tab anterior
|
||||
ALT + p Mover a Tab anterior
|
||||
-- Gestión de pane
|
||||
ALT + v Crear Split Vertical
|
||||
ALT + h Crear Split Horizontal
|
||||
|
|
@ -1367,8 +1221,7 @@ theme = Dracula
|
|||
#theme = GruvboxDarkHard
|
||||
```
|
||||
|
||||
3. Comenta `Dracula` y descomenta uno de los otros o agrega uno de los muchos
|
||||
temas de ghostty.
|
||||
3. Comenta `Dracula` y descomenta uno de los otros o agrega uno de los muchos temas de ghostty.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -1418,34 +1271,29 @@ theme = Dracula
|
|||
</div>
|
||||
</details>
|
||||
|
||||
** --> 🪧 Temas relacionados con NixOS general **
|
||||
**
|
||||
--> 🪧 Temas relacionados con NixOS general
|
||||
**
|
||||
|
||||
<details>
|
||||
<summary>**❄ ¿Qué son los Flakes en NixOS? **</summary>
|
||||
|
||||
<div style="margin-left: 20px;">
|
||||
|
||||
**Flakes** son una característica del package manager Nix que simplifica y
|
||||
estandariza cómo se gestionan configuraciones, dependencias y paquetes. Si estás
|
||||
familiarizado con herramientas como `package.json` en JavaScript o `Cargo.toml`
|
||||
en Rust, flakes sirven un propósito similar en el ecosistema Nix.
|
||||
**Flakes** son una característica del package manager Nix que simplifica y estandariza cómo se gestionan configuraciones, dependencias y paquetes. Si estás familiarizado con herramientas como `package.json` en JavaScript o `Cargo.toml` en Rust, flakes sirven un propósito similar en el ecosistema Nix.
|
||||
|
||||
** Características Clave de Flakes: **
|
||||
|
||||
1. **Pin Dependencias**:
|
||||
- Flakes lock las versiones de dependencias en un archivo `flake.lock`,
|
||||
asegurando reproducibilidad entre sistemas.
|
||||
- Flakes lock las versiones de dependencias en un archivo `flake.lock`, asegurando reproducibilidad entre sistemas.
|
||||
|
||||
2. **Estandarizar Configuraciones**:
|
||||
- Usan un archivo `flake.nix` para definir cómo build, run o deploy un
|
||||
proyecto o sistema, haciendo setups más predecibles.
|
||||
- Usan un archivo `flake.nix` para definir cómo build, run o deploy un proyecto o sistema, haciendo setups más predecibles.
|
||||
|
||||
3. **Mejorar Usabilidad**:
|
||||
- Flakes simplifican compartir y reusar configuraciones entre diferentes
|
||||
sistemas o proyectos proporcionando una estructura consistente.
|
||||
- Flakes simplifican compartir y reusar configuraciones entre diferentes sistemas o proyectos proporcionando una estructura consistente.
|
||||
|
||||
En esencia, flakes ayudan a gestionar setups de NixOS o proyectos basados en Nix
|
||||
de una manera más portable y confiable.
|
||||
En esencia, flakes ayudan a gestionar setups de NixOS o proyectos basados en Nix de una manera más portable y confiable.
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -1454,75 +1302,50 @@ de una manera más portable y confiable.
|
|||
<details>
|
||||
<summary>**🏡 ¿Qué es NixOS Home Manager? **</summary>
|
||||
|
||||
**Home Manager** es una herramienta poderosa en el ecosistema Nix que te permite
|
||||
gestionar configuraciones y entornos específicos de usuario de manera
|
||||
declarativa. Con Home Manager, puedes simplificar el setup de dotfiles, settings
|
||||
de shell, aplicaciones y paquetes de sistema para tu perfil de usuario.
|
||||
**Home Manager** es una herramienta poderosa en el ecosistema Nix que te permite gestionar configuraciones y entornos específicos de usuario de manera declarativa. Con Home Manager, puedes simplificar el setup de dotfiles, settings de shell, aplicaciones y paquetes de sistema para tu perfil de usuario.
|
||||
|
||||
### Características Clave de Home Manager:
|
||||
|
||||
1. **Configuración Declarativa**:
|
||||
- Define todos tus settings y preferencias en un solo archivo `home.nix`,
|
||||
haciendo fácil trackear, compartir y replicar tu setup.
|
||||
- Define todos tus settings y preferencias en un solo archivo `home.nix`, haciendo fácil trackear, compartir y replicar tu setup.
|
||||
|
||||
2. **Soporte Cross-Distribution**:
|
||||
- Home Manager funciona no solo en NixOS sino también en otras distribuciones
|
||||
Linux y macOS, permitiéndote estandarizar configuraciones entre
|
||||
dispositivos.
|
||||
- Home Manager funciona no solo en NixOS sino también en otras distribuciones Linux y macOS, permitiéndote estandarizar configuraciones entre dispositivos.
|
||||
|
||||
3. **Gestión de Entorno de Usuario**:
|
||||
- Gestiona aplicaciones, variables de entorno, configuraciones de shell y
|
||||
más—todo aislado a tu perfil de usuario.
|
||||
- Gestiona aplicaciones, variables de entorno, configuraciones de shell y más—todo aislado a tu perfil de usuario.
|
||||
|
||||
### ¿Por Qué Usar Home Manager?
|
||||
|
||||
Home Manager simplifica la gestión de sistema ofreciendo consistencia,
|
||||
reproducibilidad y portabilidad. Ya sea que estés customizando tu entorno de
|
||||
desarrollo o compartiendo configuraciones entre máquinas, proporciona una manera
|
||||
eficiente de adaptar tu experiencia de usuario.
|
||||
Home Manager simplifica la gestión de sistema ofreciendo consistencia, reproducibilidad y portabilidad. Ya sea que estés customizando tu entorno de desarrollo o compartiendo configuraciones entre máquinas, proporciona una manera eficiente de adaptar tu experiencia de usuario.
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>**🏭 ¿Qué son los Builds Atómicos?**</summary>
|
||||
|
||||
**Builds atómicos** en NixOS aseguran que cualquier cambio de sistema (como
|
||||
instalar software o actualizar la configuración) se aplique de manera segura y
|
||||
fail-proof. Esto significa que una actualización de sistema es completamente
|
||||
exitosa o no tiene efecto alguno, eliminando el riesgo de un estado de sistema
|
||||
parcialmente aplicado o roto.
|
||||
**Builds atómicos** en NixOS aseguran que cualquier cambio de sistema (como instalar software o actualizar la configuración) se aplique de manera segura y fail-proof. Esto significa que una actualización de sistema es completamente exitosa o no tiene efecto alguno, eliminando el riesgo de un estado de sistema parcialmente aplicado o roto.
|
||||
|
||||
### Cómo Funcionan los Builds Atómicos:
|
||||
|
||||
1. **Generación de Sistema Inmutable**:
|
||||
- Cada cambio de configuración crea una nueva "generación" del sistema,
|
||||
mientras las previas permanecen intactas. Puedes fácilmente rollback a una
|
||||
generación anterior si algo sale mal.
|
||||
- Cada cambio de configuración crea una nueva "generación" del sistema, mientras las previas permanecen intactas. Puedes fácilmente rollback a una generación anterior si algo sale mal.
|
||||
|
||||
2. **Comportamiento Transaccional**:
|
||||
- Similar a transacciones de database, los cambios se aplican atómicamente: o
|
||||
tienen éxito y se convierten en el nuevo sistema activo, o fallan y dejan
|
||||
el sistema actual sin cambios.
|
||||
- Similar a transacciones de database, los cambios se aplican atómicamente: o tienen éxito y se convierten en el nuevo sistema activo, o fallan y dejan el sistema actual sin cambios.
|
||||
|
||||
3. **Rollbacks Sin Problemas**:
|
||||
- En caso de errores o issues, puedes reboot y seleccionar una generación
|
||||
previa de sistema desde el menú de boot para retornar a un estado
|
||||
funcional.
|
||||
- En caso de errores o issues, puedes reboot y seleccionar una generación previa de sistema desde el menú de boot para retornar a un estado funcional.
|
||||
|
||||
### Beneficios de Builds Atómicos:
|
||||
|
||||
- **Confiabilidad**: Tu sistema está siempre en un estado consistente, incluso
|
||||
si un cambio de configuración falla.
|
||||
- **Reproducibilidad**: La misma configuración siempre producirá el mismo estado
|
||||
de sistema, haciendo fácil debuggear o replicar.
|
||||
- **Facilidad de Rollback**: Revertir a una configuración funcional es tan
|
||||
simple como reboot y seleccionar la generación previa.
|
||||
- **Confiabilidad**: Tu sistema está siempre en un estado consistente, incluso si un cambio de configuración falla.
|
||||
- **Reproducibilidad**: La misma configuración siempre producirá el mismo estado de sistema, haciendo fácil debuggear o replicar.
|
||||
- **Facilidad de Rollback**: Revertir a una configuración funcional es tan simple como reboot y seleccionar la generación previa.
|
||||
|
||||
### ¿Por Qué NixOS Usa Builds Atómicos?
|
||||
|
||||
Esta característica es un cornerstone de la filosofía de diseño declarativo y
|
||||
reproducible de NixOS, asegurando que la gestión de sistema sea predecible y sin
|
||||
estrés.
|
||||
Esta característica es un cornerstone de la filosofía de diseño declarativo y reproducible de NixOS, asegurando que la gestión de sistema sea predecible y sin estrés.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -1549,4 +1372,4 @@ estrés.
|
|||
|
||||
</div>
|
||||
|
||||
</details>
|
||||
</details>
|
||||
214
FAQ.md
|
|
@ -1,8 +1,15 @@
|
|||
[English](FAQ.md) | [Español](FAQ.es.md)
|
||||
|
||||
# 💬 ZaneyOS FAQ
|
||||
# 💬 ZaneyOS FAQ for v2.4
|
||||
|
||||
- **Date:** 14-Decemnber-2025
|
||||
- **Revision v1.26**
|
||||
- **Date:** 01-September-2025
|
||||
|
||||
> IMPORTANT: Upgrading from v2.3 to v2.4?
|
||||
> - Strongly recommended: Read `ZaneyOS-Upgrade.md` fully before attempting the upgrade.
|
||||
> - It explains the automated upgrade, full backup, host migration, and revert process.
|
||||
> - Do NOT use the `fu` or `fr` aliases for this upgrade.
|
||||
> - If you've made extensive modifications, do not run the script—review the docs and migrate manually.
|
||||
|
||||
**⌨ Where can I see the Hyprland keybindings?**
|
||||
|
||||
|
|
@ -14,72 +21,48 @@
|
|||
<div style="margin-left: 20px;">
|
||||
|
||||
The `zcli` utility is a command-line tool designed to simplify the management of
|
||||
your `zaneyos` environment. It provides a comprehensive set of commands to
|
||||
perform common tasks such as updating your system, managing hosts, cleaning up
|
||||
old generations, and managing Doom Emacs.
|
||||
your `zaneyos` environment. It provides a comprehensive set of commands to perform common
|
||||
tasks such as updating your system, managing hosts, cleaning up old generations,
|
||||
and managing Doom Emacs.
|
||||
|
||||
To use it, open a terminal and type `zcli` followed by one of the commands
|
||||
listed below:
|
||||
|
||||
## Core System Commands:
|
||||
|
||||
- `cleanup`: Clean up old system generations. You can specify the number of
|
||||
generations to keep. Includes automated log cleanup for old build logs.
|
||||
- `diag`: Create a comprehensive system diagnostic report using `inxi --full`,
|
||||
saved to `~/diag.txt`. Perfect for troubleshooting.
|
||||
- `cleanup`: Clean up old system generations. You can specify the number of generations to keep. Includes automated log cleanup for old build logs.
|
||||
- `diag`: Create a comprehensive system diagnostic report using `inxi --full`, saved to `~/diag.txt`. Perfect for troubleshooting.
|
||||
- `list-gens`: List both user and system generations with detailed information.
|
||||
- `rebuild`: Rebuild the NixOS system configuration with enhanced safety checks
|
||||
and backup file handling.
|
||||
- `rebuild-boot`: Rebuild and set as boot default (activates on next restart).
|
||||
Safer for major system changes and kernel updates.
|
||||
- `trim`: Trim filesystems to improve SSD performance with user confirmation
|
||||
prompts.
|
||||
- `update`: Update the flake and rebuild the system with comprehensive error
|
||||
handling.
|
||||
- `rebuild`: Rebuild the NixOS system configuration with enhanced safety checks and backup file handling.
|
||||
- `rebuild-boot`: Rebuild and set as boot default (activates on next restart). Safer for major system changes and kernel updates.
|
||||
- `trim`: Trim filesystems to improve SSD performance with user confirmation prompts.
|
||||
- `update`: Update the flake and rebuild the system with comprehensive error handling.
|
||||
|
||||
## Host Management:
|
||||
- `update-host`: Automatically set the host and profile in `flake.nix`. Features intelligent GPU detection and hostname validation.
|
||||
- `add-host`: Create new host configurations with automated GPU detection, hardware.nix generation, and git integration.
|
||||
- `del-host`: Safely delete host configurations with confirmation prompts to prevent accidental removal.
|
||||
|
||||
- `update-host`: Automatically set the host and profile in `flake.nix`. Features
|
||||
intelligent GPU detection and hostname validation.
|
||||
- `add-host`: Create new host configurations with automated GPU detection,
|
||||
hardware.nix generation, and git integration.
|
||||
- `del-host`: Safely delete host configurations with confirmation prompts to
|
||||
prevent accidental removal.
|
||||
|
||||
**Usage:** `zcli add-host [hostname] [profile]`\
|
||||
**Usage:** `zcli add-host [hostname] [profile]`
|
||||
**GPU Profiles:** `amd`, `intel`, `nvidia`, `nvidia-hybrid`, and `vm`
|
||||
|
||||
## Advanced Build Options:
|
||||
|
||||
The `rebuild`, `rebuild-boot`, and `update` commands support enhanced options
|
||||
for fine-grained control:
|
||||
|
||||
- `--dry, -n`: Preview mode - shows what would be done without executing (dry
|
||||
run)
|
||||
The `rebuild`, `rebuild-boot`, and `update` commands support enhanced options for fine-grained control:
|
||||
- `--dry, -n`: Preview mode - shows what would be done without executing (dry run)
|
||||
- `--ask, -a`: Interactive confirmation prompts for safety-critical operations
|
||||
- `--cores N`: Limit build operations to N CPU cores (essential for VMs and
|
||||
resource-constrained systems)
|
||||
- `--verbose, -v`: Enable detailed operation logs and verbose output for
|
||||
troubleshooting
|
||||
- `--cores N`: Limit build operations to N CPU cores (essential for VMs and resource-constrained systems)
|
||||
- `--verbose, -v`: Enable detailed operation logs and verbose output for troubleshooting
|
||||
- `--no-nom`: Disable nix-output-monitor for traditional command-line output
|
||||
|
||||
**Multiple options can be combined** for precise control over your build
|
||||
process.
|
||||
**Multiple options can be combined** for precise control over your build process.
|
||||
|
||||
## Doom Emacs Management:
|
||||
|
||||
Complete Doom Emacs lifecycle management with safety features:
|
||||
|
||||
- `doom install`: Automated Doom Emacs installation using the get-doom script
|
||||
with all required packages
|
||||
- `doom status`: Check installation status and display version information for
|
||||
verification
|
||||
- `doom remove`: Safely remove Doom Emacs installation with confirmation prompts
|
||||
to prevent accidental deletion
|
||||
- `doom install`: Automated Doom Emacs installation using the get-doom script with all required packages
|
||||
- `doom status`: Check installation status and display version information for verification
|
||||
- `doom remove`: Safely remove Doom Emacs installation with confirmation prompts to prevent accidental deletion
|
||||
- `doom update`: Update Doom Emacs packages and configuration via `doom sync`
|
||||
|
||||
**Features:** Built-in safety checks, comprehensive error handling, and
|
||||
automatic dependency management.
|
||||
**Features:** Built-in safety checks, comprehensive error handling, and automatic dependency management.
|
||||
|
||||
```text
|
||||
❯ zcli
|
||||
|
|
@ -117,7 +100,6 @@ Doom Emacs:
|
|||
```
|
||||
|
||||
**Examples:**
|
||||
|
||||
```bash
|
||||
# System management
|
||||
zcli rebuild --dry # Show what would be rebuilt
|
||||
|
|
@ -143,11 +125,8 @@ Below are the keybindings for Hyprland, formatted for easy reference.
|
|||
## Application Launching
|
||||
|
||||
- `$modifier + Return` → Launch `Terminal`
|
||||
- `$modifier + Tab` → Toggle `Quickshell Overview` (workspace overview with live
|
||||
previews)
|
||||
- `$modifier + K` → List keybinds
|
||||
- `$modifier + D` → Application Launcher
|
||||
- `$modifier + Shift + Return` → Application Launcher
|
||||
- `$modifier + Shift + Return` → Launch `rofi-launcher`
|
||||
- `$modifier + Shift + W` → Open `web-search`
|
||||
- `$modifier + Alt + W` → Open `wallsetter`
|
||||
- `$modifier + Shift + N` → Run `swaync-client -rs`
|
||||
|
|
@ -155,7 +134,7 @@ Below are the keybindings for Hyprland, formatted for easy reference.
|
|||
- `$modifier + Y` → Open `kitty` with `yazi`
|
||||
- `$modifier + E` → Open `emopicker9000`
|
||||
- `$modifier + S` → Take a screenshot
|
||||
- `$modifier + Shift + D` → Open `Discord`
|
||||
- `$modifier + D` → Open `Discord`
|
||||
- `$modifier + O` → Launch `OBS Studio`
|
||||
- `$modifier + C` → Run `hyprpicker -a`
|
||||
- `$modifier + G` → Open `GIMP`
|
||||
|
|
@ -228,32 +207,6 @@ Below are the keybindings for Hyprland, formatted for easy reference.
|
|||
|
||||
<div style="margin-left: 20px;">
|
||||
|
||||
<details>
|
||||
<summary>**How do I set default apps (PDF, browser) per host?**</summary>
|
||||
|
||||
- Edit `~/zaneyos/hosts/<HOSTNAME>/variables.nix` and uncomment `mimeDefaultApps`.
|
||||
- Home Manager will consume these via `modules/home/xdg.nix` to write your `~/.config/mimeapps.list`.
|
||||
- Use real `.desktop` IDs from `/usr/share/applications` or `~/.local/share/applications`.
|
||||
|
||||
```nix
|
||||
# hosts/<HOSTNAME>/variables.nix
|
||||
# Host-level default applications (picked up by Home Manager xdg.mimeApps)
|
||||
# mimeDefaultApps = {
|
||||
# # PDFs
|
||||
# "application/pdf" = ["okular.desktop"];
|
||||
# "application/x-pdf" = ["okular.desktop"];
|
||||
# # Web browser
|
||||
# "x-scheme-handler/http" = ["google-chrome.desktop"]; # or brave-browser.desktop, firefox.desktop
|
||||
# "x-scheme-handler/https" = ["google-chrome.desktop"];
|
||||
# "text/html" = ["google-chrome.desktop"];
|
||||
# # Files
|
||||
# "inode/directory" = ["thunar.desktop"]; # file manager
|
||||
# "text/plain" = ["nvim.desktop"]; # or code.desktop
|
||||
# };
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>**How to I add flatpaks? ?**</summary>
|
||||
|
||||
|
|
@ -401,9 +354,9 @@ Edit the `extraMonitorSettings` line. **Examples:**
|
|||
- Single Monitor: `extraMonitorSettings = "monitor=eDP-1,1920x1080@60,auto,1";`
|
||||
- Multiple Monitors:
|
||||
`extraMonitorSettings = "
|
||||
monitor=eDP-1,1920x1080@60,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@75,auto,auto
|
||||
";`
|
||||
monitor=eDP-1,1920x1080@60,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@75,auto,auto
|
||||
";`
|
||||
|
||||
- For more complex, multi-monitor configurations, you may wish to use the GUI
|
||||
application, `nwg-displays` This will show your currently connected monitors
|
||||
|
|
@ -454,7 +407,7 @@ packages.
|
|||
...
|
||||
virt-viewer
|
||||
wget
|
||||
### My Apps ###
|
||||
### My Apps ###
|
||||
bottom
|
||||
dua
|
||||
emacs-nox
|
||||
|
|
@ -526,7 +479,7 @@ will be created.
|
|||
|
||||
- Use the `zcli` utility. `zcli rebuild`
|
||||
- The legacy `fr`, Flake Rebuild alias, is depreciated but still available **
|
||||
NOTE: If you **created a new file\*\*
|
||||
NOTE: If you **created a new file**
|
||||
- you will need to run a `git add .` command in the `zaneyos` folder
|
||||
- If successful a new generation will be generated with your changes
|
||||
- A logout or reboot could be required depending on what you changed
|
||||
|
|
@ -811,7 +764,7 @@ stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
|||
<summary>** How can I set a timer to change the wallpaper automatically? **</summary>
|
||||
|
||||
1. Edit the `~/zaneyos/modules/home/hyprland/config.nix` file.
|
||||
2. Comment out the line `sleep 1.5 && awww img ...`
|
||||
2. Comment out the line `sleep 1.5 && swww img ...`
|
||||
3. Add new line after that with `sleep 1 && wallsetter`
|
||||
|
||||
```json
|
||||
|
|
@ -819,13 +772,13 @@ settings = {
|
|||
exec-once = [
|
||||
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"killall -q awww;sleep .5 && awww init"
|
||||
"killall -q swww;sleep .5 && swww init"
|
||||
"killall -q waybar;sleep .5 && waybar"
|
||||
"killall -q swaync;sleep .5 && swaync"
|
||||
"nm-applet --indicator"
|
||||
"lxqt-policykit-agent"
|
||||
"pypr &"
|
||||
#"sleep 1.5 && awww img /home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg"
|
||||
#"sleep 1.5 && swww img /home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg"
|
||||
"sleep 1 && wallsetter"
|
||||
];
|
||||
```
|
||||
|
|
@ -858,37 +811,26 @@ settings = {
|
|||
<details>
|
||||
<summary> For version v2.3 </summary>
|
||||
|
||||
Strongly recommended: Read `ZaneyOS-Upgrade.md` before proceeding. It details
|
||||
the safe, automated upgrade, backup, and revert process.
|
||||
Strongly recommended: Read `ZaneyOS-Upgrade.md` before proceeding. It details the safe, automated upgrade, backup, and revert process.
|
||||
|
||||
Use the automated v2.3 → v2.4 upgrade. See `ZaneyOS-Upgrade.md` and
|
||||
`UPGRADE-2.3-to-2.4.md`. To avoid overwriting your config before a backup is
|
||||
created, fetch just the script without modifying your working tree:
|
||||
Use the automated v2.3 → v2.4 upgrade. See `ZaneyOS-Upgrade.md` and `UPGRADE-2.3-to-2.4.md`. To avoid overwriting your config before a backup is created, fetch just the script without modifying your working tree:
|
||||
|
||||
- Git (recommended):
|
||||
|
||||
```bash
|
||||
git -C ~/zaneyos fetch origin
|
||||
git -C ~/zaneyos show origin/main:upgrade-2.3-to-2.4.sh > ~/upgrade-2.3-to-2.4.sh
|
||||
chmod +x ~/upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
- Curl:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/zaney/zaneyos/-/raw/main/upgrade-2.3-to-2.4.sh -o ~/upgrade-2.3-to-2.4.sh
|
||||
chmod +x ~/upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
Then run the script: `~/upgrade-2.3-to-2.4.sh`. It will create a full backup
|
||||
before switching branches and migrate your hosts safely from the backup.
|
||||
Then run the script: `~/upgrade-2.3-to-2.4.sh`. It will create a full backup before switching branches and migrate your hosts safely from the backup.
|
||||
|
||||
**IMPORTANT:**
|
||||
|
||||
- Do NOT use the `fu` or `fr` aliases for this upgrade; the script uses a safe
|
||||
boot build.
|
||||
- If you have made extensive modifications, do not run the script. Read the docs
|
||||
above and migrate manually instead.
|
||||
- Do NOT use the `fu` or `fr` aliases for this upgrade; the script uses a safe boot build.
|
||||
- If you have made extensive modifications, do not run the script. Read the docs above and migrate manually instead.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -945,13 +887,13 @@ It will be announced on the Zaney [Discord](https://discord.gg/W7efsSDS) server.
|
|||
~/zaneyos/
|
||||
├── hosts/ # Folder where host configs are saved
|
||||
│ ├── default # Default host template
|
||||
│ └── nixstation # Zaney's host
|
||||
│ └── nixstation # Zaney's host
|
||||
├── img/ # Images for README.md
|
||||
├── modules/ # Core, HomeMgr, drivers config files
|
||||
│ └── drivers/ # AMD,NVIDA,Intel,VM config files
|
||||
│ └── core/ # Services, packages, fonts, etc
|
||||
│ └── home/ # Home Manager config files
|
||||
│ ├── fastfetch/ # Fastfetch config
|
||||
│ ├── fastfetch/ # Fastfetch config
|
||||
│ ├── hyprland/ # Hyrprland configs
|
||||
│ ├── rofi/ # rofi menu configs
|
||||
│ ├── scripts/ # screenshots, wallpaper, etc.
|
||||
|
|
@ -965,9 +907,9 @@ It will be announced on the Zaney [Discord](https://discord.gg/W7efsSDS) server.
|
|||
│ ├── nvidia/ # NVIDIA discrete video config files
|
||||
│ ├── nvidia-laptop/ # NVIDIA Hybrid video config files
|
||||
│ └── vm/ # Virtual Machine config files
|
||||
├── wallpapers/ # Add your wallpapers here
|
||||
├── wallpapers/ # Add your wallpapers here
|
||||
├── CHANGELOG.md # List of changes
|
||||
├── CONTRIBUTING.md # How you can help
|
||||
├── CONTRIBUTING.md # How you can help
|
||||
├── FAQ.md # Frequently Asked Questions
|
||||
├── flake.lock # Saves version info on all installed packages
|
||||
├── flake.nix # flake that controls ZaneyOS config
|
||||
|
|
@ -1110,7 +1052,7 @@ The keymap is in the `~/zaneyos/modules/home/yazi/keymap.toml` file
|
|||
roboto-mono
|
||||
symbola
|
||||
terminus_font
|
||||
# NERD fonts
|
||||
# NERD fonts
|
||||
nerd-fonts.0xproto
|
||||
nerd-fonts._3270
|
||||
nerd-fonts.agave
|
||||
|
|
@ -1306,7 +1248,7 @@ ALT is the defined META key for WezTerm
|
|||
ALT + t Open new Tab
|
||||
ALT + w Close current Tab
|
||||
ALT + n Move to next Tab
|
||||
ALT + p Move to previous Tab
|
||||
ALT + p Move to previous Tab
|
||||
-- Pane management
|
||||
ALT + v Create Vertical Split
|
||||
ALT + h Create Horizontal Split
|
||||
|
|
@ -1401,7 +1343,9 @@ theme = Dracula
|
|||
</div>
|
||||
</details>
|
||||
|
||||
** --> 🪧 General NixOS related topics **
|
||||
**
|
||||
--> 🪧 General NixOS related topics
|
||||
**
|
||||
|
||||
<details>
|
||||
<summary>**❄ What are Flakes in NixOS? **</summary>
|
||||
|
|
@ -1596,9 +1540,9 @@ Edit the `extraMonitorSettings` line. **Examples:**
|
|||
- Single Monitor: `extraMonitorSettings = "monitor=eDP-1,1920x1080@60,auto,1";`
|
||||
- Multiple Monitors:
|
||||
`extraMonitorSettings = "
|
||||
monitor=eDP-1,1920x1080@60,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@75,auto,auto
|
||||
";`
|
||||
monitor=eDP-1,1920x1080@60,auto,auto
|
||||
monitor=HDMI-A-1,2560x1440@75,auto,auto
|
||||
";`
|
||||
|
||||
- For more complex, multi-monitor configurations, you may wish to use the GUI
|
||||
application, `nwg-displays` This will show your currently connected monitors
|
||||
|
|
@ -1649,7 +1593,7 @@ packages.
|
|||
...
|
||||
virt-viewer
|
||||
wget
|
||||
### My Apps ###
|
||||
### My Apps ###
|
||||
bottom
|
||||
dua
|
||||
emacs-nox
|
||||
|
|
@ -2002,7 +1946,7 @@ stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
|||
<summary>** How can I set a timer to change the wallpaper automatically? **</summary>
|
||||
|
||||
1. Edit the `~/zaneyos/modules/home/hyprland/config.nix` file.
|
||||
2. Comment out the line `sleep 1.5 && awww img ...`
|
||||
2. Comment out the line `sleep 1.5 && swww img ...`
|
||||
3. Add new line after that with `sleep 1 && wallsetter`
|
||||
|
||||
```json
|
||||
|
|
@ -2010,13 +1954,13 @@ settings = {
|
|||
exec-once = [
|
||||
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"killall -q awww;sleep .5 && awww init"
|
||||
"killall -q swww;sleep .5 && swww init"
|
||||
"killall -q waybar;sleep .5 && waybar"
|
||||
"killall -q swaync;sleep .5 && swaync"
|
||||
"nm-applet --indicator"
|
||||
"lxqt-policykit-agent"
|
||||
"pypr &"
|
||||
#"sleep 1.5 && awww img /home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg"
|
||||
#"sleep 1.5 && swww img /home/${username}/Pictures/Wallpapers/zaney-wallpaper.jpg"
|
||||
"sleep 1 && wallsetter"
|
||||
];
|
||||
```
|
||||
|
|
@ -2049,34 +1993,24 @@ settings = {
|
|||
<details>
|
||||
<summary> For version v2.3 </summary>
|
||||
|
||||
Use the automated v2.3 → v2.4 upgrade. See ZaneyOS-Upgrade.md and
|
||||
UPGRADE-2.3-to-2.4.md. To avoid overwriting your config before a backup is
|
||||
created, fetch just the script without modifying your working tree:
|
||||
Use the automated v2.3 → v2.4 upgrade. See ZaneyOS-Upgrade.md and UPGRADE-2.3-to-2.4.md. To avoid overwriting your config before a backup is created, fetch just the script without modifying your working tree:
|
||||
|
||||
- Git (recommended):
|
||||
|
||||
```bash
|
||||
git -C ~/zaneyos fetch origin
|
||||
git -C ~/zaneyos show origin/main:upgrade-2.3-to-2.4.sh > ~/upgrade-2.3-to-2.4.sh
|
||||
chmod +x ~/upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
- Curl:
|
||||
|
||||
```bash
|
||||
curl -fsSL https://gitlab.com/zaney/zaneyos/-/raw/main/upgrade-2.3-to-2.4.sh -o ~/upgrade-2.3-to-2.4.sh
|
||||
chmod +x ~/upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
Then run the script: `~/upgrade-2.3-to-2.4.sh`. It will create a full backup
|
||||
before switching branches and migrate your hosts safely from the backup.
|
||||
Then run the script: `~/upgrade-2.3-to-2.4.sh`. It will create a full backup before switching branches and migrate your hosts safely from the backup.
|
||||
|
||||
**IMPORTANT:**
|
||||
|
||||
- Do NOT use the `fu` or `fr` aliases for this upgrade; the script uses a safe
|
||||
boot build.
|
||||
- If you have made extensive modifications, do not run the script. Read the docs
|
||||
above and migrate manually instead.
|
||||
- Do NOT use the `fu` or `fr` aliases for this upgrade; the script uses a safe boot build.
|
||||
- If you have made extensive modifications, do not run the script. Read the docs above and migrate manually instead.
|
||||
|
||||
</details>
|
||||
|
||||
|
|
@ -2133,13 +2067,13 @@ It will be announced on the Zaney [Discord](https://discord.gg/W7efsSDS) server.
|
|||
~/zaneyos/
|
||||
├── hosts/ # Folder where host configs are saved
|
||||
│ ├── default # Default host template
|
||||
│ └── nixstation # Zaney's host
|
||||
│ └── nixstation # Zaney's host
|
||||
├── img/ # Images for README.md
|
||||
├── modules/ # Core, HomeMgr, drivers config files
|
||||
│ └── drivers/ # AMD,NVIDA,Intel,VM config files
|
||||
│ └── core/ # Services, packages, fonts, etc
|
||||
│ └── home/ # Home Manager config files
|
||||
│ ├── fastfetch/ # Fastfetch config
|
||||
│ ├── fastfetch/ # Fastfetch config
|
||||
│ ├── hyprland/ # Hyrprland configs
|
||||
│ ├── rofi/ # rofi menu configs
|
||||
│ ├── scripts/ # screenshots, wallpaper, etc.
|
||||
|
|
@ -2153,9 +2087,9 @@ It will be announced on the Zaney [Discord](https://discord.gg/W7efsSDS) server.
|
|||
│ ├── nvidia/ # NVIDIA discrete video config files
|
||||
│ ├── nvidia-laptop/ # NVIDIA Hybrid video config files
|
||||
│ └── vm/ # Virtual Machine config files
|
||||
├── wallpapers/ # Add your wallpapers here
|
||||
├── wallpapers/ # Add your wallpapers here
|
||||
├── CHANGELOG.md # List of changes
|
||||
├── CONTRIBUTING.md # How you can help
|
||||
├── CONTRIBUTING.md # How you can help
|
||||
├── FAQ.md # Frequently Asked Questions
|
||||
├── flake.lock # Saves version info on all installed packages
|
||||
├── flake.nix # flake that controls ZaneyOS config
|
||||
|
|
@ -2292,7 +2226,7 @@ The keymap is in the `~/zaneyos/modules/home/yazi/keymap.toml` file
|
|||
roboto-mono
|
||||
symbola
|
||||
terminus_font
|
||||
# NERD fonts
|
||||
# NERD fonts
|
||||
nerd-fonts.0xproto
|
||||
nerd-fonts._3270
|
||||
nerd-fonts.agave
|
||||
|
|
@ -2489,7 +2423,7 @@ ALT is the defined META key for WezTerm
|
|||
ALT + t Open new Tab
|
||||
ALT + w Close current Tab
|
||||
ALT + n Move to next Tab
|
||||
ALT + p Move to previous Tab
|
||||
ALT + p Move to previous Tab
|
||||
-- Pane management
|
||||
ALT + v Create Vertical Split
|
||||
ALT + h Create Horizontal Split
|
||||
|
|
@ -2584,7 +2518,9 @@ theme = Dracula
|
|||
</div>
|
||||
</details>
|
||||
|
||||
** --> 🪧 General NixOS related topics **
|
||||
**
|
||||
--> 🪧 General NixOS related topics
|
||||
**
|
||||
|
||||
<details>
|
||||
<summary>**❄ What are Flakes in NixOS? **</summary>
|
||||
|
|
|
|||
201
README.es.md
|
|
@ -4,49 +4,36 @@
|
|||
|
||||
## ZaneyOS 🟰 Mejores Configs ❄️ NixOS
|
||||
|
||||
\*\* Actualizado: 16 de enero de 2026
|
||||
** Actualizado: 3 de junio de 2025
|
||||
|
||||
ZaneyOS es una forma sencilla de reproducir mi configuración en cualquier sistema NixOS.
|
||||
Incluye el fondo de pantalla, scripts, aplicaciones, archivos de configuración y más.
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-Floating.png" />
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/demo.png" />
|
||||
|
||||
**Inspiración para la configuración de Waybar
|
||||
[aquí](https://github.com/justinlime/dotfiles).**
|
||||
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/demo-img2.png" />
|
||||
|
||||
**Tercera opción de waybar**
|
||||
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/demo-img3.png" />
|
||||
|
||||
</div>
|
||||
|
||||
<details>
|
||||
<summary><strong>📸 Más capturas de pantalla</strong></summary>
|
||||
|
||||
### Temas de Waybar
|
||||
|
||||
<img align="center" width="80%" src="img/demo-img2.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/demo-img3.png" />
|
||||
|
||||
### Integración de Noctalia Shell
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-panel.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-app.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-settings.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-weather.png" />
|
||||
|
||||
### Características adicionales
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-keybind-search.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-nivim-emacs.png" />
|
||||
|
||||
</details>
|
||||
|
||||
<div align="center">
|
||||
|
||||
### Chuletas y Guías
|
||||
|
||||
- Guía para Principiantes de Nix: [English](cheatsheets/nix-beginner-guide.md) | [Español](cheatsheets/nix-beginner-guide.es.md)
|
||||
- Guía de Personalización de Hyprland: [English](cheatsheets/hyprland-customization-guide.md) | [Español](cheatsheets/hyprland-customization-guide.es.md)
|
||||
|
||||
### Ten en cuenta:
|
||||
|
||||
> **Este proyecto tiene un [Wiki](https://zaney.org/wiki/zaneyos-2.3/). ¡Aprende a usar ZaneyOS aquí!**
|
||||
> **ddubs ha puesto mucho esfuerzo en el
|
||||
> [FAQ](https://zaney.org/wiki/zaneyos-2.3/faq), así que debería ser preciso.
|
||||
> Sin embargo, si notas que algo está mal, crea un issue o contáctanos en Discord.**
|
||||
|
||||
#### 🍖 Requisitos
|
||||
|
||||
- Debes estar ejecutando NixOS, versión 23.11+.
|
||||
|
|
@ -82,6 +69,13 @@ Incluye el fondo de pantalla, scripts, aplicaciones, archivos de configuración
|
|||
- Muchas personas pacientes y con ganas de ayudar te apoyan usando ZaneyOS.
|
||||
- No dudes en pasar por el Discord para pedir ayuda.
|
||||
|
||||
<div align="center">
|
||||
|
||||
Hazte un favor y
|
||||
[lee el wiki](https://zaney.org/wiki/zaneyos-2.3/).
|
||||
|
||||
</div>
|
||||
|
||||
#### 📦 ¿Cómo instalo paquetes?
|
||||
|
||||
- Puedes buscar en [Nix Packages](https://search.nixos.org/packages?) y
|
||||
|
|
@ -95,23 +89,19 @@ Incluye el fondo de pantalla, scripts, aplicaciones, archivos de configuración
|
|||
|
||||
- Siéntete libre de abrir un issue en el repo. Por favor etiqueta las solicitudes
|
||||
de funcionalidades comenzando el título con [feature request], ¡gracias!
|
||||
- Contáctanos también en [Discord](https://discord.gg/XhZmNTnhtp) para una respuesta potencialmente más rápida.
|
||||
- Contáctanos también en [Discord](https://discord.gg/2cRdBs8) para una respuesta potencialmente más rápida.
|
||||
|
||||
- No olvides revisar el [FAQ](https://zaney.org/wiki/zaneyos-2.3/faq)
|
||||
|
||||
# Atajos de Hyprland
|
||||
|
||||
A continuación los atajos de Hyprland, en formato de referencia rápida. La columna de la derecha muestra atajos específicos de **Noctalia Shell** (solo disponibles cuando `barChoice = "noctalia"`).
|
||||
A continuación los atajos de Hyprland, en formato de referencia rápida.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
## Atajos estándar
|
||||
|
||||
### Lanzamiento de aplicaciones
|
||||
## Lanzamiento de aplicaciones
|
||||
|
||||
- `$modifier + Return` → Lanzar `terminal`
|
||||
- `$modifier + Tab` → Alternar `Quickshell Overview` (visor de espacios con vistas en vivo)
|
||||
- `$modifier + K` → Listar atajos
|
||||
- `$modifier + Shift + Return` → Lanzar `rofi-launcher`
|
||||
- `$modifier + Shift + W` → Abrir `web-search`
|
||||
- `$modifier + Alt + W` → Abrir `wallsetter`
|
||||
- `$modifier + Shift + N` → Ejecutar `swaync-client -rs`
|
||||
|
|
@ -119,14 +109,15 @@ A continuación los atajos de Hyprland, en formato de referencia rápida. La col
|
|||
- `$modifier + Y` → Abrir `kitty` con `yazi`
|
||||
- `$modifier + E` → Abrir `emopicker9000`
|
||||
- `$modifier + S` → Tomar captura de pantalla
|
||||
- `$modifier + Shift + D` → Abrir `Discord`
|
||||
- `$modifier + D` → Abrir `Discord`
|
||||
- `$modifier + O` → Lanzar `OBS Studio`
|
||||
- `$modifier + Alt + C` → Selector de color
|
||||
- `$modifier + C` → Ejecutar `hyprpicker -a`
|
||||
- `$modifier + G` → Abrir `GIMP`
|
||||
- `$modifier + V` → Historial del portapapeles con `cliphist`
|
||||
- `$modifier + T` → Alternar terminal con `pypr`
|
||||
- `$modifier + Alt + M` → Abrir `pavucontrol`
|
||||
- `$modifier + M` → Abrir `pavucontrol`
|
||||
|
||||
### Gestión de ventanas
|
||||
## Gestión de ventanas
|
||||
|
||||
- `$modifier + Q` → Cerrar ventana activa
|
||||
- `$modifier + P` → Alternar pseudo tiling
|
||||
|
|
@ -136,63 +127,30 @@ A continuación los atajos de Hyprland, en formato de referencia rápida. La col
|
|||
- `$modifier + Alt + F` → Flotar todas las ventanas
|
||||
- `$modifier + Shift + C` → Salir de Hyprland
|
||||
|
||||
### Movimiento de ventanas
|
||||
## Movimiento de ventanas
|
||||
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Mover izq./der./arriba/abajo
|
||||
- `$modifier + Shift + H / L / K / J` → Mover izq./der./arriba/abajo
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Intercambiar izq./der./arriba/abajo
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Mover ventana izq./der./arriba/abajo
|
||||
- `$modifier + Shift + H / L / K / J` → Mover ventana izq./der./arriba/abajo
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Intercambiar ventana izq./der./arriba/abajo
|
||||
- `$modifier + Alt + 43 / 46 / 45 / 44` → Intercambiar ventana izq./der./arriba/abajo
|
||||
|
||||
### Movimiento de foco
|
||||
## Movimiento de foco
|
||||
|
||||
- `$modifier + ← / → / ↑ / ↓` → Mover foco izq./der./arriba/abajo
|
||||
- `$modifier + H / L / K / J` → Mover foco izq./der./arriba/abajo
|
||||
|
||||
### Espacios de trabajo
|
||||
## Espacios de trabajo
|
||||
|
||||
- `$modifier + 1-10` → Cambiar al espacio 1-10
|
||||
- `$modifier + Shift + Space` → Mover ventana a espacio especial
|
||||
- `$modifier + Space` → Alternar espacio especial
|
||||
- `$modifier + Shift + 1-10` → Mover ventana al espacio 1-10
|
||||
- `$modifier + Control + → / ←` → Cambiar espacio adelante/atrás
|
||||
- `$modifier + Control + → / ←` → Cambiar espacio hacia adelante/atrás
|
||||
|
||||
### Ciclo de ventanas
|
||||
## Ciclo de ventanas
|
||||
|
||||
- `Alt + Tab` → Ir a siguiente ventana / Traer activa al frente
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
## 🎨 Atajos de Noctalia Shell
|
||||
|
||||
_Disponibles cuando `barChoice = "noctalia"` en `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Alternar iniciador
|
||||
- `$modifier + Shift + Return` → Alternar iniciador
|
||||
- `$modifier + M` → Menú de notificaciones
|
||||
- `$modifier + V` → Gestor de portapapeles
|
||||
- `$modifier + Alt + P` → Panel de configuración
|
||||
- `$modifier + Shift + ,` → Panel de configuración
|
||||
- `$modifier + Alt + L` → Bloquear pantalla
|
||||
- `$modifier + Shift + Y` → Gestor de fondos
|
||||
- `$modifier + X` → Menú de energía
|
||||
- `$modifier + C` → Centro de control
|
||||
- `$modifier + Ctrl + R` → Grabadora de pantalla
|
||||
|
||||
### Iniciador Rofi (Modo Waybar)
|
||||
|
||||
_Disponible cuando `barChoice = "waybar"` en `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Lanzar Rofi
|
||||
- `$modifier + Shift + Return` → Lanzar Rofi
|
||||
|
||||
### Otras características
|
||||
|
||||
- `$modifier + Shift + Return` (Waybar) → Iniciador de aplicaciones
|
||||
- `$modifier + V` (Waybar) → Historial del portapapeles con `cliphist`
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
- `Alt + Tab` → Ir a la siguiente ventana
|
||||
- `Alt + Tab` → Traer la ventana activa al frente
|
||||
|
||||
## Instalación:
|
||||
|
||||
|
|
@ -224,7 +182,7 @@ Luego:
|
|||

|
||||
|
||||
```
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/stable-2.3/install-zaneyos.sh)
|
||||
```
|
||||
|
||||
#### El proceso de instalación se verá así:
|
||||
|
|
@ -255,7 +213,7 @@ nix-shell -p git vim
|
|||
2. Clona este repo y entra:
|
||||
|
||||
```
|
||||
cd && git clone https://gitlab.com/zaney/zaneyos.git -b main --depth=1 ~/zaneyos
|
||||
cd && git clone https://gitlab.com/zaney/zaneyos.git -b stable-2.3 ~/zaneyos
|
||||
cd zaneyos
|
||||
|
||||
También puedes ejecutar el script `install.sh` si quieres.
|
||||
|
|
@ -280,10 +238,10 @@ git add .
|
|||
nixos-generate-config --show-hardware-config > hosts/<nombre-del-host>/hardware.nix
|
||||
```
|
||||
|
||||
7. Ejecuta esto para habilitar flakes e instalar, reemplazando hostname por el perfil (p. ej. `intel`, `nvidia`, `nvidia-laptop`, `amd-hybrid` o `vm`):
|
||||
7. Ejecuta esto para habilitar flakes e instalar, reemplazando hostname por el perfil (p. ej. `intel`, `nvidia`, `nvidia-laptop` o `vm`):
|
||||
|
||||
```
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
sudo nixos-rebuild switch --flake .#profile
|
||||
```
|
||||
|
||||
|
|
@ -291,13 +249,66 @@ Ahora, cuando quieras reconstruir, tienes el alias `fr` que reconstruye el flake
|
|||
|
||||
</details>
|
||||
|
||||
## Actualizar de ZaneyOS 2.3 a 2.4
|
||||
|
||||
> **🚀 IMPORTANTE:** Si ya tienes ZaneyOS 2.3, usa el sistema de actualización automatizado en lugar de reinstalar.
|
||||
|
||||
### ✅ Proceso de actualización automatizado:
|
||||
|
||||
ZaneyOS incluye un sistema de actualización completo que migra tu configuración de forma segura:
|
||||
|
||||
```bash
|
||||
cd ~/zaneyos
|
||||
./upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
### 🔍 ¿Qué hace el sistema de actualización?
|
||||
|
||||
1. **Análisis previo**: Escaneo integral de tus personalizaciones
|
||||
2. **Respaldo completo**: Copia total de tu configuración actual
|
||||
3. **Migración automática**: Conserva todos tus ajustes y personalizaciones
|
||||
4. **Actualización segura**: Usa la opción `boot` para evitar conflictos del gestor de acceso
|
||||
5. **Reversión fácil**: Un solo comando si algo sale mal
|
||||
|
||||
### 📋 ¿Qué se migra automáticamente?
|
||||
|
||||
- ✅ Todas las configuraciones y variables de hosts
|
||||
- ✅ Configuraciones de hardware
|
||||
- ✅ Paquetes personalizados (globales y por host)
|
||||
- ✅ Temas, fondos y ajustes de monitores
|
||||
- ✅ Configuración de Git y preferencias personales
|
||||
- ✅ Preferencias de terminal con habilitación automática
|
||||
|
||||
### ⚠️ Qué requiere atención manual
|
||||
|
||||
- Entradas personalizadas en flake.nix
|
||||
- Archivos de configuración personal del shell (zshrc-personal.nix, etc.)
|
||||
- Modificaciones de módulos personalizados
|
||||
|
||||
### 📚 Documentación completa
|
||||
|
||||
Para instrucciones detalladas, solución de problemas y seguridad:
|
||||
|
||||
- **Lee**: `UPGRADE-2.3-to-2.4.md` en tu directorio zaneyos
|
||||
- **Informe de análisis**: Guardado automáticamente como `~/zaneyos-upgrade-analysis-TIMESTAMP.txt`
|
||||
|
||||
### 🔄 Reversión sencilla
|
||||
|
||||
Si algo falla, vuelve a 2.3 fácilmente:
|
||||
|
||||
```bash
|
||||
cd ~/zaneyos
|
||||
./upgrade-2.3-to-2.4.sh --revert
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Reconocimientos especiales:
|
||||
|
||||
Gracias por toda su ayuda
|
||||
|
||||
- KoolDots https://github.com/LinuxBeginnings
|
||||
- Jakookit https://github.com/jakookit
|
||||
- Justaguylinux https://codeberg.org/Justaguylinux
|
||||
- Justaguylinux https://github.com/drewgrif
|
||||
- Jerry Starke https://github.com/JerrySM64
|
||||
|
||||
## ¡Disfruta!
|
||||
|
|
|
|||
230
README.md
|
|
@ -4,49 +4,24 @@
|
|||
|
||||
## ZaneyOS 🟰 Best ❄️ NixOS Configs
|
||||
|
||||
\*\* Updated: January 16th, 2026
|
||||
** Updated: June 3rd,2025
|
||||
|
||||
ZaneyOS is a simple way of reproducing my configuration on any NixOS system.
|
||||
This includes the wallpaper, scripts, applications, config files, and more.
|
||||
|
||||
## Important Note on Noctalia
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/demo.png" />
|
||||
|
||||
> The first time you login, screen will be blank SUPER + SHIFT + C to exit.
|
||||
> Login in, noctalia will start from then on
|
||||
**Inspiration for the Waybar config
|
||||
[here](https://github.com/justinlime/dotfiles).**
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-Floating.png" />
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/demo-img2.png" />
|
||||
|
||||
**Third waybar option**
|
||||
|
||||
<img align="center" width="80%" src="https://gitlab.com/Zaney/zaneyos/-/raw/main/img/demo-img3.png" />
|
||||
|
||||
</div>
|
||||
|
||||
<details>
|
||||
<summary><strong>📸 More Screenshots</strong></summary>
|
||||
|
||||
### Waybar Themes
|
||||
|
||||
<img align="center" width="80%" src="img/demo-img2.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/demo-img3.png" />
|
||||
|
||||
### Noctalia Shell Integration
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-panel.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-app.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-settings.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-noctalia-weather.png" />
|
||||
|
||||
### Additional Features
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-keybind-search.png" />
|
||||
|
||||
<img align="center" width="80%" src="img/ZaneyOS-nivim-emacs.png" />
|
||||
|
||||
</details>
|
||||
|
||||
<div align="center">
|
||||
|
||||
### Cheatsheets and Guides
|
||||
|
||||
- Nix Beginner Guide: [English](cheatsheets/nix-beginner-guide.md) |
|
||||
|
|
@ -55,9 +30,17 @@ This includes the wallpaper, scripts, applications, config files, and more.
|
|||
[English](cheatsheets/hyprland-customization-guide.md) |
|
||||
[Español](cheatsheets/hyprland-customization-guide.es.md)
|
||||
|
||||
### Please note:
|
||||
|
||||
> **This project has a [Wiki](https://zaney.org/wiki/zaneyos-2.3/). Find out how
|
||||
> to use ZaneyOS here!** **ddubs has put a lot of effort into the
|
||||
> [FAQ](https://zaney.org/wiki/zaneyos-2.3/faq) so it should be accurate.
|
||||
> However, please if you notice that something is wrong with it create an issue
|
||||
> or reach out to us on Discord.**
|
||||
|
||||
#### 🍖 Requirements
|
||||
|
||||
- You must be running on NixOS, version 24.05+.
|
||||
- You must be running on NixOS, version 23.11+.
|
||||
- The `zaneyos` folder (this repo) is expected to be in your home directory.
|
||||
- You must have installed NIXOS using **GPT** parition with booting with
|
||||
**UEFI**.
|
||||
|
|
@ -76,7 +59,7 @@ This includes the wallpaper, scripts, applications, config files, and more.
|
|||
#### 🏇 Optimized Workflow & Simple Yet Elegant Neovim
|
||||
|
||||
- Using Hyprland for increased elegance, functionality, and efficiency.
|
||||
- No massive NeoVIM project here, using `nixvim` for an
|
||||
- No massive NeoVIM project here. This is my simple, easy to understand, yet
|
||||
incredible NeoVIM setup. With language support already added in.
|
||||
|
||||
#### 🖥️ Multi Host & User Configuration
|
||||
|
|
@ -94,6 +77,13 @@ This includes the wallpaper, scripts, applications, config files, and more.
|
|||
running ZaneyOS.
|
||||
- Feel free to reach out on the Discord for any help with anything.
|
||||
|
||||
<div align="center">
|
||||
|
||||
Please do yourself a favor and
|
||||
[read the wiki](https://zaney.org/wiki/zaneyos-2.3/).
|
||||
|
||||
</div>
|
||||
|
||||
#### 📦 How To Install Packages?
|
||||
|
||||
- You can search the [Nix Packages](https://search.nixos.org/packages?) &
|
||||
|
|
@ -108,26 +98,20 @@ This includes the wallpaper, scripts, applications, config files, and more.
|
|||
|
||||
- Please feel free to raise an issue on the repo, please label a feature request
|
||||
with the title beginning with [feature request], thank you!
|
||||
- Contact us on [Discord](https://discord.gg/XhZmNTnhtp) as well, for a potentially
|
||||
- Contact us on [Discord](https://discord.gg/2cRdBs8) as well, for a potentially
|
||||
faster response.
|
||||
|
||||
- Don't forget to checkout the [FAQ](https://zaney.org/wiki/zaneyos-2.3/faq)
|
||||
|
||||
# Hyprland Keybindings
|
||||
|
||||
Below are the keybindings for Hyprland, formatted for easy reference. The right
|
||||
column shows keybindings that are specific to **Noctalia Shell** (only available
|
||||
when `barChoice = "noctalia"`).
|
||||
Below are the keybindings for Hyprland, formatted for easy reference.
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td width="50%">
|
||||
|
||||
## Standard Keybindings
|
||||
|
||||
### Application Launching
|
||||
## Application Launching
|
||||
|
||||
- `$modifier + Return` → Launch `terminal`
|
||||
- `$modifier + Tab` → Toggle `Quickshell Overview` (workspace overview with live previews)
|
||||
- `$modifier + K` → List keybinds
|
||||
- `$modifier + Shift + Return` → Launch `rofi-launcher`
|
||||
- `$modifier + Shift + W` → Open `web-search`
|
||||
- `$modifier + Alt + W` → Open `wallsetter`
|
||||
- `$modifier + Shift + N` → Run `swaync-client -rs`
|
||||
|
|
@ -135,14 +119,15 @@ when `barChoice = "noctalia"`).
|
|||
- `$modifier + Y` → Open `kitty` with `yazi`
|
||||
- `$modifier + E` → Open `emopicker9000`
|
||||
- `$modifier + S` → Take a screenshot
|
||||
- `$modifier + Shift + D` → Open `Discord`
|
||||
- `$modifier + D` → Open `Discord`
|
||||
- `$modifier + O` → Launch `OBS Studio`
|
||||
- `$modifier + Alt + C` → Color Picker
|
||||
- `$modifier + C` → Run `hyprpicker -a`
|
||||
- `$modifier + G` → Open `GIMP`
|
||||
- `$modifier + V` → Show clipboard history via `cliphist`
|
||||
- `$modifier + T` → Toggle terminal with `pypr`
|
||||
- `$modifier + Alt + M` → Open `pavucontrol`
|
||||
- `$modifier + M` → Open `pavucontrol`
|
||||
|
||||
### Window Management
|
||||
## Window Management
|
||||
|
||||
- `$modifier + Q` → Kill active window
|
||||
- `$modifier + P` → Toggle pseudo tiling
|
||||
|
|
@ -152,18 +137,19 @@ when `barChoice = "noctalia"`).
|
|||
- `$modifier + Alt + F` → Float all windows
|
||||
- `$modifier + Shift + C` → Exit Hyprland
|
||||
|
||||
### Window Movement
|
||||
## Window Movement
|
||||
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Move left/right/up/down
|
||||
- `$modifier + Shift + H / L / K / J` → Move left/right/up/down
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Swap left/right/up/down
|
||||
- `$modifier + Shift + ← / → / ↑ / ↓` → Move window left/right/up/down
|
||||
- `$modifier + Shift + H / L / K / J` → Move window left/right/up/down
|
||||
- `$modifier + Alt + ← / → / ↑ / ↓` → Swap window left/right/up/down
|
||||
- `$modifier + Alt + 43 / 46 / 45 / 44` → Swap window left/right/up/down
|
||||
|
||||
### Focus Movement
|
||||
## Focus Movement
|
||||
|
||||
- `$modifier + ← / → / ↑ / ↓` → Move focus left/right/up/down
|
||||
- `$modifier + H / L / K / J` → Move focus left/right/up/down
|
||||
|
||||
### Workspaces
|
||||
## Workspaces
|
||||
|
||||
- `$modifier + 1-10` → Switch to workspace 1-10
|
||||
- `$modifier + Shift + Space` → Move window to special workspace
|
||||
|
|
@ -171,51 +157,17 @@ when `barChoice = "noctalia"`).
|
|||
- `$modifier + Shift + 1-10` → Move window to workspace 1-10
|
||||
- `$modifier + Control + → / ←` → Switch workspace forward/backward
|
||||
|
||||
### Window Cycling
|
||||
## Window Cycling
|
||||
|
||||
- `Alt + Tab` → Cycle to next window / Bring active to top
|
||||
|
||||
</td>
|
||||
<td width="50%">
|
||||
|
||||
## 🎨 Noctalia Shell Keybindings
|
||||
|
||||
_Available when `barChoice = "noctalia"` in `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Launcher Toggle
|
||||
- `$modifier + Shift + Return` → Launcher Toggle
|
||||
- `$modifier + M` → Notifications Menu
|
||||
- `$modifier + V` → Clipboard Manager
|
||||
- `$modifier + Alt + P` → Settings Panel
|
||||
- `$modifier + Shift + ,` → Settings Panel
|
||||
- `$modifier + Alt + L` → Lock Screen
|
||||
- `$modifier + Shift + Y` → Wallpaper Manager
|
||||
- `$modifier + X` → Power Menu
|
||||
- `$modifier + C` → Control Center
|
||||
- `$modifier + Ctrl + R` → Screen Recorder
|
||||
|
||||
### Rofi Launcher (Waybar Mode)
|
||||
|
||||
_Available when `barChoice = "waybar"` in `variables.nix`_
|
||||
|
||||
- `$modifier + D` → Launch Rofi Launcher
|
||||
- `$modifier + Shift + Return` → Launch Rofi Launcher
|
||||
|
||||
### Other Features
|
||||
|
||||
- `$modifier + Shift + Return` (Waybar) → Application Launcher
|
||||
- `$modifier + V` (Waybar) → Clipboard History via `cliphist`
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
- `Alt + Tab` → Cycle to next window
|
||||
- `Alt + Tab` → Bring active window to top
|
||||
|
||||
## Installation:
|
||||
|
||||
> **⚠️ IMPORTANT:** These installation methods are for **NEW INSTALLATIONS
|
||||
> ONLY**. If you already have ZaneyOS installed and want to upgrade to v2.4, see
|
||||
> the [Upgrade Instructions](#upgrading-from-zaneyos-23-to-24) below. Note:
|
||||
> There is an issue with upgrade script. It's been removed until it's fixed.
|
||||
> the [Upgrade Instructions](#upgrading-from-zaneyos-23-to-24) below. Note: Do
|
||||
> NOT use upgrade script at this time. It will be restored later.
|
||||
|
||||
<details>
|
||||
<summary><strong> ⬇️ Install with script (NEW INSTALLATIONS ONLY)</strong></summary>
|
||||
|
|
@ -245,7 +197,7 @@ Then:
|
|||

|
||||
|
||||
```
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)
|
||||
sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/stable-2.3/install-zaneyos.sh)
|
||||
```
|
||||
|
||||
#### The install process will look something like this:
|
||||
|
|
@ -276,7 +228,7 @@ nix-shell -p git vim
|
|||
2. Clone this repo & enter it:
|
||||
|
||||
```
|
||||
cd && git clone https://gitlab.com/zaney/zaneyos.git -b main --depth=1 ~/zaneyos
|
||||
cd && git clone https://gitlab.com/zaney/zaneyos.git -b stable-2.3 ~/zaneyos
|
||||
cd zaneyos
|
||||
|
||||
You can still run the `install.sh` script if you want to.
|
||||
|
|
@ -291,33 +243,93 @@ cp -r hosts/default hosts/<your-desired-hostname>
|
|||
git add .
|
||||
```
|
||||
|
||||
4. Edit `hosts/<your-desired-hostname>/variables.nix`
|
||||
```nixos-generate-config --show-hardware-config > hosts/<your-desired-hostname>/hardware.nix```
|
||||
4. Edit `hosts/<your-desired-hostname>/variables.nix`.
|
||||
|
||||
5. Edit `flake.nix` and fill in your username, profile, and hostname.
|
||||
|
||||
6. Generate your hardware.nix like so:
|
||||
|
||||
```
|
||||
nixos-generate-config --show-hardware-config > hosts/<your-desired-hostname>/hardware.nix
|
||||
```
|
||||
|
||||
7. Run this to enable flakes and install the flake replacing hostname with
|
||||
profile. I.e. `intel`, `nvidia`, `nvidia-laptop`, `amd-hybrid`, or `vm`
|
||||
profile. I.e. `intel`, `nvidia` `nvidia-laptop`, or `vm`
|
||||
|
||||
```
|
||||
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
sudo nixos-rebuild switch --flake .#profile
|
||||
|
||||
```
|
||||
|
||||
Now when you want to rebuild the configuration you have access to an alias
|
||||
called `fr` that will rebuild the flake and you do not have to be in the
|
||||
`zaneyos` folder for it to work.
|
||||
|
||||
</details>
|
||||
|
||||
## Upgrading from ZaneyOS 2.3 to 2.4 -- Do NOT use the upgrade script at this timel.
|
||||
|
||||
> **🚀 IMPORTANT:** If you already have ZaneyOS 2.3 installed, use the automated
|
||||
> upgrade system instead of reinstalling!
|
||||
|
||||
### ✅ Automated Upgrade Process:
|
||||
|
||||
ZaneyOS includes a comprehensive upgrade system that safely migrates your
|
||||
configuration:
|
||||
|
||||
```bash
|
||||
cd ~/zaneyos
|
||||
./upgrade-2.3-to-2.4.sh
|
||||
```
|
||||
|
||||
### 🔍 What the Upgrade System Does:
|
||||
|
||||
1. **Pre-Upgrade Analysis** - Comprehensive scan of your customizations
|
||||
2. **Complete Backup** - Full backup of your current configuration
|
||||
3. **Automatic Migration** - Preserves all your settings and customizations
|
||||
4. **Safe Upgrade** - Uses `boot` option to prevent display manager conflicts
|
||||
5. **Easy Revert** - One-command rollback if needed
|
||||
|
||||
### 📋 What Gets Automatically Migrated:
|
||||
|
||||
- ✅ All host configurations and variables
|
||||
- ✅ Hardware configurations
|
||||
- ✅ Custom packages (both global and per-host)
|
||||
- ✅ Themes, wallpapers, and monitor settings
|
||||
- ✅ Git configuration and personal settings
|
||||
- ✅ Terminal preferences with automatic enabling
|
||||
|
||||
### ⚠️ What Requires Manual Attention:
|
||||
|
||||
- Custom flake.nix inputs
|
||||
- Personal shell configuration files (zshrc-personal.nix, etc.)
|
||||
- Custom module modifications
|
||||
|
||||
### 📚 Complete Documentation:
|
||||
|
||||
For detailed upgrade instructions, troubleshooting, and safety information:
|
||||
|
||||
- **Read**: `UPGRADE-2.3-to-2.4.md` in your zaneyos directory
|
||||
- **Analysis Report**: Saved automatically as
|
||||
`~/zaneyos-upgrade-analysis-TIMESTAMP.txt`
|
||||
|
||||
### 🔄 Easy Revert:
|
||||
|
||||
If anything goes wrong, easily revert to 2.3:
|
||||
|
||||
```bash
|
||||
cd ~/zaneyos
|
||||
./upgrade-2.3-to-2.4.sh --revert
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Special Recognitions:
|
||||
|
||||
Thank you for all your assistance
|
||||
|
||||
- KoolDots https://github.com/LinuxBeginnings
|
||||
- JakKoolit https://github.com/Jakoolit
|
||||
- Justaguylinux https://codeberg.org/Justaguylinux
|
||||
- Jakookit https://github.com/jakookit
|
||||
- Justaguylinux https://github.com/drewgrif
|
||||
- Jerry Starke https://github.com/JerrySM64
|
||||
|
||||
## Hope you enjoy!
|
||||
```
|
||||
|
|
|
|||
83
WARP.md
|
|
@ -1,83 +0,0 @@
|
|||
# WARP.md
|
||||
|
||||
This file provides guidance to WARP (warp.dev) when working with code in this repository.
|
||||
|
||||
Project: ZaneyOS — NixOS flake for desktop systems with per-host overrides, GPU/VM profiles, and an integrated Home Manager layer.
|
||||
|
||||
Important repo expectations
|
||||
|- This repo is expected at: ~/zaneyos (programs.nh.flake points here). If you keep it elsewhere, update modules/core/nh.nix accordingly.
|
||||
|- Target OS: NixOS 23.11+; UEFI + GPT expected; systemd-boot is supported out of the box (see README for details).
|
||||
|
||||
Common commands
|
||||
|- Rebuild and switch (preferred via nh/zcli)
|
||||
- fr # zsh alias → nh os switch --hostname <profile>
|
||||
- fu # zsh alias → nh os switch --hostname <profile> --update
|
||||
- zcli rebuild [--dry|--ask|--cores N|--verbose|--no-nom]
|
||||
- zcli update [--dry|--ask|--cores N|--verbose|--no-nom]
|
||||
|- Rebuild for next boot (safer for bigger changes)
|
||||
- zcli rebuild-boot [same options]
|
||||
- sudo nixos-rebuild boot --flake .#<profile>
|
||||
|- Direct NixOS (without nh/zcli)
|
||||
- sudo nixos-rebuild switch --flake .#<profile>
|
||||
|- Validate the flake
|
||||
- nix flake check
|
||||
|- Format Nix files (nixfmt-rfc-style is included)
|
||||
- find . -name "*.nix" -print0 | xargs -0 nixfmt
|
||||
|- Configuration comparison (compare against upstream)
|
||||
- ./modules/src/compare-zaneyos-config.sh # compares against official repo
|
||||
- ./modules/src/compare-zaneyos-config.sh --branch stable-2.4 # specific branch
|
||||
|- Host management (zcli)
|
||||
- zcli update-host [hostname] [profile] # auto-detect if args omitted
|
||||
- zcli add-host <hostname> [profile] # copies hosts/default, can gen hardware.nix
|
||||
- zcli del-host <hostname>
|
||||
|- Diagnostics and maintenance
|
||||
- zcli diag # writes ~/diag.txt
|
||||
- zcli cleanup # prunes generations (interactive)
|
||||
- zcli trim # runs fstrim with confirmation
|
||||
|- 2.3 → 2.4 upgrade (existing installs)
|
||||
- ./upgrade-2.3-to-2.4.sh # automated analysis, backup, and upgrade
|
||||
- ./upgrade-2.3-to-2.4.sh --revert
|
||||
|
||||
Notes on profiles and hosts
|
||||
|- Profiles represent hardware targets: amd, intel, nvidia, nvidia-laptop (intel+NVIDIA hybrid), amd-hybrid (AMD+NVIDIA hybrid), vm.
|
||||
|- Use the profile in flake targets like .#vm or .#nvidia, or via nh's --hostname.
|
||||
|- Host-specific settings live under hosts/<hostname>/; variables.nix holds UX and feature toggles: barChoice (noctalia or waybar), waybarChoice (when barChoice="waybar"), clock24h, etc.
|
||||
|
||||
High-level architecture (big picture)
|
||||
|- flake.nix
|
||||
- Inputs: nixpkgs 25.11, home-manager 25.11, stylix, nvf, nix-flatpak, noctalia; nixvim and quickshell are included but currently inactive (uncommitted to outputs).
|
||||
- Defines system, host, profile, username; constructs nixosConfigurations via mkNixosConfig.
|
||||
- Each configuration imports profiles/<profile>.
|
||||
- profiles/<profile>/default.nix
|
||||
- Imports host and stacks: ../../hosts/${host}, ../../modules/drivers, ../../modules/core.
|
||||
- Toggles drivers and VM guest services per profile; the nvidia-laptop and amd-hybrid profiles consume Bus IDs from host variables.
|
||||
- hosts/<hostname>/
|
||||
- default.nix imports hardware.nix and host-packages.nix.
|
||||
- variables.nix is the primary control surface (display manager, terminal/browser defaults, waybarChoice, stylix image, 24h clock, Thunar/printing/NFS flags, intel/nvidia Bus IDs, etc.).
|
||||
|- modules/core
|
||||
- Composes NixOS modules: boot, flatpak, fonts, hardware, network, nfs, nh, quickshell, packages, printing, display manager (greetd/sddm), security, services (PipeWire/SSH/Bluetooth/fstrim; smartd conditional), steam, stylix, syncthing, system (nix settings, locales, env), thunar, user (Home Manager), virtualization, xserver.
|
||||
- quickshell.nix installs quickshell with Qt6 dependencies and required environment variables (needed for noctalia-shell).
|
||||
- nh.nix enables nh and pins programs.nh.flake to ~/zaneyos.
|
||||
- user.nix integrates Home Manager and creates users.${username}, passing { inputs, username, host, profile } to the home layer.
|
||||
- modules/drivers
|
||||
- AMD, Intel, NVIDIA, NVIDIA Prime, NVIDIA AMD-Hybrid, and VM guest services; nvidia-prime options (enable, intelBusID, nvidiaBusID) are consumed by the nvidia-laptop profile; nvidia-amd-hybrid options (enable, amdgpuBusID, nvidiaBusID) are consumed by the amd-hybrid profile.
|
||||
|- modules/home
|
||||
- Composes the user environment: Hyprland, bar/shell choice (noctalia-shell or Waybar via barChoice), Rofi, Yazi, terminals (Kitty/WezTerm/Ghostty/Alacritty toggles), Zsh/Bash config, Git, NVF/Neovim, OBS, swaync, scripts, Stylix, optional Doom Emacs/VSCodium/Helix.
|
||||
- default.nix conditionally imports barModule: either noctalia.nix (when barChoice="noctalia") or waybarChoice (when barChoice="waybar").
|
||||
- noctalia.nix installs noctalia-shell and seeds ~/.config/quickshell/noctalia-shell from the package distribution.
|
||||
- scripts/default.nix installs zcli; zcli wraps rebuild/update/boot, cleanup, diagnostics, host management, and Doom lifecycle.
|
||||
- Shell aliases (zsh)
|
||||
- fr and fu are defined in modules/home/zsh/default.nix, parameterized by the active profile.
|
||||
|
||||
Key development choices
|
||||
- Repo location matters: nh and zcli assume ~/zaneyos; move it and adjust modules/core/nh.nix.
|
||||
- Validation is via nix flake check; there is no separate unit test suite.
|
||||
- Formatting is via nixfmt-rfc-style (provided in system packages).
|
||||
|
||||
Useful docs in-repo
|
||||
- README.md: requirements, install and upgrade overview (including the 2.3→2.4 process).
|
||||
- zcli.md: full CLI docs, commands, options, and examples.
|
||||
- cheatsheets/project-guide.md: quick commands, architecture summary, and common workflows.
|
||||
- cheatsheets/: Hyprland and terminal/editor quick references.
|
||||
|
||||
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
[English](./README.md) | Español
|
||||
|
||||
# Índice de Cheatsheets (ZaneyOS)
|
||||
Estos documentos cubren tanto el uso general como la configuración específica definida en la configuración de NixOS "ZaneyOS".
|
||||
|
||||
- Uso general: Consejos prácticos centrados en tareas y los principales flujos de trabajo.
|
||||
- Específicos de ZaneyOS: Notas que reflejan cómo se configuran las herramientas en este repositorio (modules/home/*) para que el comportamiento coincida con su sistema.
|
||||
|
||||
## 🔗 Enlaces Rápidos
|
||||
- Emacs
|
||||
- [Los 10 mejores consejos para empezar](emacs/emacs.getting-started.top10.md)
|
||||
- [Explorador de archivos](emacs/emacs.file-explorer.cheatsheet.md)
|
||||
- [Autocompletado de código](emacs/emacs.code-completion.cheatsheet.md)
|
||||
- [Magit (Git)](emacs/emacs.magit.cheatsheet.md)
|
||||
- [Markdown](emacs/emacs.markdown.cheatsheet.md)
|
||||
- Ghostty
|
||||
- [Cheatsheet de Ghostty](ghostty/ghostty.cheatsheet.md)
|
||||
- Tmux
|
||||
- [Cheatsheet de Tmux](tmux/tmux.cheatsheet.md)
|
||||
- Alacritty
|
||||
- [Cheatsheet de Alacritty](alacritty/alacritty.cheatsheet.md)
|
||||
- Kitty
|
||||
- [Cheatsheet de Kitty](kitty/kitty.cheatsheet.md)
|
||||
- WezTerm
|
||||
- [Cheatsheet de WezTerm](wezterm/wezterm.cheatsheet.md)
|
||||
- Hyprland
|
||||
- [Atajos de teclado](hyprland/hyprland.binds.cheatsheet.md)
|
||||
- [Reglas de ventana](hyprland/hyprland.windowrules.cheatsheet.md)
|
||||
- Yazi
|
||||
- [Mapa de teclas](yazi/yazi.keymap.cheatsheet.md)
|
||||
|
||||
## 📚 Cómo usar
|
||||
- Navegue por el área que le interese (por ejemplo, Emacs, Ghostty).
|
||||
- Comience con los documentos de "primeros pasos" o "consejos principales" para obtener resultados rápidos.
|
||||
- Consulte las cheatsheets específicas de cada herramienta para los comandos diarios y luego verifique cualquier configuración específica de ZaneyOS.
|
||||
|
||||
## 📂 Árbol de Directorios
|
||||
|
||||
```
|
||||
cheatsheets/
|
||||
├── emacs/
|
||||
│ ├── emacs.code-completion.cheatsheet.md
|
||||
│ ├── emacs.file-explorer.cheatsheet.md
|
||||
│ ├── emacs.getting-started.top10.md
|
||||
│ ├── emacs.magit.cheatsheet.md
|
||||
│ └── emacs.markdown.cheatsheet.md
|
||||
├── ghostty/
|
||||
│ └── ghostty.cheatsheet.md
|
||||
├── tmux/
|
||||
│ └── tmux.cheatsheet.md
|
||||
├── alacritty/
|
||||
│ └── alacritty.cheatsheet.md
|
||||
├── kitty/
|
||||
│ └── kitty.cheatsheet.md
|
||||
├── wezterm/
|
||||
│ └── wezterm.cheatsheet.md
|
||||
├── hyprland/
|
||||
│ ├── hyprland.binds.cheatsheet.md
|
||||
│ └── hyprland.windowrules.cheatsheet.md
|
||||
└── yazi/
|
||||
└── yazi.keymap.cheatsheet.md
|
||||
```
|
||||
|
||||
## 🛠️ Notas
|
||||
- El cheatsheet de Ghostty refleja los atajos de teclado de modules/home/terminals/ghostty.nix (ZaneyOS).
|
||||
- Los documentos de Emacs siguen el mismo estilo de markdown para mayor consistencia y una lectura rápida.
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
English | [Español](./README.es.md)
|
||||
# Cheatsheets Index (ddubsOS)
|
||||
|
||||
# Cheatsheets Index (ZaneyOS)
|
||||
These documents cover both general usage and the specific configuration as defined in the NixOS configuration "ZaneyOS".
|
||||
These documents cover both general usage and the specific configuration as defined in the NixOS configuration "ddubsOS".
|
||||
|
||||
- General use: Practical, task-focused tips and top workflows.
|
||||
- ZaneyOS specifics: Notes reflecting how tools are configured in this repository (modules/home/*) so behavior matches your system.
|
||||
- ddubsOS specifics: Notes reflecting how tools are configured in this repository (modules/home/*) so behavior matches your system.
|
||||
|
||||
## 🔗 Quick Links
|
||||
- Emacs
|
||||
|
|
@ -32,7 +31,7 @@ These documents cover both general usage and the specific configuration as defin
|
|||
## 📚 How to use
|
||||
- Browse the area you care about (e.g., Emacs, Ghostty).
|
||||
- Start with the “getting started” or “top tips” docs for quick wins.
|
||||
- Refer to tool-specific cheatsheets for day-to-day commands, then cross-check any ZaneyOS-specific settings.
|
||||
- Refer to tool-specific cheatsheets for day-to-day commands, then cross-check any ddubsOS-specific settings.
|
||||
|
||||
## 📂 Directory Tree
|
||||
|
||||
|
|
@ -62,5 +61,6 @@ cheatsheets/
|
|||
```
|
||||
|
||||
## 🛠️ Notes
|
||||
- Ghostty cheatsheet reflects bindings from modules/home/terminals/ghostty.nix (ZaneyOS).
|
||||
- Ghostty cheatsheet reflects bindings from modules/home/terminals/ghostty.nix (ddubsOS).
|
||||
- Emacs docs follow the same markdown style for consistency and quick scanning.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,58 +0,0 @@
|
|||
# Add GNOME Desktop (overview)
|
||||
|
||||
This guide gives **basic steps** and **which files to edit** to add GNOME to ZaneyOS.
|
||||
|
||||
In NixOS, you enable it through NixOS options in a module (a `.nix` file), then pick a display manager (login screen).
|
||||
This repo already has **SDDM** (graphical) and **LY** (text) login support. You can keep using either — both can start GNOME sessions.
|
||||
|
||||
## Files to edit (minimal list)
|
||||
|
||||
1. `modules/core/default.nix`
|
||||
- Import your new GNOME module so it becomes part of the system config.
|
||||
|
||||
2. `modules/core/xserver.nix`
|
||||
- GNOME needs `services.xserver.enable = true;` (this file currently disables X11).
|
||||
|
||||
3. `modules/core/gnome.nix` (new file you create)
|
||||
- Turn on GNOME’s desktop manager.
|
||||
|
||||
4. `hosts/<hostname>/variables.nix`
|
||||
- Make sure your `displayManager` is set to either `"sddm"` or `"tui"` (for LY), since those are already supported here.
|
||||
|
||||
## Suggested minimal GNOME module (example)
|
||||
|
||||
```nix path=null start=null
|
||||
{ ... }:
|
||||
{
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
## Where to import the GNOME module
|
||||
|
||||
In `modules/core/default.nix`, add your GNOME file to the imports list:
|
||||
|
||||
```nix path=null start=null
|
||||
imports = [
|
||||
# ...
|
||||
./gnome.nix
|
||||
# ...
|
||||
];
|
||||
```
|
||||
|
||||
## Flatpak: GNOME Extensions Manager
|
||||
|
||||
To add the Flatpak app **Extension Manager** (for GNOME extensions), edit `modules/core/flatpak.nix` and add its ID:
|
||||
|
||||
```nix path=null start=null
|
||||
services.flatpak.packages = [
|
||||
"com.mattjakeman.ExtensionManager"
|
||||
];
|
||||
```
|
||||
|
||||
## `git add .` and rebuild
|
||||
|
||||
Once you have the file created. In the ZaneyOS directory run `git add . ` then `zcli rebuild`
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
[English](./alacritty.cheatsheet.md) | Español
|
||||
|
||||
# Alacritty en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/alacritty.nix
|
||||
|
||||
- Programa
|
||||
- Alacritty habilitado.
|
||||
- Familia de fuentes (predeterminada): Maple NF; tamaño: 15.
|
||||
- Estilos configurados: Regular, Negrita, Cursiva, Negrita Cursiva.
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Opciones Predeterminadas (según configuración)
|
||||
|
||||
Fuente
|
||||
- normal: Maple NF Regular
|
||||
- bold: Maple NF Negrita
|
||||
- italic: Maple NF Cursiva
|
||||
- bold_italic: Maple NF Negrita Cursiva
|
||||
- size: 15
|
||||
|
||||
Notas
|
||||
- Usa lib.mkDefault para la familia de fuentes, por lo que otros módulos pueden anularla.
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./alacritty.cheatsheet.es.md)
|
||||
# Alacritty on ddubsOS — Summary & Cheatsheet
|
||||
|
||||
# Alacritty on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/alacritty.nix
|
||||
|
||||
- Program
|
||||
|
|
|
|||
|
|
@ -1,129 +0,0 @@
|
|||
[English](./emacs.code-completion.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet de Autocompletado y Búsqueda de Código en Doom Emacs
|
||||
## 🚀 **Lo que Tienes (Como nvim-cmp + blink.cmp)**
|
||||
|
||||
Si tu configuración de Doom incluye:
|
||||
- **Company Mode** - Framework de autocompletado
|
||||
- **LSP Mode** - Soporte para el Protocolo de Servidor de Lenguaje
|
||||
- **Tree-sitter** - Análisis de sintaxis avanzado
|
||||
- **Herramientas de búsqueda** - Búsqueda de documentación y definiciones
|
||||
|
||||
## ⌨️ **Autocompletado de Código (Company)**
|
||||
|
||||
### **Controles de Autocompletado:**
|
||||
- `TAB` o `C-SPC` - **Aceptar autocompletado**
|
||||
- `C-n` / `j` - **Siguiente autocompletado** (modo evil)
|
||||
- `C-p` / `k` - **Anterior autocompletado** (modo evil)
|
||||
- `C-w` - **Mostrar documentación** para el autocompletado
|
||||
- `C-s` - **Buscar/filtrar autocompletados**
|
||||
- `ESC` o `C-g` - **Cancelar autocompletado**
|
||||
|
||||
### **Autocompletado Manual:**
|
||||
- `M-/` - **Completar en el punto** (disparador manual)
|
||||
- `C-M-/` - **Expandir abreviatura**
|
||||
|
||||
## 🔍 **Búsqueda y Navegación de Código**
|
||||
|
||||
### **Ir a Definición/Referencias:**
|
||||
- `gd` - **Ir a la definición** (modo evil)
|
||||
- `gD` - **Ir a la declaración**
|
||||
- `gr` - **Ir a las referencias**
|
||||
- `SPC c d` - **Buscar definición**
|
||||
- `SPC c D` - **Buscar referencias**
|
||||
- `SPC c i` - **Buscar implementaciones**
|
||||
|
||||
### **Búsqueda de Documentación:**
|
||||
- `K` - **Buscar documentación** (modo evil)
|
||||
- `SPC c k` - **Buscar documentación**
|
||||
- `SPC c K` - **Buscar en conjuntos de documentos**
|
||||
- `C-h f` - **Describir función**
|
||||
- `C-h v` - **Describir variable**
|
||||
|
||||
### **Navegación de Símbolos:**
|
||||
- `SPC c j` - **Saltar a símbolo en el búfer**
|
||||
- `SPC c J` - **Saltar a símbolo en el proyecto**
|
||||
- `SPC s i` - **Buscar símbolo**
|
||||
|
||||
## 🛠️ **Características de LSP (Servidor de Lenguaje)**
|
||||
|
||||
### **Acciones de LSP:**
|
||||
- `SPC c a` - **Acciones de código** (refactorizar, arreglar, etc.)
|
||||
- `SPC c r` - **Renombrar símbolo**
|
||||
- `SPC c f` - **Formatear búfer/región**
|
||||
- `SPC c o` - **Organizar importaciones**
|
||||
|
||||
### **Navegación de Errores:**
|
||||
- `]e` - **Siguiente error**
|
||||
- `[e` - **Error anterior**
|
||||
- `SPC c x` - **Listar errores**
|
||||
|
||||
### **Información de LSP:**
|
||||
- `SPC c l` - **Menú de LSP**
|
||||
- `SPC c h` - **Mostrar información al pasar el ratón**
|
||||
- `SPC c s` - **Mostrar firma**
|
||||
|
||||
## 🎯 **Características Específicas del Lenguaje**
|
||||
|
||||
### **C/C++ (clang-tools)**
|
||||
- Autocompletado completo para funciones, variables, tipos
|
||||
- Ir a la definición a través de archivos
|
||||
- Comprobación de errores y diagnósticos
|
||||
- Formateo de código con clang-format
|
||||
|
||||
### **Nix (nil LSP)**
|
||||
- Autocompletado del lenguaje Nix
|
||||
- Documentación de funciones
|
||||
- Comprobación de sintaxis
|
||||
- Ir a la definición para expresiones de Nix
|
||||
|
||||
### **JSON (vscode-json-languageserver)**
|
||||
- Autocompletado basado en esquemas
|
||||
- Validación y comprobación de errores
|
||||
- Ir a la definición en archivos JSON
|
||||
|
||||
## ⚡ **Consejos Profesionales**
|
||||
|
||||
### **Búsqueda Difusa en Todo:**
|
||||
- `SPC f f` - **Buscar archivos**
|
||||
- `SPC /` - **Buscar en el proyecto**
|
||||
- `SPC s s` - **Buscar en el búfer**
|
||||
- `SPC p p` - **Cambiar de proyecto**
|
||||
|
||||
### **Mejor Navegación:**
|
||||
- `C-o` - **Retroceder** (después de saltar a la definición)
|
||||
- `C-i` - **Avanzar**
|
||||
- `SPC j j` - **Saltar a un carácter** (como easymotion)
|
||||
|
||||
### **Ajustes de Autocompletado:**
|
||||
- Los autocompletados aparecen después de 0.2 segundos de escribir
|
||||
- Mínimo 1 carácter para activarse
|
||||
- Muestra la documentación en una ventana emergente
|
||||
- Funciona tanto con Company como con LSP
|
||||
|
||||
## 🔧 **Solución de Problemas**
|
||||
|
||||
### **Si el autocompletado no funciona:**
|
||||
1. Comprueba si el servidor LSP se está ejecutando: `SPC c l`
|
||||
2. Reinicia LSP: `SPC c l r`
|
||||
3. Comprueba si hay errores de sintaxis: `SPC c x`
|
||||
|
||||
### **Rendimiento:**
|
||||
- Los servidores LSP se inician automáticamente cuando abres archivos compatibles
|
||||
- El autocompletado está optimizado para una respuesta rápida
|
||||
- Usa `SPC h r r` para recargar la configuración de Doom después de los cambios
|
||||
|
||||
## 🚀 **Flujo de Trabajo de Inicio Rápido**
|
||||
|
||||
1. **Abre un archivo de código** (`.c`, `.nix`, `.json`)
|
||||
2. **Empieza a escribir** - los autocompletados aparecen automáticamente
|
||||
3. **Navega con `j/k`** y **acepta con `TAB`**
|
||||
4. **Usa `gd`** para saltar a las definiciones
|
||||
5. **Usa `K`** para ver la documentación
|
||||
6. **Usa `SPC c a`** para acciones de código
|
||||
|
||||
## 📚 **Servidores de Lenguaje Incluidos**
|
||||
- **C/C++**: `clang-tools` (clangd)
|
||||
- **Nix**: `nil`
|
||||
- **JSON**: `vscode-json-languageserver`
|
||||
- ¡Se pueden añadir más por lenguaje según sea necesario!
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./emacs.code-completion.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs Code Completion & Lookup Cheatsheet
|
||||
|
||||
## 🚀 **What You Have (Like nvim-cmp + blink.cmp)**
|
||||
|
||||
If your Doom config includes:
|
||||
|
|
|
|||
|
|
@ -1,306 +0,0 @@
|
|||
[English](./emacs.file-explorer.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet del Explorador de Archivos de Doom Emacs
|
||||
## 🗂️ **¿Qué es Dired?**
|
||||
|
||||
Dired (Directory Editor) es el gestor de archivos incorporado de Emacs que te permite navegar, gestionar y manipular archivos y directorios de manera eficiente.
|
||||
- Navega por los directorios con el teclado
|
||||
- Marca, copia, mueve y elimina archivos
|
||||
- Ejecuta comandos en múltiples archivos a la vez
|
||||
- Se integra con otras herramientas y búferes de Emacs
|
||||
|
||||
## 📋 **Requisitos**
|
||||
- Doom Emacs (Dired está incorporado)
|
||||
- **Treemacs**: Debe estar habilitado en `~/.doom.d/init.el` (descomenta la línea `treemacs`)
|
||||
- Herramientas opcionales para una funcionalidad mejorada:
|
||||
- `rsync` - Sincronización y copia rápida de archivos
|
||||
- `fd` o `find` - Búsqueda de archivos mejorada
|
||||
- `rg` (ripgrep) o `ag` (the_silver_searcher) - Búsqueda rápida de texto
|
||||
- `exa` o `lsd` - Listados de directorios mejorados
|
||||
- `trash-cli` - Eliminación segura de archivos a la papelera
|
||||
- `zip`/`unzip`, `tar`, `gzip` - Manejo de archivos comprimidos
|
||||
|
||||
## ⌨️ **Abriendo Exploradores de Archivos**
|
||||
|
||||
### **Dired (Gestor de Archivos Incorporado):**
|
||||
- `SPC .` - **Abrir Dired** en el directorio actual
|
||||
- `SPC f d` - **Buscar directorio** (abrir Dired en una ruta específica)
|
||||
- `C-x d` - **Abrir Dired** (atajo clásico de Emacs)
|
||||
|
||||
### **Navegación de Archivos del Proyecto:**
|
||||
- `SPC SPC` - **Buscar archivo** en el proyecto
|
||||
- `SPC f f` - **Buscar archivo** en cualquier lugar
|
||||
- `SPC f r` - **Archivos recientes**
|
||||
- `SPC p f` - **Buscar archivo** en el proyecto
|
||||
|
||||
### **Exploradores en Estilo de Árbol:**
|
||||
- `SPC o p` - **Alternar barra lateral del proyecto** (Treemacs)
|
||||
- `SPC f t` - **Buscar archivo** en el árbol
|
||||
|
||||
## 🧭 **Navegación en Dired**
|
||||
|
||||
### **Movimiento Básico:**
|
||||
- `j/k` o `n/p` - **Moverse arriba/abajo** entre archivos
|
||||
- `h` - **Subir** un directorio (padre)
|
||||
- `l` o `RET` - **Entrar en el directorio** o abrir archivo
|
||||
- `^` - **Ir al directorio padre**
|
||||
- `g` - **Refrescar** el listado del directorio
|
||||
|
||||
### **Saltando:**
|
||||
- `gg` - **Ir al principio** del listado
|
||||
- `G` - **Ir al final** del listado
|
||||
- `/` - **Buscar** por nombre de archivo/directorio
|
||||
- `SPC s s` - **Buscar dentro** del directorio
|
||||
|
||||
### **Información del Archivo:**
|
||||
- `(` - **Alternar detalles** (mostrar/ocultar información del archivo)
|
||||
- `s` - **Ordenar** archivos (por nombre, fecha, tamaño)
|
||||
- `C-h m` - **Mostrar ayuda** para el modo actual
|
||||
|
||||
## 📁 **Operaciones con Archivos**
|
||||
|
||||
### **Abriendo Archivos:**
|
||||
- `RET` - **Abrir archivo** en la ventana actual
|
||||
- `o` - **Abrir archivo** en otra ventana
|
||||
- `C-o` - **Abrir archivo** en otra ventana (mantener el cursor en Dired)
|
||||
- `v` - **Ver archivo** (solo lectura)
|
||||
- `f` - **Buscar archivo** (igual que RET)
|
||||
|
||||
### **Creando Archivos y Directorios:**
|
||||
- `+` - **Crear directorio**
|
||||
- `SPC f c` - **Crear archivo** (cuando estás en el búfer de Dired)
|
||||
- `C-x C-f` - **Buscar/crear archivo** (desde Dired)
|
||||
|
||||
## 🏷️ **Marcando Archivos**
|
||||
|
||||
### **Marcado Básico:**
|
||||
- `m` - **Marcar archivo** para operaciones
|
||||
- `u` - **Desmarcar archivo**
|
||||
- `U` - **Desmarcar todos** los archivos
|
||||
- `t` - **Alternar marcas** (marcar los no marcados, desmarcar los marcados)
|
||||
- `* %` - **Marcar por patrón** de expresión regular
|
||||
|
||||
### **Marcado Rápido:**
|
||||
- `* .` - **Marcar por extensión** (ej., *.txt)
|
||||
- `* /` - **Marcar directorios**
|
||||
- `* @` - **Marcar enlaces simbólicos**
|
||||
- `* *` - **Marcar ejecutables**
|
||||
|
||||
### **Marcado Avanzado:**
|
||||
- `% m` - **Marcar archivos** que coincidan con una expresión regular
|
||||
- `% d` - **Marcar para eliminar** archivos que coincidan con una expresión regular
|
||||
- `* c` - **Cambiar marcas** (cambiar una marca por otra)
|
||||
|
||||
## ✂️ **Operaciones de Gestión de Archivos**
|
||||
|
||||
### **Copiar, Mover, Eliminar:**
|
||||
- `C` - **Copiar** archivos marcados (o el archivo bajo el cursor)
|
||||
- `R` - **Renombrar/Mover** archivos marcados
|
||||
- `D` - **Eliminar** archivos marcados inmediatamente
|
||||
- `d` - **Marcar para eliminar** (usa `x` para ejecutar)
|
||||
- `x` - **Ejecutar eliminaciones** (eliminar archivos marcados con `d`)
|
||||
|
||||
### **Opciones de Eliminación:**
|
||||
- `d` y luego `x` - **Eliminación segura** (marcar primero, luego ejecutar)
|
||||
- `D` - **Eliminación inmediata** (omite el paso de marcar)
|
||||
- **Integración con la papelera**: Si `trash-cli` está instalado, los archivos van a la papelera en lugar de ser eliminados permanentemente
|
||||
|
||||
### **Operaciones Avanzadas:**
|
||||
- `Z` - **Comprimir/descomprimir** archivos (usa `gzip`, `zip`, `tar` automáticamente)
|
||||
- `A` - **Buscar** en archivos marcados (usa `grep` o `rg` si está disponible)
|
||||
- `Q` - **Consultar y reemplazar** en archivos marcados
|
||||
- `!` - **Ejecutar comando de shell** en archivos marcados
|
||||
- `&` - **Ejecutar comando de shell asíncrono** en archivos marcados
|
||||
|
||||
## 📋 **Copiando y Moviendo**
|
||||
|
||||
### **Operaciones de Copia:**
|
||||
- `C` - **Copiar archivos** (solicita el destino)
|
||||
- Funciona con archivos marcados o un solo archivo bajo el cursor
|
||||
- Usa `rsync` si está disponible para una copia más rápida y reanudable
|
||||
- Admite la copia a diferentes unidades/particiones
|
||||
|
||||
### **Operaciones de Mover/Renombrar:**
|
||||
- `R` - **Renombrar/Mover** archivos
|
||||
- Puede renombrar archivos individuales o mover múltiples archivos marcados
|
||||
- Admite el movimiento entre directorios
|
||||
|
||||
### **Consejos para Copiar/Mover:**
|
||||
- Marca múltiples archivos primero, luego usa `C` o `R`
|
||||
- El autocompletado con Tab funciona para las rutas de destino
|
||||
- Usa rutas relativas (`.`, `..`) para una navegación rápida
|
||||
|
||||
## 🔍 **Búsqueda y Filtro**
|
||||
|
||||
### **Encontrando Archivos:**
|
||||
- `/` - **Buscar** nombres de archivo en el listado actual
|
||||
- `n/N` - **Siguiente/anterior** coincidencia de búsqueda
|
||||
|
||||
### **Búsqueda Mejorada (con herramientas externas):**
|
||||
- `A` - **Buscar dentro de los archivos** (usa `rg` > `ag` > `grep` en orden de prioridad)
|
||||
- Mucho más rápido con `ripgrep` o `the_silver_searcher`
|
||||
- Admite patrones de expresiones regulares y filtrado por tipo de archivo
|
||||
|
||||
### **Filtrando la Visualización:**
|
||||
- `(` - **Alternar** vista detallada
|
||||
- `s` - **Ordenar** por diferentes criterios
|
||||
- `C-u s` - **Ordenar** con opciones personalizadas
|
||||
|
||||
### **Búsqueda de Contenido:**
|
||||
- `A` - **Buscar dentro** de los archivos marcados
|
||||
- `Q` - **Consultar y reemplazar** en los archivos marcados
|
||||
|
||||
## 🔧 **Características Avanzadas**
|
||||
|
||||
### **Wdired (Dired Editable):**
|
||||
- `C-x C-q` - **Editar nombres de archivo** directamente (como renombrar)
|
||||
- Edita los nombres de archivo como texto, luego `C-c C-c` para aplicar los cambios
|
||||
- `C-c C-k` para cancelar las ediciones
|
||||
|
||||
### **Múltiples Ventanas:**
|
||||
- `o` - **Abrir en otra ventana**
|
||||
- `C-o` - **Mostrar en otra ventana** (permanecer en Dired)
|
||||
- `2` - **Dividir la ventana** verticalmente para dos vistas de Dired
|
||||
|
||||
### **Subdirectorios:**
|
||||
- `i` - **Insertar subdirectorio** en el mismo búfer
|
||||
- `$` - **Ocultar/mostrar** el contenido del subdirectorio
|
||||
- `M-$` - **Ocultar todos** los subdirectorios
|
||||
|
||||
## 📊 **Comparación de Archivos**
|
||||
|
||||
### **Operaciones de Diferencias:**
|
||||
- `=` - **Comparar archivo** con otro
|
||||
- `M-=` - **Comparar** archivos marcados entre sí
|
||||
- Funciona con herramientas de diferencias externas
|
||||
|
||||
## 🗜️ **Operaciones con Archivos Comprimidos**
|
||||
|
||||
### **Compresión y Archivos:**
|
||||
- `Z` - **Comprimir/descomprimir** detecta automáticamente el formato
|
||||
- Admite: `.gz`, `.zip`, `.tar`, `.tar.gz`, `.tar.xz`, `.7z`
|
||||
- Usa las herramientas apropiadas: `gzip`, `zip`, `tar`, `7z`
|
||||
|
||||
### **Visualización de Archivos Comprimidos:**
|
||||
- Abre archivos `.zip`, `.tar`, etc. directamente para navegar por su contenido
|
||||
- Extrae archivos específicos de los archivos comprimidos
|
||||
|
||||
## 🎛️ **Personalización y Ajustes**
|
||||
|
||||
### **Opciones de Vista:**
|
||||
- `(` - **Alternar** entre vista simple y detallada
|
||||
- `s` - **Ciclar** entre los órdenes de clasificación (nombre, fecha, tamaño)
|
||||
- Listados mejorados con `exa` o `lsd` si están disponibles
|
||||
|
||||
### **Ajustes Útiles:**
|
||||
- Dired reutiliza los búferes por defecto en Doom
|
||||
- Actualización automática al cambiar los archivos
|
||||
- Integración con los atajos de teclado del modo Evil
|
||||
|
||||
## ⚡ **Treemacs (Explorador en Árbol)**
|
||||
|
||||
### **Treemacs Básico:**
|
||||
- `SPC o p` - **Alternar** la barra lateral de Treemacs
|
||||
- `j/k` - **Navegar** arriba/abajo en el árbol
|
||||
- `RET` - **Abrir archivo** o expandir/contraer directorio
|
||||
- `TAB` - **Expandir/contraer** directorio
|
||||
|
||||
### **Operaciones de Archivo en Treemacs:**
|
||||
- `cf` - **Crear archivo**
|
||||
- `cd` - **Crear directorio**
|
||||
- `R` - **Renombrar**
|
||||
- `d` - **Eliminar**
|
||||
- `yy` - **Copiar** la ruta al portapapeles
|
||||
|
||||
## 🚀 **Flujo de Trabajo de Inicio Rápido**
|
||||
|
||||
### **Gestión Básica de Archivos:**
|
||||
1. **Presiona `SPC .`** - Abre Dired en el directorio actual
|
||||
2. **Navega con `j/k`** - Muévete entre los archivos
|
||||
3. **Marca archivos con `m`** - Selecciona múltiples archivos
|
||||
4. **Usa `C` para copiar** o `R` para mover/renombrar
|
||||
5. **Presiona `g`** para refrescar cuando termines
|
||||
|
||||
### **Operaciones de Archivo Eficientes:**
|
||||
1. **Marca múltiples archivos** con `m`
|
||||
2. **Ejecuta operaciones por lotes** (`C` para copiar, `R` para mover)
|
||||
3. **Usa `!`** para ejecutar comandos de shell en los archivos marcados
|
||||
4. **Alterna los detalles con `(`** para más/menos información
|
||||
|
||||
## 📚 **Resumen de Atajos Esenciales**
|
||||
|
||||
| Acción | Tecla | Descripción |
|
||||
|--------|-----|-------------|
|
||||
| Abrir Dired | `SPC .` | Abrir explorador de archivos |
|
||||
| Navegar | `j/k` | Moverse arriba/abajo |
|
||||
| Entrar/Abrir | `RET` o `l` | Abrir archivo/directorio |
|
||||
| Directorio Padre | `h` o `^` | Subir un directorio |
|
||||
| Marcar | `m` | Marcar archivo para operaciones |
|
||||
| Copiar | `C` | Copiar archivos marcados |
|
||||
| Mover/Renombrar | `R` | Mover o renombrar archivos |
|
||||
| Eliminar | `d` y luego `x` | Marcar para eliminar, ejecutar |
|
||||
| Crear Directorio | `+` | Crear nuevo directorio |
|
||||
| Comprimir | `Z` | Comprimir/descomprimir |
|
||||
| Buscar en Archivos | `A` | Buscar dentro de los archivos |
|
||||
| Refrescar | `g` | Refrescar el listado del directorio |
|
||||
| Ayuda | `?` | Mostrar comandos disponibles |
|
||||
|
||||
## 🔧 **Solución de Problemas**
|
||||
|
||||
### **Problemas Comunes:**
|
||||
- **¿El búfer de Dired no se actualiza?** Presiona `g` para refrescar
|
||||
- **¿No puedes ver los detalles del archivo?** Presiona `(` para alternar la vista detallada
|
||||
- **¿Las operaciones son lentas?** Usa el marcado (`m`) para operaciones por lotes
|
||||
- **¿Orden de clasificación incorrecto?** Presiona `s` para ciclar entre las opciones de clasificación
|
||||
|
||||
### **Consejos de Rendimiento:**
|
||||
- Instala `fd` para una búsqueda de archivos más rápida
|
||||
- Instala `rg` (ripgrep) para una búsqueda de texto más rápida
|
||||
- Usa `rsync` para una copia de archivos eficiente
|
||||
- Considera `exa` o `lsd` para listados de directorios mejorados
|
||||
|
||||
### **Obteniendo Ayuda:**
|
||||
- `?` - **Ayuda contextual** en cualquier búfer de Dired
|
||||
- `C-h m` - **Ayuda específica del modo**
|
||||
- `SPC h d f dired` - **Documentación completa de Dired**
|
||||
|
||||
## 📋 **Comparación: Dired vs Treemacs**
|
||||
|
||||
### **Usa Dired cuando:**
|
||||
- Gestionas múltiples archivos a la vez
|
||||
- Necesitas información detallada de los archivos
|
||||
- Realizas operaciones por lotes
|
||||
- Trabajas con permisos/propiedad de archivos
|
||||
|
||||
### **Usa Treemacs cuando:**
|
||||
- Necesitas una vista rápida del proyecto
|
||||
- Navegación de archivos simple
|
||||
- Prefieres una estructura de árbol visual
|
||||
- Necesitas una barra lateral persistente
|
||||
|
||||
## 🛠️ **Integración con Herramientas Externas**
|
||||
|
||||
### **Herramientas Recomendadas:**
|
||||
- **`rsync`** - Copia de archivos rápida y fiable con capacidad de reanudación
|
||||
- **`ripgrep` (rg)** - Búsqueda de texto extremadamente rápida, mucho más rápida que grep
|
||||
- **`fd`** - Alternativa rápida a find con mejores valores predeterminados
|
||||
- **`exa`** - Reemplazo moderno de ls con colores e integración con git
|
||||
- **`trash-cli`** - Eliminación segura a la papelera en lugar de eliminación permanente
|
||||
- **`7z`** - Maneja archivos 7zip y otros formatos de compresión
|
||||
|
||||
### **Instalación (Debian/Ubuntu):**
|
||||
```bash
|
||||
sudo apt install rsync ripgrep fd-find exa trash-cli p7zip-full
|
||||
```
|
||||
|
||||
## 🎯 **Consejos Profesionales**
|
||||
|
||||
- **Operaciones por lotes**: Marca los archivos primero (`m`), luego ejecuta las operaciones
|
||||
- **Navegación rápida**: Usa `/` para buscar archivos por nombre
|
||||
- **Editar nombres de archivo**: Usa `C-x C-q` para el modo Wdired para renombrar múltiples archivos
|
||||
- **Integración con la shell**: Usa `!` para ejecutar comandos de shell en los archivos
|
||||
- **Múltiples directorios**: Usa `i` para mostrar subdirectorios en el mismo búfer
|
||||
- **Eliminación segura**: Instala `trash-cli` para enviar archivos a la papelera en lugar de eliminarlos permanentemente
|
||||
- **Búsqueda rápida**: Instala `ripgrep` para una búsqueda de texto ultrarrápida en los archivos
|
||||
|
||||
Dired proporciona una experiencia completa de gestión de archivos que se integra bien con herramientas externas de Linux, haciendo que las operaciones con archivos sean eficientes y potentes.
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./emacs.file-explorer.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs File Explorer Cheatsheet
|
||||
|
||||
## 🗂️ **What is Dired?**
|
||||
|
||||
Dired (Directory Editor) is Emacs' built-in file manager that allows you to navigate, manage, and manipulate files and directories efficiently.
|
||||
|
|
|
|||
|
|
@ -1,276 +0,0 @@
|
|||
[English](./emacs.getting-started.top10.md) | Español
|
||||
|
||||
# Las 10 Cosas Principales que los Nuevos Usuarios de Doom Emacs Deberían Saber
|
||||
## 🚀 **Primeros Pasos con Doom Emacs**
|
||||
|
||||
¡Bienvenido a Doom Emacs! Aquí están las 10 cosas más esenciales que todo nuevo usuario debería dominar para ser productivo rápidamente.
|
||||
|
||||
---
|
||||
|
||||
## 1. 🗝️ **Domina la Tecla Líder: `SPC`**
|
||||
|
||||
**La tecla Espacio es tu puerta de entrada a todo en Doom Emacs.**
|
||||
|
||||
- `SPC` se llama la "tecla líder" - abre menús para casi todas las acciones
|
||||
- Después de presionar `SPC`, verás sugerencias útiles que muestran los comandos disponibles
|
||||
- Los comandos están organizados lógicamente: `SPC f` para archivos, `SPC g` para git, `SPC p` para proyectos
|
||||
|
||||
**Comandos esenciales para empezar:**
|
||||
|
||||
- `SPC f f` - Buscar/abrir archivos
|
||||
- `SPC f s` - Guardar archivo actual
|
||||
- `SPC q q` - Salir de Emacs
|
||||
- `SPC h` - Menú de ayuda (¡muy importante!)
|
||||
|
||||
**Consejo Profesional:** Si olvidas lo que sigue, simplemente presiona `SPC` y espera - ¡Doom te mostrará las opciones!
|
||||
|
||||
---
|
||||
|
||||
## 2. 📁 **Navega por los Archivos como un Profesional**
|
||||
|
||||
**La navegación de archivos es fundamental para la productividad.**
|
||||
|
||||
- `SPC .` - **Abrir explorador de archivos** (Dired) en el directorio actual
|
||||
- `SPC f f` - **Buscar archivo** en cualquier parte de tu sistema
|
||||
- `SPC f r` - **Archivos recientes** en los que has trabajado
|
||||
- `SPC SPC` - **Buscar archivo en el proyecto actual** (¡súper útil!)
|
||||
|
||||
📋 _Consulta la guía completa: `emacs.file-explorer.cheatsheet.md`_
|
||||
|
||||
**Flujo de trabajo rápido:**
|
||||
|
||||
1. Abre el directorio de tu proyecto en la terminal
|
||||
2. Inicia Emacs: `emacs` (o `emacsclient -c` para GUI, `et` para TTY)
|
||||
3. Usa `SPC .` para explorar archivos o `SPC SPC` para encontrar archivos rápidamente
|
||||
|
||||
---
|
||||
|
||||
## 3. ⌨️ **Entiende el Modo Evil (Atajos de Teclado de Vim)**
|
||||
|
||||
**Doom Emacs usa atajos de teclado al estilo de Vim por defecto.**
|
||||
|
||||
**Movimiento básico (en modo Normal):**
|
||||
|
||||
- `h j k l` - Izquierda, abajo, arriba, derecha
|
||||
- `w` - Saltar a la siguiente palabra
|
||||
- `b` - Saltar una palabra hacia atrás
|
||||
- `gg` - Ir al principio del archivo
|
||||
- `G` - Ir al final del archivo
|
||||
|
||||
**Cambio de modo:**
|
||||
|
||||
- `i` - Entrar en modo de Inserción (para escribir texto)
|
||||
- `ESC` - Volver al modo Normal
|
||||
- `v` - Modo Visual (para seleccionar texto)
|
||||
|
||||
**Si no estás familiarizado con Vim:** ¡No te asustes! Puedes aprender gradualmente. Lo básico anterior te ayudará a empezar.
|
||||
|
||||
---
|
||||
|
||||
## 4. 🔍 **Busca y Reemplaza Eficientemente**
|
||||
|
||||
**Encontrar y cambiar texto es una tarea diaria.**
|
||||
|
||||
- `/` - Buscar hacia adelante en el búfer actual
|
||||
- `?` - Buscar hacia atrás en el búfer actual
|
||||
- `n/N` - Resultado de búsqueda siguiente/anterior
|
||||
- `SPC s s` - Buscar en el búfer actual (interactivo)
|
||||
- `SPC s p` - Buscar en todo el proyecto
|
||||
- `SPC s r` - Buscar y reemplazar en el búfer actual
|
||||
|
||||
**Para búsquedas en todo el proyecto:** `SPC s p` es increíblemente poderoso para encontrar código en todo tu proyecto.
|
||||
|
||||
---
|
||||
|
||||
## 5. 🗂️ **Trabaja con Búferes y Ventanas**
|
||||
|
||||
**Los búferes son archivos abiertos, las ventanas son cómo los ves.**
|
||||
|
||||
**Gestión de búferes:**
|
||||
|
||||
- `SPC b b` - Cambiar entre búferes abiertos
|
||||
- `SPC b k` - Matar (cerrar) el búfer actual
|
||||
- `SPC b s` - Guardar el búfer actual
|
||||
|
||||
**Gestión de ventanas:**
|
||||
|
||||
- `SPC w v` - Dividir la ventana verticalmente
|
||||
- `SPC w s` - Dividir la ventana horizontalmente
|
||||
- `SPC w c` - Cerrar la ventana actual
|
||||
- `SPC w w` - Cambiar entre ventanas
|
||||
- `C-h j/k/h/l` - Navegar entre ventanas (estilo Vim)
|
||||
|
||||
**Piénsalo de esta manera:** Puedes tener muchos archivos abiertos (búferes) pero solo ver algunos de ellos a la vez (ventanas).
|
||||
|
||||
---
|
||||
|
||||
## 6. 🛠️ **Configura y Personaliza Doom**
|
||||
|
||||
**Doom es altamente configurable, pero empieza de forma sencilla.**
|
||||
|
||||
**Archivos clave que debes conocer:**
|
||||
|
||||
- `~/.doom.d/config.el` - Tu configuración personal
|
||||
- `~/.doom.d/init.el` - Habilitar/deshabilitar módulos de Doom
|
||||
- `~/.doom.d/packages.el` - Añadir paquetes adicionales
|
||||
|
||||
**Comandos esenciales:**
|
||||
|
||||
- `SPC h r r` - Recargar la configuración de Doom
|
||||
- `SPC h d h` - Ayuda y documentación de Doom
|
||||
- `doom doctor` - Comprobar si hay problemas de configuración (ejecutar en la terminal)
|
||||
- `doom upgrade` - Actualizar Doom (ejecutar en la terminal)
|
||||
|
||||
**Empieza poco a poco:** No intentes personalizar todo de una vez. Usa primero los valores predeterminados de Doom y luego ajusta las cosas gradualmente.
|
||||
|
||||
---
|
||||
|
||||
## 7. 📝 **Domina los Conceptos Básicos de Edición de Texto**
|
||||
|
||||
**Comandos de edición esenciales que funcionan en cualquier modo.**
|
||||
|
||||
**En modo Normal (Evil):**
|
||||
|
||||
- `x` - Eliminar el carácter bajo el cursor
|
||||
- `dd` - Eliminar la línea entera
|
||||
- `yy` - Copiar (yank) la línea entera
|
||||
- `p` - Pegar después del cursor
|
||||
- `u` - Deshacer
|
||||
- `C-r` - Rehacer
|
||||
|
||||
**En modo de Inserción:**
|
||||
|
||||
- `C-w` - Eliminar palabra hacia atrás
|
||||
- `C-u` - Eliminar hasta el principio de la línea
|
||||
|
||||
**Selección y manipulación:**
|
||||
|
||||
- `v` - Iniciar selección visual
|
||||
- `V` - Seleccionar la línea entera
|
||||
- `d` - Eliminar el texto seleccionado
|
||||
- `y` - Copiar el texto seleccionado
|
||||
|
||||
---
|
||||
|
||||
## 8. 💻 **Usa la Autocompletación de Código y las Funciones del Lenguaje**
|
||||
|
||||
**Doom viene con un excelente soporte de código de fábrica.**
|
||||
|
||||
**Autocompletación:**
|
||||
|
||||
- Simplemente empieza a escribir - las terminaciones aparecen automáticamente
|
||||
- `TAB` - Aceptar la terminación
|
||||
- `C-n/C-p` o `j/k` - Navegar por las opciones de terminación
|
||||
|
||||
**Navegación de código:**
|
||||
|
||||
- `gd` - Ir a la definición
|
||||
- `gr` - Encontrar referencias
|
||||
- `K` - Mostrar documentación
|
||||
- `SPC c a` - Acciones de código (refactorizar, arreglar, etc.)
|
||||
|
||||
📋 _Consulta la guía completa: `emacs.code-completion.cheatsheet.md`_
|
||||
|
||||
**Lenguajes soportados:** La mayoría de los lenguajes populares funcionan de fábrica (Python, JavaScript, C/C++, Rust, Go, etc.)
|
||||
|
||||
---
|
||||
|
||||
## 9. 📚 **Usa el Sistema de Ayuda Incorporado**
|
||||
|
||||
**Doom tiene una excelente documentación incorporada.**
|
||||
|
||||
- `SPC h` - **Menú principal de ayuda**
|
||||
- `SPC h d h` - **Ayuda específica de Doom**
|
||||
- `SPC h k` - **Describir tecla** (¿qué hace esta tecla?)
|
||||
- `SPC h f` - **Describir función**
|
||||
- `SPC h v` - **Describir variable**
|
||||
- `C-h m` - **Mostrar ayuda para el modo actual**
|
||||
|
||||
**Cuando estés perdido:** Presiona `SPC h` y explora. El sistema de ayuda es completo y siempre está disponible.
|
||||
|
||||
**Consejo Profesional:** Si presionas una combinación de teclas y no sabes qué pasó, usa `SPC h l` para ver los comandos recientes.
|
||||
|
||||
---
|
||||
|
||||
## 10. 🔧 **Aprende la Integración con Git (Magit)**
|
||||
|
||||
**Magit es una de las mejores interfaces de Git disponibles en cualquier lugar.**
|
||||
|
||||
- `SPC g g` - Abrir el estado de Magit (¡tu comando principal de Git!)
|
||||
- `s` - Preparar archivos o fragmentos
|
||||
- `c c` - Confirmar cambios
|
||||
- `P P` - Empujar al remoto
|
||||
- `F F` - Traer del remoto
|
||||
|
||||
📋 _Consulta la guía completa: `emacs.magit.cheatsheet.md`_
|
||||
|
||||
**Flujo de trabajo básico:**
|
||||
|
||||
1. `SPC g g` - Ver qué ha cambiado
|
||||
2. `s` en los archivos para prepararlos
|
||||
3. `c c` para confirmar (escribe el mensaje, luego `C-c C-c`)
|
||||
4. `P P` para empujar
|
||||
|
||||
**Por qué es esencial:** Si trabajas con Git, Magit transformará tu flujo de trabajo. Es visual, rápido e increíblemente poderoso.
|
||||
|
||||
---
|
||||
|
||||
## 🎯 **Lista de Verificación de Inicio Rápido**
|
||||
|
||||
Una vez que hayas leído lo anterior, prueba este flujo de trabajo de 5 minutos:
|
||||
|
||||
1. ✅ **Abre Doom:** `emacs` en la terminal
|
||||
2. ✅ **Encuentra un archivo:** `SPC f f` y abre cualquier archivo de texto
|
||||
3. ✅ **Edita algo:** Presiona `i`, escribe texto, presiona `ESC`
|
||||
4. ✅ **Guarda:** `SPC f s`
|
||||
5. ✅ **Abre el explorador de archivos:** `SPC .`
|
||||
6. ✅ **Obtén ayuda:** `SPC h`
|
||||
7. ✅ **Divide la ventana:** `SPC w v`
|
||||
8. ✅ **Cambia de búfer:** `SPC b b`
|
||||
9. ✅ **Busca en el proyecto:** `SPC s p` (si estás en un proyecto)
|
||||
10. ✅ **Sal:** `SPC q q`
|
||||
|
||||
---
|
||||
|
||||
## 📖 **Próximos Pasos: Profundiza**
|
||||
|
||||
Una vez que te sientas cómodo con lo básico anterior:
|
||||
|
||||
1. **Lee las hojas de trucos específicas:**
|
||||
- `emacs.file-explorer.cheatsheet.md` - Gestión de archivos
|
||||
- `emacs.code-completion.cheatsheet.md` - Funciones de codificación
|
||||
- `emacs.magit.cheatsheet.md` - Integración con Git
|
||||
- `emacs.markdown.cheatsheet.md` - Edición de Markdown
|
||||
|
||||
2. **Personaliza gradualmente:** Empieza a ajustar tu `config.el`
|
||||
3. **Aprende tu lenguaje:** Explora las funciones específicas del lenguaje
|
||||
4. **Únete a la comunidad:** Discord de Doom, Reddit, discusiones de GitHub
|
||||
|
||||
---
|
||||
|
||||
## 🆘 **Cuando Estés Atascado**
|
||||
|
||||
**Comandos de emergencia:**
|
||||
|
||||
- `C-g` - Cancelar el comando actual (como presionar ESC)
|
||||
- `SPC q q` - Salir de Emacs
|
||||
- `SPC h d h` - Ayuda de Doom
|
||||
- `:q` - Salir del búfer actual (comando de Vim)
|
||||
|
||||
**Recuerda:** Todo experto fue una vez un principiante. No intentes aprender todo de una vez. Domina estas 10 cosas primero, luego explora gradualmente funciones más avanzadas.
|
||||
|
||||
**El consejo más importante:** Usa `SPC` y explora los menús. ¡Doom está diseñado para ser descubrible - deja que te guíe!
|
||||
|
||||
---
|
||||
|
||||
## 🎓 **Filosofía de Aprendizaje**
|
||||
|
||||
**Empieza con flujos de trabajo, no con funciones:** En lugar de memorizar cada atajo de teclado, aprende flujos de trabajo completos para las tareas que haces a diario (editar archivos, confirmar código, buscar en proyectos).
|
||||
|
||||
**Usa primero los valores predeterminados:** Los valores predeterminados de Doom son excelentes. Resiste la tentación de personalizar todo de inmediato.
|
||||
|
||||
**Una cosa a la vez:** Domina la navegación de archivos antes de sumergirte en funciones de código avanzadas. Construye tus habilidades de forma incremental.
|
||||
|
||||
**Practica a diario:** Usa Doom para el trabajo real, incluso si al principio eres más lento. La memoria muscular se desarrolla con la práctica.
|
||||
|
||||
¡Bienvenido a Doom Emacs! 🚀
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./emacs.getting-started.top10.es.md)
|
||||
|
||||
# Top 10 Things New Doom Emacs Users Should Know
|
||||
|
||||
## 🚀 **Getting Started with Doom Emacs**
|
||||
|
||||
Welcome to Doom Emacs! Here are the 10 most essential things every new user
|
||||
|
|
@ -43,7 +42,7 @@ will show you the options!
|
|||
**Quick workflow:**
|
||||
|
||||
1. Open your project directory in terminal
|
||||
2. Start Emacs: `emacs` (or `emacsclient -c` for GUI, `et` for TTY)
|
||||
2. Start Emacs: `emacs` or `doom run`
|
||||
3. Use `SPC .` to browse files or `SPC SPC` to quickly find files
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,276 +0,0 @@
|
|||
[English](./emacs.magit.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet de Magit para Doom Emacs
|
||||
## 🚀 **¿Qué es Magit?**
|
||||
|
||||
Magit es una herramienta extremadamente poderosa para gestionar tu proyecto de Git.
|
||||
|
||||
- Flujos de trabajo de Git visuales e interactivos
|
||||
- Prepara para confirmación (stage) fragmentos (hunks), líneas o archivos completos con facilidad
|
||||
- Confirma (commit), empuja (push), trae (pull), fusiona (merge), reorganiza (rebase) - todo desde menús intuitivos
|
||||
- Ve el estado de tu repositorio de un vistazo
|
||||
|
||||
## 📋 **Requisitos**
|
||||
|
||||
- Git instalado en tu sistema
|
||||
- Doom Emacs con Magit habilitado (incluido por defecto)
|
||||
- Estar trabajando dentro de un repositorio de Git
|
||||
|
||||
## ⌨️ **Abriendo Magit**
|
||||
|
||||
### **Interfaz Principal de Magit:**
|
||||
|
||||
- `SPC g g` - **Estado de Magit** (¡tu comando principal!)
|
||||
- `SPC g d` - **Despacho de archivos de Magit**
|
||||
- `SPC g f` - **Comandos de archivo de Magit**
|
||||
- `SPC g l` - **Registro (log) de Magit**
|
||||
- `SPC g b` - **Culpar (blame) de Magit**
|
||||
|
||||
## 🎯 **El Búfer de Estado de Magit** (Tu Centro de Mando)
|
||||
|
||||
### **Navegación:**
|
||||
|
||||
- `j/k` o `n/p` - **Moverse arriba/abajo** entre secciones
|
||||
- `TAB` - **Expandir/contraer** la sección bajo el cursor
|
||||
- `M-TAB` - **Expandir/contraer** todas las secciones
|
||||
- `g` - **Refrescar** el búfer de estado
|
||||
|
||||
### **Resumen de Secciones:**
|
||||
|
||||
```
|
||||
Archivos sin seguimiento - Archivos que no están en Git
|
||||
Cambios sin preparar - Archivos modificados no preparados para confirmación
|
||||
Cambios preparados - Archivos listos para confirmar
|
||||
Confirmaciones recientes - Tu historial de confirmaciones
|
||||
Aliijos (Stashes) - Tu trabajo en progreso guardado
|
||||
```
|
||||
|
||||
## 📝 **Preparando y Despreparando (Staging & Unstaging)**
|
||||
|
||||
### **Preparar Archivos:**
|
||||
|
||||
- `s` - **Preparar** archivo/fragmento bajo el cursor
|
||||
- `S` - **Preparar todos** los cambios sin preparar
|
||||
- `i` - **Ignorar** archivo (añadir a .gitignore)
|
||||
|
||||
### **Despreparar Archivos:**
|
||||
|
||||
- `u` - **Despreparar** archivo/fragmento bajo el cursor
|
||||
- `U` - **Despreparar todos** los cambios preparados
|
||||
|
||||
### **Descartar Cambios:**
|
||||
|
||||
- `k` - **Descartar** cambios en el archivo/fragmento bajo el cursor
|
||||
- `K` - **Descartar todos** los cambios en el directorio de trabajo
|
||||
|
||||
### **Preparando Fragmentos y Líneas:**
|
||||
|
||||
- `RET` o `SPC` - **Mostrar diferencias (diff)** del archivo bajo el cursor
|
||||
- En la vista de diferencias:
|
||||
- `s` - **Preparar fragmento** bajo el cursor
|
||||
- `u` - **Despreparar fragmento** bajo el cursor
|
||||
- `k` - **Descartar fragmento** bajo el cursor
|
||||
- `+/-` - **Mostrar más/menos** líneas de contexto
|
||||
|
||||
## 💾 **Confirmando (Committing)**
|
||||
|
||||
### **Crear Confirmaciones:**
|
||||
|
||||
- `c c` - **Confirmar** (abre el búfer de mensaje de confirmación)
|
||||
- `c a` - **Enmendar** la última confirmación
|
||||
- `c e` - **Extender** la última confirmación (sin cambio de mensaje)
|
||||
- `c w` - **Reescribir** el mensaje de la última confirmación
|
||||
- `c f` - **Arreglar (fixup)** una confirmación
|
||||
- `c s` - **Aplastar (squash)** una confirmación
|
||||
|
||||
### **En el Búfer de Mensaje de Confirmación:**
|
||||
|
||||
- `C-c C-c` - **Finalizar confirmación**
|
||||
- `C-c C-k` - **Cancelar confirmación**
|
||||
- `M-p/M-n` - **Mensaje de confirmación anterior/siguiente** del historial
|
||||
|
||||
## 🌿 **Ramas y Cambio (Branching & Switching)**
|
||||
|
||||
### **Operaciones con Ramas:**
|
||||
|
||||
- `b b` - **Cambiar de rama** (checkout)
|
||||
- `b c` - **Crear nueva rama**
|
||||
- `b n` - **Crear rama** desde el HEAD actual
|
||||
- `b s` - **Crear rama** y cambiar a ella
|
||||
- `b r` - **Renombrar rama**
|
||||
- `b k` - **Eliminar rama**
|
||||
|
||||
### **Ramas Remotas:**
|
||||
|
||||
- `b a` - **Establecer rama de seguimiento (upstream)** para la rama actual
|
||||
- `b u` - **Establecer rama de seguimiento** y empujar
|
||||
|
||||
## 🔄 **Operaciones Remotas**
|
||||
|
||||
### **Traer y Actualizar (Fetch & Pull):**
|
||||
|
||||
- `f f` - **Traer** desde el remoto predeterminado
|
||||
- `f a` - **Traer desde todos** los remotos
|
||||
- `F F` - **Actualizar** desde la rama de seguimiento
|
||||
- `F u` - **Actualizar desde la rama de seguimiento** (rebase)
|
||||
|
||||
### **Empujar (Push):**
|
||||
|
||||
- `P P` - **Empujar** a la rama de seguimiento
|
||||
- `P u` - **Empujar y establecer rama de seguimiento**
|
||||
- `P f` - **Forzar empuje** (¡úsalo con cuidado!)
|
||||
- `P t` - **Empujar etiquetas**
|
||||
|
||||
## 📚 **Viendo Historial y Registros**
|
||||
|
||||
### **Vistas de Registro:**
|
||||
|
||||
- `l l` - **Mostrar registro** para la rama actual
|
||||
- `l o` - **Mostrar registro** para otras ramas
|
||||
- `l h` - **Mostrar registro** para HEAD
|
||||
- `l a` - **Mostrar registro** para todas las ramas
|
||||
- `l f` - **Mostrar registro** para el archivo bajo el cursor
|
||||
|
||||
### **En la Vista de Registro:**
|
||||
|
||||
- `RET` - **Mostrar detalles** de la confirmación
|
||||
- `d d` - **Mostrar diferencias** para la confirmación
|
||||
- `c c` - **Crear nueva confirmación**
|
||||
- `r r` - **Revertir confirmación**
|
||||
|
||||
## 🔍 **Diferencias y Comparaciones**
|
||||
|
||||
### **Comandos de Diferencias:**
|
||||
|
||||
- `d d` - **Diferencias del directorio de trabajo** vs preparado
|
||||
- `d s` - **Diferencias de lo preparado** vs HEAD
|
||||
- `d u` - **Diferencias de los cambios sin preparar**
|
||||
- `d r` - **Diferencias de un rango** entre confirmaciones
|
||||
|
||||
### **En las Vistas de Diferencias:**
|
||||
|
||||
- `j/k` - **Navegar** entre fragmentos
|
||||
- `n/p` - **Archivo siguiente/anterior**
|
||||
- `TAB` - **Alternar** visibilidad de la sección de diferencias
|
||||
- `+/-` - **Aumentar/disminuir** líneas de contexto
|
||||
|
||||
## 🔧 **Reorganizando y Fusionando (Rebasing & Merging)**
|
||||
|
||||
### **Fusionar:**
|
||||
|
||||
- `m m` - **Fusionar** rama
|
||||
- `m a` - **Abortar fusión**
|
||||
- `m c` - **Continuar fusión**
|
||||
|
||||
### **Reorganizar:**
|
||||
|
||||
- `r i` - **Reorganización interactiva**
|
||||
- `r r` - **Reorganizar** rama
|
||||
- `r a` - **Abortar reorganización**
|
||||
- `r c` - **Continuar reorganización**
|
||||
|
||||
### **Durante la Reorganización Interactiva:**
|
||||
|
||||
- `j/k` - **Moverse** entre confirmaciones
|
||||
- `p` - **Elegir (pick)** confirmación (predeterminado)
|
||||
- `r` - **Reescribir (reword)** mensaje de confirmación
|
||||
- `e` - **Editar (edit)** confirmación
|
||||
- `s` - **Aplastar (squash)** confirmación
|
||||
- `f` - **Arreglar (fixup)** confirmación
|
||||
- `d` - **Descartar (drop)** confirmación
|
||||
|
||||
## 📦 **Aliijos (Stashing)**
|
||||
|
||||
### **Operaciones con Aliijos:**
|
||||
|
||||
- `z z` - **Alijar** los cambios actuales
|
||||
- `z i` - **Alijar** con mensaje
|
||||
- `z a` - **Aplicar alijo**
|
||||
- `z p` - **Sacar alijo** (aplicar y eliminar)
|
||||
- `z k` - **Descartar alijo**
|
||||
- `z l` - **Listar alijos**
|
||||
|
||||
## 🏷️ **Etiquetas (Tags)**
|
||||
|
||||
### **Operaciones con Etiquetas:**
|
||||
|
||||
- `t t` - **Crear etiqueta**
|
||||
- `t a` - **Crear etiqueta anotada**
|
||||
- `t k` - **Eliminar etiqueta**
|
||||
- `t p` - **Empujar etiqueta**
|
||||
|
||||
## ⚡ **Consejos Profesionales y Flujos de Trabajo**
|
||||
|
||||
### **Flujo de Trabajo Diario de Git:**
|
||||
|
||||
1. `SPC g g` - **Abrir estado de Magit**
|
||||
2. Revisar cambios, preparar con `s`
|
||||
3. `c c` - **Confirmar cambios**
|
||||
4. `P P` - **Empujar al remoto**
|
||||
|
||||
### **Trucos de Usuario Avanzado:**
|
||||
|
||||
- Usa `M-x magit-find-file` para abrir rápidamente archivos del historial de Git
|
||||
- `SPC g f s` - **Preparar archivo actual** sin abrir Magit
|
||||
- `SPC g f u` - **Despreparar archivo actual**
|
||||
- `SPC g f d` - **Mostrar diferencias del archivo**
|
||||
|
||||
### **Granularidad de la Preparación:**
|
||||
|
||||
- Prepara archivos completos con `s` en el búfer de estado
|
||||
- Prepara fragmentos individuales entrando en la vista de diferencias (`RET`) y luego `s`
|
||||
- Prepara líneas individuales seleccionando una región en la diferencia y luego `s`
|
||||
|
||||
### **Buenas Prácticas de Confirmación:**
|
||||
|
||||
- Usa `c c` para confirmaciones normales
|
||||
- Usa `c a` para arreglar tu última confirmación
|
||||
- Usa `c f` para crear confirmaciones de arreglo para una reorganización interactiva posterior
|
||||
|
||||
## 🔧 **Solución de Problemas**
|
||||
|
||||
### **Problemas Comunes:**
|
||||
|
||||
- **¿Magit no se abre?** Asegúrate de estar en un repositorio de Git
|
||||
- **¿Rendimiento lento?** Prueba `M-x magit-refresh` o reinicia Emacs
|
||||
- **¿Conflictos de fusión?** Magit resalta los conflictos - resuélvelos y usa `m c`
|
||||
|
||||
### **Obteniendo Ayuda:**
|
||||
|
||||
- `?` - **Mostrar ayuda** en cualquier búfer de Magit
|
||||
- `C-h m` - **Mostrar ayuda del modo**
|
||||
- `SPC h d m magit` - **Documentación completa de Magit**
|
||||
|
||||
## 🚀 **Flujo de Trabajo de Inicio Rápido**
|
||||
|
||||
1. **Navega a tu repositorio de Git** en Doom Emacs
|
||||
2. **Presiona `SPC g g`** - Abre el estado de Magit
|
||||
3. **Prepara archivos** con `s`, revisa las diferencias con `RET`
|
||||
4. **Confirma** con `c c`, escribe el mensaje, finaliza con `C-c C-c`
|
||||
5. **Empuja** con `P P`
|
||||
|
||||
## 📚 **Resumen de Atajos Esenciales**
|
||||
|
||||
| Acción | Tecla | Descripción |
|
||||
| --------- | --------- | -------------------- |
|
||||
| Estado | `SPC g g` | Abrir estado de Magit|
|
||||
| Preparar | `s` | Preparar archivo/fragmento |
|
||||
| Despreparar| `u` | Despreparar archivo/fragmento |
|
||||
| Confirmar | `c c` | Crear confirmación |
|
||||
| Empujar | `P P` | Empujar a la rama de seguimiento |
|
||||
| Actualizar| `F F` | Actualizar desde la rama de seguimiento |
|
||||
| Rama | `b b` | Cambiar de rama |
|
||||
| Registro | `l l` | Mostrar registro |
|
||||
| Diferencias| `d d` | Mostrar diferencias |
|
||||
| Alijar | `z z` | Alijar cambios |
|
||||
| Ayuda | `?` | Mostrar ayuda contextual |
|
||||
|
||||
## 🎉 **Por Qué Magit es Increíble**
|
||||
|
||||
- **Visual**: Ve todo el estado de tu repositorio de un vistazo
|
||||
- **Interactivo**: Prepara fragmentos, líneas o archivos con simples pulsaciones de teclas
|
||||
- **Rápido**: Navega por las operaciones de Git más rápido que cualquier CLI
|
||||
- **Potente**: Accede a todas las funciones de Git a través de menús intuitivos
|
||||
- **Integrado**: Funciona perfectamente con Doom Emacs y el modo Evil
|
||||
|
||||
**Consejo Profesional**: Una vez que aprendas Magit, ¡nunca más querrás usar Git desde la línea de comandos! 🚀
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./emacs.magit.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs Magit Cheatsheet
|
||||
|
||||
## 🚀 **What is Magit?**
|
||||
|
||||
Magit is an extremely powerful tool for managing your Git project
|
||||
|
|
|
|||
|
|
@ -1,86 +0,0 @@
|
|||
[English](./emacs.markdown.cheatsheet.md) | Español
|
||||
|
||||
# Cheatsheet de Markdown para Doom Emacs
|
||||
## 📝 **Primeros Pasos**
|
||||
- Abre cualquier archivo `.md` - Doom habilita automáticamente `markdown-mode`
|
||||
- Obtendrás resaltado de sintaxis, sangría adecuada y características específicas de markdown
|
||||
|
||||
## ⌨️ **Comandos Clave de Markdown** (con atajos de Evil/Vim)
|
||||
|
||||
### **Formato de Texto:**
|
||||
- `SPC m b` - Texto en **negrita**
|
||||
- `SPC m i` - Texto en *cursiva*
|
||||
- `SPC m c` - `Código en línea`
|
||||
- `SPC m C` - Bloque de código
|
||||
- `SPC m s` - ~~Tachado~~
|
||||
|
||||
### **Encabezados:**
|
||||
- `SPC m h` - Insertar encabezado (solicita el nivel 1-6)
|
||||
- `SPC m H` - Insertar encabezado con estilo de subrayado
|
||||
|
||||
### **Listas:**
|
||||
- `SPC m l` - Insertar elemento de lista no ordenada
|
||||
- `SPC m L` - Insertar elemento de lista ordenada
|
||||
|
||||
### **Enlaces e Imágenes:**
|
||||
- `SPC m l l` - Insertar enlace
|
||||
- `SPC m l i` - Insertar imagen
|
||||
- `SPC m l u` - Insertar URL
|
||||
|
||||
### **Navegación:**
|
||||
- `]]` - Siguiente encabezado
|
||||
- `[[` - Encabezado anterior
|
||||
- `SPC m o` - Abrir esquema/tabla de contenidos
|
||||
|
||||
## 👁️ **Vista Previa en Vivo**
|
||||
- `SPC m p` - Vista previa en el navegador
|
||||
- `SPC m P` - Exportar a HTML
|
||||
|
||||
## 📊 **Tablas**
|
||||
- `SPC m t` - Comandos de tabla
|
||||
- `SPC m t t` - Insertar tabla
|
||||
- `TAB` - Navegar entre celdas
|
||||
- `S-TAB` - Navegar hacia atrás entre celdas
|
||||
|
||||
## 🎯 **Atajos Útiles de Evil en Markdown**
|
||||
- `TAB` - Ciclar el plegado de encabezados
|
||||
- `S-TAB` - Ciclar el plegado globalmente
|
||||
- `RET` - Seguir enlaces
|
||||
- `M-RET` - Insertar nuevo elemento de lista
|
||||
|
||||
## 🧪 **Ejemplos de Prueba**
|
||||
|
||||
### Formato de Muestra
|
||||
Este es **texto en negrita** y este es *texto en cursiva*.
|
||||
|
||||
Aquí hay algo de `código en línea` y un bloque de código:
|
||||
|
||||
```bash
|
||||
# Ejemplo de bloque de código
|
||||
echo "¡Hola desde markdown!"
|
||||
```
|
||||
|
||||
### Lista de Muestra
|
||||
- [ ] Elemento de casilla de verificación 1
|
||||
- [x] Casilla de verificación completada
|
||||
- Punto de viñeta normal
|
||||
|
||||
### Tabla de Muestra
|
||||
| Característica | Atajo | Descripción |
|
||||
|----------------|---------|--------------------------|
|
||||
| Negrita | SPC m b | Poner texto en negrita |
|
||||
| Cursiva | SPC m i | Poner texto en cursiva |
|
||||
| Vista Previa | SPC m p | Vista previa en el navegador |
|
||||
|
||||
## 🚀 **Consejos Profesionales**
|
||||
1. Usa `SPC m o` para obtener una vista de esquema para la navegación
|
||||
2. `TAB` en los encabezados para plegar/desplegar secciones
|
||||
3. `RET` en los enlaces para seguirlos
|
||||
4. Usa `SPC m p` para previsualizar tu markdown en un navegador
|
||||
5. Crea listas de verificación con la sintaxis `- [ ]`
|
||||
|
||||
## 📚 **Referencia Rápida**
|
||||
- Todos los comandos de markdown comienzan con `SPC m`
|
||||
- Usa `SPC m ?` o `C-h m` para ver todos los comandos disponibles
|
||||
- Navegación entre encabezados: `]]` (siguiente) y `[[` (anterior)
|
||||
- Alternar plegado: `TAB` (local) y `S-TAB` (global)
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./emacs.markdown.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs Markdown Cheatsheet
|
||||
|
||||
## 📝 **Getting Started**
|
||||
- Open any `.md` file - Doom automatically enables `markdown-mode`
|
||||
- You'll get syntax highlighting, proper indentation, and markdown-specific features
|
||||
|
|
|
|||
|
|
@ -1,45 +0,0 @@
|
|||
Español | [English](./emacs.nix.cheatsheet.md)
|
||||
|
||||
# Guía Rápida: Doom Emacs + Nix
|
||||
|
||||
Esta guía enumera los comandos de Nix y los atajos configurados en tu Doom Emacs.
|
||||
|
||||
## Requisitos
|
||||
- Módulo de Doom habilitado: `(nix +tree-sitter +lsp)` en `~/.doom.d/init.el`
|
||||
- Paquetes instalados (en `~/.doom.d/packages.el`): `nix`, `nix-update`, `nixos-options`
|
||||
- Herramientas Nix disponibles en el sistema: `nix`, `nixfmt` (o tu formateador preferido)
|
||||
- Opcional pero recomendado: `nil` (LSP de Nix)
|
||||
|
||||
## Convenciones de teclas (Leader)
|
||||
- `SPC` = tecla líder de Doom
|
||||
- `SPC m` = menú del modo mayor (contextual al buffer actual, p. ej., buffers Nix)
|
||||
|
||||
## Atajos para Nix
|
||||
- `SPC m f` → `nix-format-buffer` — Formatea el buffer Nix actual (usa `nixfmt` por defecto)
|
||||
- `SPC m b` → `nix-build` — Construye la derivación/expresión actual
|
||||
- `SPC m s` → `nix-shell` — Abre un `nix-shell`
|
||||
- `SPC m u` → `nix-unpack` — Desempaqueta una fuente de Nix
|
||||
- `SPC m r` → `nix-repl-show` — Muestra información de símbolo en el REPL de Nix
|
||||
- `SPC m U` → `nix-update-fetch` — Actualiza fetchers/hashes en expresiones Nix
|
||||
- `SPC m o` → `+nix/lookup-option` — Busca una opción de NixOS (requiere `:tools lookup` y `nixos-options`)
|
||||
|
||||
## Referencia de comandos
|
||||
- `nix-format-buffer`: Formatea el buffer usando `nixfmt`.
|
||||
- Configuración: `(setq nix-nixfmt-bin "nixfmt")`.
|
||||
- Consejo: ¿Prefieres otro formateador? Instálalo y ajusta `nix-nixfmt-bin` (p. ej., `"alejandra"` o `"nixpkgs-fmt"`).
|
||||
- `nix-build`: Inicia una construcción para el archivo/contexto actual.
|
||||
- `nix-shell`: Abre un shell de desarrollo derivado de la expresión Nix actual.
|
||||
- `nix-unpack`: Desempaqueta la fuente de una derivación (útil para inspeccionar fuentes).
|
||||
- `nix-repl-show`: Muestra información de símbolo desde una sesión del REPL de Nix.
|
||||
- `nix-update-fetch`: Actualiza atributos de fetcher (rev, sha256, etc.).
|
||||
- `+nix/lookup-option`: Salta a la documentación de una opción de NixOS usando la integración con `nixos-options`.
|
||||
|
||||
## Consejos
|
||||
- Asegúrate de estar editando un archivo `.nix` para que `SPC m` (modo mayor) esté disponible.
|
||||
- Para funciones LSP (documentación, autocompletado, diagnósticos), verifica que el servidor `nil` esté instalado y activo.
|
||||
|
||||
## Solución de problemas
|
||||
- ¿Comandos no disponibles en Emacs? Ejecuta `~/.emacs.d/bin/doom sync` y reinicia Emacs.
|
||||
- ¿El formateador no funciona? Verifica que `nixfmt` (u otro) esté en tu PATH y que `nix-nixfmt-bin` coincida con su nombre.
|
||||
- ¿La búsqueda de opciones no funciona? Asegúrate de tener `nixos-options` instalado y que `:tools lookup` esté habilitado en Doom.
|
||||
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
English | [Español](./emacs.nix.cheatsheet.es.md)
|
||||
|
||||
# Doom Emacs + Nix Cheatsheet
|
||||
|
||||
This guide lists the Nix commands and keybindings configured in your Doom Emacs.
|
||||
|
||||
## Requirements
|
||||
- Doom module enabled: `(nix +tree-sitter +lsp)` in `~/.doom.d/init.el`
|
||||
- Packages installed (via `~/.doom.d/packages.el`): `nix`, `nix-update`, `nixos-options`
|
||||
- Nix tooling available on system: `nix`, `nixfmt` (or your preferred formatter)
|
||||
- Optional but recommended: `nil` (Nix LSP)
|
||||
|
||||
## Leader key conventions
|
||||
- `SPC` = Doom leader
|
||||
- `SPC m` = Major mode menu (contextual to current buffer, e.g., Nix buffers)
|
||||
|
||||
## Nix keybindings
|
||||
- `SPC m f` → `nix-format-buffer` — Format current Nix buffer (uses `nixfmt` by default)
|
||||
- `SPC m b` → `nix-build` — Build the current derivation / expression
|
||||
- `SPC m s` → `nix-shell` — Open a `nix-shell`
|
||||
- `SPC m u` → `nix-unpack` — Unpack a Nix source
|
||||
- `SPC m r` → `nix-repl-show` — Show symbol info in Nix REPL
|
||||
- `SPC m U` → `nix-update-fetch` — Update fetchers/hashes in Nix expressions
|
||||
- `SPC m o` → `+nix/lookup-option` — Lookup NixOS option (requires `:tools lookup` and `nixos-options`)
|
||||
|
||||
## Command reference
|
||||
- `nix-format-buffer`: Formats the current buffer using `nixfmt`.
|
||||
- Configured via `(setq nix-nixfmt-bin "nixfmt")`.
|
||||
- Tip: Prefer a different formatter? Install it and set `nix-nixfmt-bin` accordingly (e.g., `"alejandra"` or `"nixpkgs-fmt"`).
|
||||
- `nix-build`: Triggers a build for the current file/context.
|
||||
- `nix-shell`: Opens a development shell derived from the current Nix expression.
|
||||
- `nix-unpack`: Unpacks the source for a derivation (useful to inspect sources).
|
||||
- `nix-repl-show`: Displays symbol info from a Nix REPL session.
|
||||
- `nix-update-fetch`: Updates fetcher attributes (rev, sha256, etc.).
|
||||
- `+nix/lookup-option`: Jumps to documentation for a NixOS option using `nixos-options` integration.
|
||||
|
||||
## Tips
|
||||
- Ensure you are editing a `.nix` file so the `SPC m` (major mode) bindings are available.
|
||||
- For LSP features (hover docs, completion, diagnostics), make sure the `nil` language server is installed and running.
|
||||
|
||||
## Troubleshooting
|
||||
- Commands not found in Emacs? Run `~/.emacs.d/bin/doom sync`, then restart Emacs.
|
||||
- Formatter not working? Verify `nixfmt` (or chosen formatter) is on your PATH and `nix-nixfmt-bin` matches its name.
|
||||
- Option lookup not working? Ensure `nixos-options` is installed and Doom’s `:tools lookup` is enabled.
|
||||
|
||||
|
|
@ -1,123 +0,0 @@
|
|||
[English](./ghostty.cheatsheet.md) | Español
|
||||
|
||||
# Ghostty en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/ghostty.nix
|
||||
|
||||
- Programa
|
||||
- Ghostty habilitado con el paquete de Nix: pkgs.ghostty
|
||||
- Integraciones de shell: Fish, Zsh, Bash
|
||||
- clearDefaultKeybinds = true (todos los atajos se definen explícitamente a continuación)
|
||||
|
||||
- Apariencia
|
||||
- Título: ZaneyOS-GhosTTY
|
||||
- TERM: xterm-256color
|
||||
- Tema: oscuro: catppuccin-mocha; claro: catppuccin-mocha
|
||||
- Tema de la ventana: oscuro
|
||||
- Fuente: Maple Mono NF, tamaño 12
|
||||
- Ajuste de altura de celda: +10%
|
||||
- Opacidad del fondo: 1.00 (opaco)
|
||||
- Radio de desenfoque del fondo: 60
|
||||
- Estilo del cursor: barra
|
||||
- Colores de selección: fondo #2d3f76, frente #c8d3f5
|
||||
- Opacidad de división sin foco: 0.5
|
||||
- Posición de terminal rápida: centro
|
||||
|
||||
- Ventana y Comportamiento
|
||||
- Tamaño de ventana predeterminado: 110x32 (columnas x filas)
|
||||
- Confirmar cierre de superficie: false
|
||||
- Esperar después del comando: false
|
||||
- Integración de shell: detectar; características: cursor, sudo
|
||||
- Estado de guardado de ventana: siempre
|
||||
- Instancia única de GTK: true
|
||||
- Ratón: ocultar al escribir: true
|
||||
|
||||
- Atajos de Teclado (esquema de prefijo Super/Alt)
|
||||
- El acorde personalizado tipo líder usa Alt+s y luego la tecla, ej. alt+s>c
|
||||
- Portapapeles estándar y tamaño de fuente con acordes Ctrl+Shift
|
||||
- Pestañas, divisiones, navegación, zoom, ecualizar definidos a continuación
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado
|
||||
|
||||
Portapapeles
|
||||
- Ctrl+Shift+C — copy_to_clipboard
|
||||
- Ctrl+Shift+V — paste_from_clipboard
|
||||
|
||||
Tamaño de fuente
|
||||
- Ctrl+Shift+= (más) — increase_font_size:1
|
||||
- Ctrl+Shift+- (menos) — decrease_font_size:1
|
||||
- Ctrl+Shift+0 — reset_font_size
|
||||
|
||||
Sesión
|
||||
- Alt+s r — reload_config
|
||||
- Alt+s x — close_surface
|
||||
- Alt+s n — new_window
|
||||
|
||||
Pestañas
|
||||
- Alt+s c — new_tab
|
||||
- Alt+s Shift+L — next_tab
|
||||
- Alt+s Shift+H — previous_tab
|
||||
- Alt+s , — move_tab:-1
|
||||
- Alt+s . — move_tab:+1
|
||||
- Alt+s 1..9 — goto_tab:N
|
||||
|
||||
Divisiones
|
||||
- Alt+s \ — new_split:right
|
||||
- Alt+s - — new_split:down
|
||||
- Alt+s j — goto_split:bottom
|
||||
- Alt+s k — goto_split:top
|
||||
- Alt+s h — goto_split:left
|
||||
- Alt+s l — goto_split:right
|
||||
- Alt+s z — toggle_split_zoom
|
||||
- Alt+s e — equalize_splits
|
||||
|
||||
Notas
|
||||
- clearDefaultKeybinds = true significa que solo los anteriores están activos.
|
||||
- La notación Alt+s> denota un acorde de dos teclas: mantén presionado Alt, presiona s, luego la siguiente tecla.
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ Referencia de Opciones Predeterminadas (según configuración)
|
||||
|
||||
Terminal y ventana
|
||||
- term: xterm-256color
|
||||
- window-width: 110
|
||||
- window-height: 32
|
||||
- window-theme: dark
|
||||
- window-save-state: always
|
||||
- gtk-single-instance: true
|
||||
- quick-terminal-position: center
|
||||
|
||||
Apariencia
|
||||
- theme: catppuccin-mocha (oscuro y claro mapeados a mocha)
|
||||
- font-family: Maple Mono NF
|
||||
- font-size: 12
|
||||
- adjust-cell-height: 10%
|
||||
- background-opacity: 1.00
|
||||
- background-blur-radius: 60
|
||||
- selection-background: #2d3f76
|
||||
- selection-foreground: #c8d3f5
|
||||
- cursor-style: bar
|
||||
- unfocused-split-opacity: 0.5
|
||||
|
||||
Comportamiento
|
||||
- confirm-close-surface: false
|
||||
- mouse-hide-while-typing: true
|
||||
- wait-after-command: false
|
||||
- shell-integration: detect
|
||||
- shell-integration-features: cursor,sudo
|
||||
|
||||
Integraciones
|
||||
- Integraciones de Fish, Zsh, Bash habilitadas
|
||||
|
||||
---
|
||||
|
||||
## 📝 Notas de Estilo/Formato
|
||||
|
||||
Este cheatsheet refleja el estilo de tus cheatsheets de Emacs:
|
||||
- Encabezados de sección claros con emoji
|
||||
- Listas con viñetas con descripciones concisas
|
||||
- Bloques cortos de "Notas" para comportamientos especiales
|
||||
|
||||
Si lo deseas, puedo enlazar esto desde un índice central o agregar más consejos de Ghostty (temas, indicadores de rendimiento, solución de problemas).
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./ghostty.cheatsheet.es.md)
|
||||
# Ghostty on ddubsOS — Summary & Cheatsheet
|
||||
|
||||
# Ghostty on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/ghostty.nix
|
||||
|
||||
- Program
|
||||
|
|
@ -9,7 +8,7 @@ English | [Español](./ghostty.cheatsheet.es.md)
|
|||
- clearDefaultKeybinds = true (all bindings are explicitly defined below)
|
||||
|
||||
- Appearance
|
||||
- Title: ZaneyOS-GhosTTY
|
||||
- Title: ddubsOS-GhosTTY
|
||||
- TERM: xterm-256color
|
||||
- Theme: dark: catppuccin-mocha; light: catppuccin-mocha
|
||||
- Window theme: dark
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Preferido (específico de ZaneyOS):
|
|||
- Nota: el alias `fr` está obsoleto.
|
||||
|
||||
Método manual de respaldo (funciona en cualquier instalación):
|
||||
- Desde la raíz del repo, reemplaza PROFILE por tu perfil (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- Desde la raíz del repo, reemplaza PROFILE por tu perfil (intel, nvidia, nvidia-laptop, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
---
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Preferred (ZaneyOS-specific):
|
|||
- Note: The `fr` alias is deprecated.
|
||||
|
||||
Manual backup method (works anywhere):
|
||||
- From the repo root, replace PROFILE with your profile (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- From the repo root, replace PROFILE with your profile (intel, nvidia, nvidia-laptop, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
---
|
||||
|
|
@ -161,4 +161,3 @@ Example: Float Thunar always
|
|||
- Make one change at a time and rebuild to validate.
|
||||
- Keep a terminal open during experiments in case your launcher keybind changes.
|
||||
- If something breaks, reboot and choose a previous generation in the boot menu.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,213 +0,0 @@
|
|||
# Cómo tematizar o añadir Waybars en ZaneyOS
|
||||
|
||||
Esta guía muestra cómo ZaneyOS selecciona y configura Waybar, cómo añadir tu propio módulo de Waybar y cómo personalizar fuentes, tamaños, colores, iconos, widgets y layout. También indica dónde colocar scripts y una nota crítica sobre git add para evitar fallos de rebuild.
|
||||
|
||||
## Módulos Waybar disponibles
|
||||
Guardados en modules/home/waybar/:
|
||||
- waybar-tony.nix
|
||||
- waybar-ddubs.nix
|
||||
- waybar-ddubsos-v1.nix
|
||||
- waybar-dwm.nix
|
||||
- waybar-curved.nix
|
||||
- waybar-simple.nix
|
||||
- waybar-ddubs-2.nix
|
||||
- waybar-mecha.nix
|
||||
- waybar-dwm2.nix
|
||||
- waybar-nekodyke.nix
|
||||
- Jerry-waybar.nix
|
||||
|
||||
## Dónde seleccionas tu Waybar
|
||||
Selecciona el módulo en hosts/default/variables.nix vía waybarChoice. Ejemplo (extracto real):
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=73
|
||||
# Set Waybar
|
||||
# Includes alternates such as:
|
||||
# Comment out the current choice and uncomment the one you want
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/Jerry-waybars.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Notas:
|
||||
- Asegúrate de que la ruta coincide con un archivo real bajo modules/home/waybar/. Por ejemplo, la lista incluye Jerry-waybar.nix (singular) pero el comentario muestra Jerry-waybars.nix (plural). Usa el nombre correcto para evitar errores de build.
|
||||
|
||||
## CRÍTICO: usa git add o fallará el rebuild
|
||||
Cuando añadas un archivo Waybar o scripts que use, debes prepararlos con git antes de reconstruir, o Nix no verá esas rutas y fallará la build.
|
||||
- Ejemplo:
|
||||
```bash path=null start=null
|
||||
# Añade tu módulo y scripts
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/my-widget.sh
|
||||
# Commit (opcional pero recomendado)
|
||||
git commit -m "Add my Waybar module and widget script"
|
||||
```
|
||||
|
||||
## Cómo están estructurados los módulos Waybar aquí
|
||||
- Exponen un módulo de Home Manager que define programs.waybar.settings (config estilo JSON) y programs.waybar.style (CSS).
|
||||
- Copian scripts auxiliares a ~/.config/waybar/scripts desde un directorio compartido scripts.
|
||||
|
||||
Ejemplo: waybar-tony.nix copia scripts y define config y CSS de Waybar:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=15
|
||||
# Configure & Theme Waybar (Tony)
|
||||
home.file = builtins.listToAttrs (map
|
||||
(name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = {
|
||||
source = "${scriptsDir}/${name}";
|
||||
executable = true;
|
||||
};
|
||||
})
|
||||
scripts);
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 30;
|
||||
spacing = 4;
|
||||
modules-left = [
|
||||
"custom/startmenu" "hyprland/workspaces" "custom/sep" "tray" "custom/sep" "hyprland/window" "custom/sep"
|
||||
];
|
||||
modules-center = [ "custom/sep" "idle_inhibitor" "custom/notification" "custom/sep" ];
|
||||
modules-right = [ "custom/sep" "pulseaudio" "network" "cpu" "memory" "clock" "custom/sep" "custom/power" ];
|
||||
# ... component configs ...
|
||||
}
|
||||
];
|
||||
style = concatStrings [
|
||||
''
|
||||
@define-color bg #1a1b26;
|
||||
@define-color fg #a9b1d6;
|
||||
* { font-family: "JetBrainsMono Nerd Font", monospace; font-size: 16px; font-weight: bold; }
|
||||
window#waybar { background-color: @bg; color: @fg; }
|
||||
#workspaces button { padding: 0 6px; color: @cyn; }
|
||||
#clock { color: @cyn; border-bottom: 4px solid @cyn; }
|
||||
#pulseaudio { color: @blu; border-bottom: 4px solid @blu; }
|
||||
#idle_inhibitor.activated { color: @grn; border-bottom: 4px solid @grn; }
|
||||
''
|
||||
];
|
||||
};
|
||||
```
|
||||
Puntos clave:
|
||||
- El layout se controla con modules-left, modules-center y modules-right.
|
||||
- La configuración de cada módulo (p. ej., hyprland/workspaces, pulseaudio) va en el mismo objeto.
|
||||
- El CSS controla tipografías, tamaños, colores, bordes y espaciado.
|
||||
- scriptsDir = ./scripts relativo al archivo; se instalan en ~/.config/waybar/scripts y se marcan como ejecutables.
|
||||
|
||||
## Añadir tu propio Waybar (paso a paso)
|
||||
1) Copia un módulo como base:
|
||||
```bash path=null start=null
|
||||
cp modules/home/waybar/waybar-simple.nix modules/home/waybar/my-waybar.nix
|
||||
```
|
||||
2) (Opcional) Añade scripts auxiliares en modules/home/waybar/scripts/.
|
||||
3) Apunta variables.nix a tu módulo:
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=81
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Cámbialo a:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) Prepara los archivos antes de reconstruir (crítico):
|
||||
```bash path=null start=null
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/*
|
||||
```
|
||||
5) Reconstruye como siempre.
|
||||
|
||||
## Ejemplos de personalización
|
||||
1) Cambiar tipografía y tamaño (CSS)
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=207
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
```
|
||||
2) Mover widgets izquierda/centro/derecha
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-simple.nix start=28
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-left = [ "custom/startmenu" "custom/arrow6" "pulseaudio" "cpu" "memory" "idle_inhibitor" "custom/arrow7" "hyprland/window" ];
|
||||
modules-right = [ "custom/arrow4" "custom/hyprbindings" "custom/arrow3" "custom/notification" "custom/arrow3" "custom/power" "battery" "custom/arrow2" "tray" "custom/arrow1" "clock" ];
|
||||
```
|
||||
3) Cambiar colores y estilos de botones
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=218
|
||||
#workspaces button {
|
||||
padding: 0 6px;
|
||||
color: @cyn;
|
||||
background: transparent;
|
||||
border-bottom: 3px solid @bg;
|
||||
}
|
||||
#workspaces button.active {
|
||||
color: @cyn;
|
||||
border-bottom: 3px solid @mag;
|
||||
}
|
||||
```
|
||||
4) Añadir iconos o cambiar etiquetas
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=104
|
||||
"pulseaudio" = {
|
||||
format = "{icon} {volume}% {format_source}";
|
||||
format-icons = {
|
||||
headphone = "";
|
||||
default = [ "" "" "" ];
|
||||
};
|
||||
};
|
||||
```
|
||||
5) Añadir un widget que ejecute un script
|
||||
```nix path=null start=null
|
||||
"custom/mywidget" = {
|
||||
exec = "~/.config/waybar/scripts/my-widget.sh";
|
||||
return-type = "json";
|
||||
interval = 5;
|
||||
format = "{}";
|
||||
on-click = "kitty -e my-tool";
|
||||
};
|
||||
```
|
||||
6) Hacer la barra flotante o acoplada
|
||||
```nix path=null start=null
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
mode = "overlay";
|
||||
# ...
|
||||
}
|
||||
];
|
||||
```
|
||||
```css path=null start=null
|
||||
window#waybar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
margin: 6px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
```
|
||||
|
||||
## Dónde guardar scripts usados por widgets
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=14
|
||||
home.file = builtins.listToAttrs (map (name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = { source = "${scriptsDir}/${name}"; executable = true; };
|
||||
}) scripts);
|
||||
```
|
||||
Copia todo desde ./scripts a ~/.config/waybar/scripts y marca ejecutable.
|
||||
|
||||
## Solución de problemas
|
||||
- Fallo de ruta: asegúrate de hacer git add de los archivos nuevos.
|
||||
- Nombre incorrecto en variables.nix: usa exactamente el nombre real.
|
||||
- Iconos faltan: instala una Nerd Font (p. ej., JetBrainsMono Nerd Font) y selecciónala en CSS.
|
||||
- Widgets faltan: confírmalos en modules-left/center/right y su bloque de config.
|
||||
|
||||
## Receta rápida
|
||||
1) Crea modules/home/waybar/my-waybar.nix (copia uno y edítalo)
|
||||
2) Añade scripts en modules/home/waybar/scripts/
|
||||
3) En variables.nix:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) git add de los archivos
|
||||
5) Reconstruye.
|
||||
|
|
@ -1,254 +0,0 @@
|
|||
# How to theme or add Waybars in ZaneyOS
|
||||
|
||||
This guide shows how ZaneyOS selects and configures Waybar, how to add your own Waybar module, and how to customize fonts, sizes, colors, icons, widgets, and layout. It also calls out where to put scripts and a critical note about git add to avoid rebuild failures.
|
||||
|
||||
|
||||
## Current Waybar modules available
|
||||
Saved in modules/home/waybar/:
|
||||
- waybar-tony.nix
|
||||
- waybar-ddubs.nix
|
||||
- waybar-ddubsos-v1.nix
|
||||
- waybar-dwm.nix
|
||||
- waybar-curved.nix
|
||||
- waybar-simple.nix
|
||||
- waybar-ddubs-2.nix
|
||||
- waybar-mecha.nix
|
||||
- waybar-dwm2.nix
|
||||
- waybar-nekodyke.nix
|
||||
- Jerry-waybar.nix
|
||||
- waybar-TheBlackDon.nix
|
||||
|
||||
|
||||
## Where you select your Waybar
|
||||
Select the Waybar module in hosts/default/variables.nix via waybarChoice. Example (actual excerpt):
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=73
|
||||
# Set Waybar
|
||||
# Includes alternates such as:
|
||||
# Comment out the current choice and uncomment the one you want
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/Jerry-waybars.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Notes:
|
||||
- Ensure the file path matches an actual file name under modules/home/waybar/. For example, the list includes Jerry-waybar.nix (singular), but the commented example shows Jerry-waybars.nix (plural). Use the actual filename to avoid build errors.
|
||||
|
||||
|
||||
## CRITICAL: git add or rebuild will fail
|
||||
When you add a new Waybar file or any scripts it uses, you must stage them in git before rebuilding, or Nix will not see those paths and the build will fail.
|
||||
- Example:
|
||||
```bash path=null start=null
|
||||
# Add your new module and scripts
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/my-widget.sh
|
||||
# Commit (optional but recommended)
|
||||
git commit -m "Add my Waybar module and widget script"
|
||||
```
|
||||
|
||||
|
||||
## How Waybar modules are structured here
|
||||
Most Waybar modules follow this pattern:
|
||||
- They expose a Home Manager module that sets programs.waybar.settings (JSON-like config) and programs.waybar.style (CSS).
|
||||
- They also copy any helper scripts to ~/.config/waybar/scripts via a shared scripts directory.
|
||||
|
||||
Example: waybar-tony.nix copies scripts and sets Waybar config and CSS:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=15
|
||||
# Configure & Theme Waybar (Tony)
|
||||
home.file = builtins.listToAttrs (map
|
||||
(name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = {
|
||||
source = "${scriptsDir}/${name}";
|
||||
executable = true;
|
||||
};
|
||||
})
|
||||
scripts);
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 30;
|
||||
spacing = 4;
|
||||
modules-left = [
|
||||
"custom/startmenu" "hyprland/workspaces" "custom/sep" "tray" "custom/sep" "hyprland/window" "custom/sep"
|
||||
];
|
||||
modules-center = [ "custom/sep" "idle_inhibitor" "custom/notification" "custom/sep" ];
|
||||
modules-right = [ "custom/sep" "pulseaudio" "network" "cpu" "memory" "clock" "custom/sep" "custom/power" ];
|
||||
# ... component configs ...
|
||||
}
|
||||
];
|
||||
style = concatStrings [
|
||||
''
|
||||
@define-color bg #1a1b26;
|
||||
@define-color fg #a9b1d6;
|
||||
* { font-family: "JetBrainsMono Nerd Font", monospace; font-size: 16px; font-weight: bold; }
|
||||
window#waybar { background-color: @bg; color: @fg; }
|
||||
#workspaces button { padding: 0 6px; color: @cyn; }
|
||||
#clock { color: @cyn; border-bottom: 4px solid @cyn; }
|
||||
#pulseaudio { color: @blu; border-bottom: 4px solid @blu; }
|
||||
#idle_inhibitor.activated { color: @grn; border-bottom: 4px solid @grn; }
|
||||
''
|
||||
];
|
||||
};
|
||||
```
|
||||
|
||||
Key takeaways:
|
||||
- Layout is controlled by modules-left, modules-center, and modules-right arrays.
|
||||
- Individual module settings (e.g., hyprland/workspaces, pulseaudio) are configured under the same top-level object.
|
||||
- CSS controls fonts, sizes, colors, borders, and spacing.
|
||||
- scriptsDir = ./scripts relative to the module file; any files inside that directory are installed into ~/.config/waybar/scripts and made executable.
|
||||
|
||||
|
||||
## Add your own Waybar module (step-by-step)
|
||||
1) Copy an existing module as a starting point, e.g.:
|
||||
```bash path=null start=null
|
||||
cp modules/home/waybar/waybar-simple.nix modules/home/waybar/my-waybar.nix
|
||||
```
|
||||
2) (Optional) Add any helper scripts your widgets will use into modules/home/waybar/scripts/ (they will be installed to ~/.config/waybar/scripts automatically by modules using scriptsDir = ./scripts).
|
||||
3) Point variables.nix to your new module:
|
||||
```nix path=/home/dwilliams/ZaneyOS/hosts/default/variables.nix start=81
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
```
|
||||
Change the active line to:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) Stage your files before rebuilding (critical):
|
||||
```bash path=null start=null
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/*
|
||||
```
|
||||
5) Rebuild as you normally do for ZaneyOS.
|
||||
|
||||
|
||||
## Customization examples
|
||||
Below are quick edits you can make, demonstrated using existing modules.
|
||||
|
||||
1) Change font family and size (CSS)
|
||||
- In waybar-tony.nix:
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=207
|
||||
* {
|
||||
font-family: "JetBrainsMono Nerd Font", monospace;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
```
|
||||
Change font-family and font-size to your preference.
|
||||
|
||||
2) Move widgets left/center/right
|
||||
- In any module, edit modules-left, modules-center, modules-right arrays. For example in waybar-simple.nix:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-simple.nix start=28
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-left = [ "custom/startmenu" "custom/arrow6" "pulseaudio" "cpu" "memory" "idle_inhibitor" "custom/arrow7" "hyprland/window" ];
|
||||
modules-right = [ "custom/arrow4" "custom/hyprbindings" "custom/arrow3" "custom/notification" "custom/arrow3" "custom/power" "battery" "custom/arrow2" "tray" "custom/arrow1" "clock" ];
|
||||
```
|
||||
Just reorder or move entries between arrays to place widgets where you want.
|
||||
|
||||
3) Change colors and button styles
|
||||
- In waybar-tony.nix, CSS color variables and workspace button styling:
|
||||
```css path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-tony.nix start=218
|
||||
#workspaces button {
|
||||
padding: 0 6px;
|
||||
color: @cyn;
|
||||
background: transparent;
|
||||
border-bottom: 3px solid @bg;
|
||||
}
|
||||
#workspaces button.active {
|
||||
color: @cyn;
|
||||
border-bottom: 3px solid @mag;
|
||||
}
|
||||
```
|
||||
Adjust colors (e.g., @cyn, @mag) or borders as desired. You can also define your own @define-color variables at the top of the CSS block.
|
||||
|
||||
4) Add icons or change labels
|
||||
- Many modules set format and format-icons. Example (pulseaudio) in waybar-ddubs.nix:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=104
|
||||
"pulseaudio" = {
|
||||
format = "{icon} {volume}% {format_source}";
|
||||
format-icons = {
|
||||
headphone = "";
|
||||
default = [ "" "" "" ];
|
||||
};
|
||||
};
|
||||
```
|
||||
Replace icons with Nerd Font glyphs you prefer.
|
||||
|
||||
5) Add a new widget that runs a script
|
||||
- Waybar custom modules can execute scripts and display the output. Put your script in modules/home/waybar/scripts/ and configure a custom module:
|
||||
```nix path=null start=null
|
||||
"custom/mywidget" = {
|
||||
exec = "~/.config/waybar/scripts/my-widget.sh";
|
||||
return-type = "json"; # or "text" depending on your script
|
||||
interval = 5; # seconds
|
||||
format = "{}"; # how to render the output
|
||||
on-click = "kitty -e my-tool";
|
||||
};
|
||||
```
|
||||
- Scripts placed in modules/home/waybar/scripts/ are installed to ~/.config/waybar/scripts and marked executable by modules that include the home.file mapping.
|
||||
|
||||
6) Make the bar floating or docked
|
||||
- Waybar supports a mode field; CSS margins/transparency give a floating look:
|
||||
```nix path=null start=null
|
||||
settings = [
|
||||
{
|
||||
layer = "top";
|
||||
position = "top";
|
||||
mode = "overlay"; # overlay (floats), or "dock" (reserves space), or "invisible"
|
||||
# ...
|
||||
}
|
||||
];
|
||||
```
|
||||
- CSS for floating effect:
|
||||
```css path=null start=null
|
||||
window#waybar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
margin: 6px 10px; /* space from screen edges */
|
||||
border-radius: 12px;
|
||||
}
|
||||
```
|
||||
|
||||
7) Known Waybar modules you’ll see in ZaneyOS configs
|
||||
- Hyprland modules: hyprland/workspaces, hyprland/window, wlr/taskbar (wlroots taskbar)
|
||||
- System modules: clock, tray, cpu, memory, network, disk, battery, bluetooth, backlight, idle_inhibitor, mpris, temperature, pulseaudio
|
||||
- Custom modules: custom/* (e.g., custom/power, custom/notification, custom/startmenu, etc.)
|
||||
|
||||
|
||||
## Where to store scripts that widgets call
|
||||
- Place scripts under modules/home/waybar/scripts/.
|
||||
- Many Waybar modules here include:
|
||||
```nix path=/home/dwilliams/ZaneyOS/modules/home/waybar/waybar-ddubs.nix start=14
|
||||
home.file = builtins.listToAttrs (map (name: {
|
||||
name = ".config/waybar/scripts/" + name;
|
||||
value = { source = "${scriptsDir}/${name}"; executable = true; };
|
||||
}) scripts);
|
||||
```
|
||||
This copies all files from ./scripts (next to the module file) to ~/.config/waybar/scripts and makes them executable, so your Waybar configuration can reference them as ~/.config/waybar/scripts/<script>.
|
||||
|
||||
|
||||
## Troubleshooting
|
||||
- Build fails with a path error: make sure any new .nix files and scripts are tracked in git (git add). Nix requires the files to be present in the store; untracked files referenced in the config will cause errors.
|
||||
- Wrong filename in variables.nix: ensure the chosen waybarChoice path exactly matches an existing file.
|
||||
- Icons not showing: verify you have a Nerd Font installed (e.g., JetBrainsMono Nerd Font) and selected in CSS.
|
||||
- Widgets missing: confirm the widget is listed in modules-left/center/right arrays and that its settings block exists.
|
||||
|
||||
|
||||
## Quick recipe: add and use a new Waybar
|
||||
1) Create modules/home/waybar/my-waybar.nix (copy an existing one and edit).
|
||||
2) If needed, drop helper scripts into modules/home/waybar/scripts/.
|
||||
3) Update hosts/default/variables.nix:
|
||||
```nix path=null start=null
|
||||
waybarChoice = ../../modules/home/waybar/my-waybar.nix;
|
||||
```
|
||||
4) Stage files before rebuilding:
|
||||
```bash path=null start=null
|
||||
git add modules/home/waybar/my-waybar.nix modules/home/waybar/scripts/*
|
||||
```
|
||||
5) Rebuild.
|
||||
|
|
@ -1,171 +0,0 @@
|
|||
# Guía para personalizar Hyprland en ZaneyOS
|
||||
|
||||
Esta guía ofrece una visión detallada de cómo personalizar tu experiencia con Hyprland en ZaneyOS. Veremos los archivos de configuración más importantes, qué hacen y cómo puedes editarlos.
|
||||
|
||||
**Aviso:** Los archivos están escritos en el lenguaje Nix. La sintaxis es estricta y cualquier error puede impedir que tu sistema se reconstruya. Edita con cuidado y sigue los ejemplos.
|
||||
|
||||
## Aplicar cambios
|
||||
|
||||
Tras editar, aplica los cambios desde una terminal:
|
||||
|
||||
```bash path=null start=null
|
||||
zcli rebuild
|
||||
```
|
||||
|
||||
Esto reconstruirá el sistema con tu configuración. Si hay errores, el comando fallará.
|
||||
|
||||
---
|
||||
|
||||
### `binds.nix` - Atajos de teclado
|
||||
|
||||
Controla atajos de teclado y ratón en Hyprland.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/binds.nix`
|
||||
|
||||
Formato: cadena con valores separados por comas: `MODIFICADOR, TECLA, ACCIÓN, VALOR`.
|
||||
|
||||
**Ejemplo:** Cambiar el atajo para abrir la terminal de `SUPER + Return` a `SUPER + T`.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,T,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `exec-once.nix` - Aplicaciones al inicio
|
||||
|
||||
Lista de aplicaciones/comandos que se lanzan al iniciar Hyprland.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/exec-once.nix`
|
||||
|
||||
**Ejemplo:** Añadir `copyq` para que arranque siempre.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &" # pyprland para terminal desplegable SUPERSHIFT + T
|
||||
"copyq"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `decoration.nix` - Decoración de ventanas
|
||||
|
||||
Controla bordes, sombras y desenfoque.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/decoration.nix`
|
||||
|
||||
**Ejemplo:** Aumentar el redondeo de esquinas a `10`.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `env.nix` - Variables de entorno
|
||||
|
||||
Variables de entorno para la sesión.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/env.nix`
|
||||
|
||||
**Ejemplo:** Forzar Firefox en Wayland.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
env = [
|
||||
# ...
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
"MOZ_ENABLE_WAYLAND, 1"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `gestures.nix` - Gestos del touchpad
|
||||
|
||||
Control de gestos (p. ej., cambio de espacios de trabajo).
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/gestures.nix`
|
||||
|
||||
**Ejemplo:** Deshabilitar el swipe de espacios:
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 0;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `misc.nix` - Miscelánea
|
||||
|
||||
Ajustes varios.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/misc.nix`
|
||||
|
||||
**Ejemplo:** Activar VRR (Variable Refresh Rate).
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
misc = {
|
||||
# ...
|
||||
vrr = 1;
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `hyprland.nix` - Configuración principal
|
||||
|
||||
Ajustes generales, dispositivos de entrada y layout.
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/hyprland.nix`
|
||||
|
||||
**Ejemplo:** Cambiar la distribución de teclado a `us`.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `windowrules.nix` - Reglas de ventanas
|
||||
|
||||
Define comportamientos por aplicación (flotante, workspace, opacidad, etc.).
|
||||
|
||||
**Ubicación:** `modules/home/hyprland/windowrules.nix`
|
||||
|
||||
**Ejemplo:** Hacer que Thunar siempre flote.
|
||||
|
||||
```nix path=null start=null
|
||||
# ...
|
||||
windowrule = [
|
||||
# ...
|
||||
"float, class:^(foot-floating)$"
|
||||
"float, class:^(Thunar)$"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
|
|
@ -1,302 +0,0 @@
|
|||
# A Guide to Customizing Hyprland in ZaneyOS
|
||||
|
||||
This guide provides a more detailed look at how to customize your Hyprland experience in ZaneyOS. We'll go through the most important configuration files, explaining what they do and how you can edit them.
|
||||
|
||||
**A Word of Caution:** The configuration files are written in the Nix language. Nix has a very specific syntax, and any mistakes can prevent your system from building successfully. Always be careful when editing these files, and make sure to follow the examples closely.
|
||||
|
||||
## Applying Your Changes
|
||||
|
||||
After making any changes to these files, you'll need to apply them. Open a terminal and run:
|
||||
|
||||
```bash
|
||||
zcli rebuild
|
||||
```
|
||||
|
||||
This command will rebuild your system with the new configuration. If there are any errors in your configuration, this command will fail.
|
||||
|
||||
---
|
||||
|
||||
### `binds.nix` - Keybindings
|
||||
|
||||
This file controls all of your keyboard and mouse shortcuts in Hyprland.
|
||||
|
||||
**Location:** `modules/home/hyprland/binds.nix`
|
||||
|
||||
You can change existing keybindings or add new ones. The format is a string with comma-separated values: `MODIFIER, KEY, DISPATCHER, VALUE`.
|
||||
|
||||
**Example:**
|
||||
|
||||
Let's say you want to change the keybinding for opening a terminal from `SUPER + Return` to `SUPER + T`.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,Return,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
bind = [
|
||||
# ...
|
||||
"$modifier,T,exec, ${terminal}"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `exec-once.nix` - Startup Applications
|
||||
|
||||
This file lists the applications and commands that run automatically when you start Hyprland.
|
||||
|
||||
**Location:** `modules/home/hyprland/exec-once.nix`
|
||||
|
||||
You can add or remove commands from this list. Each command is a string.
|
||||
|
||||
**Example:**
|
||||
|
||||
If you want to start the `copyq` application every time you log in, you can add it to the list.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &" # pyprland for drop down term SUPERSHIFT + T
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
exec-once = [
|
||||
# ...
|
||||
"pypr &" # pyprland for drop down term SUPERSHIFT + T
|
||||
"copyq"
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `decoration.nix` - Window Decorations
|
||||
|
||||
This file controls the appearance of window borders, shadows, and blur effects.
|
||||
|
||||
**Location:** `modules/home/hyprland/decoration.nix`
|
||||
|
||||
You can change values like `rounding` for rounded corners, or adjust the `blur` and `shadow` settings.
|
||||
|
||||
**Example:**
|
||||
|
||||
To increase the rounding of window corners from `0` to `10`.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 0;
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `env.nix` - Environment Variables
|
||||
|
||||
This file sets environment variables for your Hyprland session. These can affect how applications behave.
|
||||
|
||||
**Location:** `modules/home/hyprland/env.nix`
|
||||
|
||||
You can add or change environment variables in this list.
|
||||
|
||||
**Example:**
|
||||
|
||||
To set the `MOZ_ENABLE_WAYLAND` variable to `1`, which forces Firefox to run in Wayland mode.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
env = [
|
||||
# ...
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
env = [
|
||||
# ...
|
||||
"SDL_VIDEODRIVER, wayland"
|
||||
"MOZ_ENABLE_WAYLAND, 1"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `gestures.nix` - Touchpad Gestures
|
||||
|
||||
This file controls touchpad gestures, like swiping between workspaces.
|
||||
|
||||
**Location:** `modules/home/hyprland/gestures.nix`
|
||||
|
||||
You can enable or disable gestures and change their behavior.
|
||||
|
||||
**Example:**
|
||||
|
||||
To disable workspace swiping.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 1;
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
gestures = {
|
||||
workspace_swipe = 0;
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `misc.nix` - Miscellaneous Settings
|
||||
|
||||
This file contains various settings that don't fit into the other categories.
|
||||
|
||||
**Location:** `modules/home/hyprland/misc.nix`
|
||||
|
||||
You can change settings like `vrr` (Variable Refresh Rate) or `disable_hyprland_logo`.
|
||||
|
||||
**Example:**
|
||||
|
||||
To enable Variable Refresh Rate.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
misc = {
|
||||
# ...
|
||||
vrr = 0;
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
misc = {
|
||||
# ...
|
||||
vrr = 1;
|
||||
# ...
|
||||
};
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `hyprland.nix` - Main Configuration
|
||||
|
||||
This is the main Hyprland configuration file. It sets up general settings, input devices, and the window layout.
|
||||
|
||||
**Location:** `modules/home/hyprland/hyprland.nix`
|
||||
|
||||
You can change things like the keyboard layout, touchpad settings, and the layout engine.
|
||||
|
||||
**Example:**
|
||||
|
||||
To change the keyboard layout from the default to `us`.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "${keyboardLayout}";
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
# ...
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### `windowrules.nix` - Window Rules
|
||||
|
||||
This file defines rules for how specific windows should behave. You can make certain applications always float, open on a specific workspace, or have a certain opacity.
|
||||
|
||||
**Location:** `modules/home/hyprland/windowrules.nix`
|
||||
|
||||
You can add new rules to the `windowrule` list.
|
||||
|
||||
**Example:**
|
||||
|
||||
To make the `thunar` file manager always float.
|
||||
|
||||
**Original:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
windowrule = [
|
||||
# ...
|
||||
"float, class:^(foot-floating)$"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
||||
**Modified:**
|
||||
|
||||
```nix
|
||||
# ...
|
||||
windowrule = [
|
||||
# ...
|
||||
"float, class:^(foot-floating)$"
|
||||
"float, class:^(Thunar)$"
|
||||
# ...
|
||||
];
|
||||
# ...
|
||||
```
|
||||
|
|
@ -1,106 +0,0 @@
|
|||
[English](./hyprland.binds.cheatsheet.md) | Español
|
||||
|
||||
# Atajos de Teclado de Hyprland — ZaneyOS
|
||||
## 🗝️ Convenciones
|
||||
- SUPERKEY = Tecla Mod (en Hyprland `$modifier`)
|
||||
- SHIFT, CTRL, ALT se usan como se muestra
|
||||
- Flechas y hjkl están soportados para movimiento
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Lanzadores y Vista General
|
||||
- SUPERKEY+CTRL+D — Alternar Dock
|
||||
- ALT+Space — Vista general de espacios
|
||||
- SUPERKEY+A — Vista general de aplicaciones
|
||||
- SUPERKEY+R — Menú Rofi (legacy)
|
||||
- SUPERKEY+D — Menú Rofi
|
||||
|
||||
## 🖥️ Terminales
|
||||
- SUPERKEY+Return — Terminal
|
||||
- SUPERKEY+SHIFT+Return — Terminal Foot (flotante)
|
||||
- SUPERKEY+ALT+Return — WezTerm
|
||||
- SUPERKEY+CTRL+Return — Ghostty
|
||||
- SUPERKEY+SHIFT+T — Terminal en bandeja (scratchpad)
|
||||
|
||||
## ✍️ Editores e IDEs
|
||||
- ALT+E — Emacs flotante
|
||||
- SUPERKEY+E — Emacs
|
||||
- SUPERKEY+G — VS Code
|
||||
|
||||
## 🌐 Web y Comunicación
|
||||
- SUPERKEY+W — Navegador web
|
||||
- SUPERKEY+ALT+D — Discord Canary
|
||||
|
||||
## 📁 Gestión de Archivos
|
||||
- SUPERKEY+T — Thunar
|
||||
- SUPERKEY+Y — Yazi
|
||||
|
||||
## 🛠️ Utilidades del Sistema
|
||||
- SUPERKEY+V — Historial del portapapeles
|
||||
- SUPERKEY+N — Nota desde portapapeles
|
||||
- SUPERKEY+C — Selector de color
|
||||
- SUPERKEY+S — Captura de pantalla
|
||||
- SUPERKEY+SHIFT+S — Captura Satty
|
||||
- ALT+SHIFT+S — Captura de región
|
||||
- SUPERKEY+O — OBS Studio
|
||||
- SUPERKEY+M — Control de audio
|
||||
- SUPERKEY+SHIFT+E — Selector de emojis
|
||||
|
||||
## ⚙️ Ajustes y Sistema
|
||||
- SUPERKEY+ALT+S — Diálogo de configuración
|
||||
- SUPERKEY+SHIFT+N — Reiniciar notificaciones
|
||||
- SUPERKEY+SHIFT+P — Menú de energía
|
||||
- SUPERKEY+SHIFT+W — Aplicar fondos
|
||||
- SUPERKEY+ALT+W — Warp Build
|
||||
- ALT+SHIFT+Q — Menú de cierre de sesión
|
||||
|
||||
## 📖 Documentación y Ayuda
|
||||
- SUPERKEY+SHIFT+K — Ayuda de atajos
|
||||
- SUPERKEY+SHIFT+C — Chuletas (cheatsheets)
|
||||
- SUPERKEY+SHIFT+D — Documentación
|
||||
|
||||
## 🪟 Gestión de Ventanas
|
||||
- SUPERKEY+SHIFT+G — Alternar huecos inteligentes
|
||||
- SUPERKEY+Q — Cerrar ventana activa
|
||||
- SUPERKEY+F — Alternar pantalla completa
|
||||
- SUPERKEY+ALT+F — Maximizar (mantiene barras)
|
||||
- SUPERKEY+SHIFT+F — Alternar flotante
|
||||
- SUPERKEY+Space — Alternar flotante
|
||||
- SUPERKEY+SHIFT+Space — Todo flotante en espacio
|
||||
- SUPERKEY+P — Pseudo mosaico
|
||||
- SUPERKEY+SHIFT+M — Intercambiar diseño
|
||||
- SUPERKEY+SHIFT+I — Alternar división
|
||||
|
||||
### Mover Ventana
|
||||
- SUPERKEY+SHIFT+Izquierda/Derecha/Arriba/Abajo — Mover ventana Izquierda/Derecha/Arriba/Abajo
|
||||
- SUPERKEY+SHIFT+H/J/K/L — Mover ventana Izquierda/Derecha/Arriba/Abajo
|
||||
|
||||
### Intercambiar Ventana
|
||||
- SUPERKEY+ALT+Izquierda/Derecha/Arriba/Abajo — Intercambiar ventana Izquierda/Derecha/Arriba/Abajo
|
||||
- SUPERKEY+ALT+43/46/45/44 — Intercambiar ventana Izquierda/Derecha/Arriba/Abajo
|
||||
|
||||
### Movimiento de Foco
|
||||
- SUPERKEY+Izquierda/Derecha/Arriba/Abajo — Foco Izquierda/Derecha/Arriba/Abajo
|
||||
- SUPERKEY+H/J/K/L — Foco Izquierda/Derecha/Arriba/Abajo
|
||||
|
||||
### Ciclar Ventanas
|
||||
- ALT+Tab — Siguiente ventana
|
||||
- ALT+Tab — Traer activa al frente
|
||||
|
||||
## 🗂️ Espacios de Trabajo
|
||||
- SUPERKEY+1..9,0 — Espacio 1..10
|
||||
- SUPERKEY+SHIFT+1..9,0 — Mover a espacio 1..10
|
||||
- SUPERKEY+CTRL+Derecha/Izquierda — Espacio siguiente/anterior
|
||||
- SUPERKEY+Rueda Abajo/Arriba — Espacio siguiente/anterior
|
||||
|
||||
## 🔊 Multimedia y Brillo
|
||||
- XF86AudioRaiseVolume — Subir volumen
|
||||
- XF86AudioLowerVolume — Bajar volumen
|
||||
- XF86AudioMute — Alternar silencio
|
||||
- XF86AudioPlay/Pause — Reproducir/Pausar
|
||||
- XF86AudioNext/Prev — Siguiente/Anterior pista
|
||||
- XF86MonBrightnessDown/Up — Bajar/Subir brillo
|
||||
|
||||
## 🖱️ Atajos de Ratón
|
||||
- SUPERKEY + Botón Izquierdo — Mover ventana
|
||||
- SUPERKEY + Botón Derecho — Redimensionar ventana
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./hyprland.binds.cheatsheet.es.md)
|
||||
# Hyprland Keybindings — ddubsOS
|
||||
|
||||
# Hyprland Keybindings — ZaneyOS
|
||||
## 🗝️ Conventions
|
||||
- SUPERKEY = Mod key (Hyprland `$modifier`)
|
||||
- SHIFT, CTRL, ALT used as shown
|
||||
|
|
@ -8,98 +7,83 @@ English | [Español](./hyprland.binds.cheatsheet.es.md)
|
|||
|
||||
---
|
||||
|
||||
## 🚀 Launchers & Overview
|
||||
- SUPERKEY+CTRL+D — Toggle Dock
|
||||
- ALT+Space — Workspace Overview
|
||||
- SUPERKEY+A — App Overview
|
||||
- SUPERKEY+R — Rofi Legacy Menu
|
||||
- SUPERKEY+D — Rofi Menu
|
||||
|
||||
## 🖥️ Terminals
|
||||
- SUPERKEY+Return — Terminal
|
||||
- SUPERKEY+SHIFT+Return — Foot Terminal (Floating)
|
||||
- SUPERKEY+ALT+Return — WezTerm
|
||||
- SUPERKEY+CTRL+Return — Ghostty
|
||||
- SUPERKEY+SHIFT+T — Scratchpad Terminal
|
||||
|
||||
## ✍️ Editors & IDEs
|
||||
- ALT+E — Emacs Floating
|
||||
- SUPERKEY+E — Emacs
|
||||
## 🚀 Applications
|
||||
- SUPERKEY+Return — Launch default terminal (${terminal})
|
||||
- SUPERKEY+SHIFT+Return — Launch foot (floating)
|
||||
- SUPERKEY+ALT+Return — Launch WezTerm
|
||||
- SUPERKEY+CTRL+Return — Launch Ghostty
|
||||
- SUPERKEY+W — Launch browser (${browser})
|
||||
- SUPERKEY+Y — Kitty running Yazi (file manager)
|
||||
- SUPERKEY+T — Thunar (also another mapping present: "exec, exec, thunar")
|
||||
- SUPERKEY+M — Pavucontrol (audio)
|
||||
- SUPERKEY+G — VS Code
|
||||
|
||||
## 🌐 Web & Communication
|
||||
- SUPERKEY+W — Web Browser
|
||||
- SUPERKEY+ALT+D — Discord Canary
|
||||
|
||||
## 📁 File Management
|
||||
- SUPERKEY+T — Thunar
|
||||
- SUPERKEY+Y — Yazi
|
||||
|
||||
## 🛠️ System Utilities
|
||||
- SUPERKEY+V — Clipboard History
|
||||
- SUPERKEY+N — Create Note From Clipboard
|
||||
- SUPERKEY+C — Color Picker
|
||||
- SUPERKEY+S — Screenshot
|
||||
- SUPERKEY+SHIFT+S — Screenshot Satty
|
||||
- ALT+SHIFT+S — Screenshot Region
|
||||
- SUPERKEY+O — OBS Studio
|
||||
- SUPERKEY+M — Audio Control
|
||||
- SUPERKEY+SHIFT+E — Emoji Picker
|
||||
- SUPERKEY+E — Emoji picker (emopicker9000)
|
||||
- SUPERKEY+V — Clipboard menu (cliphist via rofi)
|
||||
- SUPERKEY+D — Rofi menu
|
||||
- SUPERKEY+SHIFT+D — Dock
|
||||
- SUPERKEY+CTRL+D — Sherlock (alt menu)
|
||||
- SUPERKEY+SHIFT+W — Web search
|
||||
- SUPERKEY+ALT+W — Warp terminal (commented alternative: wallsetter)
|
||||
- SUPERKEY+CTRL+W — Waypaper
|
||||
- SUPERKEY+N — Note from clipboard
|
||||
- SUPERKEY+SHIFT+N — SwayNC reset
|
||||
- SUPERKEY+ALT+D — Discord Canary
|
||||
- SUPERKEY+C — Hyprpicker (color picker)
|
||||
- SHIFT+ALT+S — Hyprshot region (non-SUPER shortcut)
|
||||
|
||||
## ⚙️ Settings & System
|
||||
- SUPERKEY+ALT+S — Settings Dialog
|
||||
- SUPERKEY+SHIFT+N — Notifications Reset
|
||||
- SUPERKEY+SHIFT+P — Power Menu
|
||||
- SUPERKEY+SHIFT+W — Apply Wallpapers
|
||||
- SUPERKEY+ALT+W — Warp Build
|
||||
- ALT+SHIFT+Q — Logout Menu
|
||||
## 🧭 Hyprland UI/Plugins
|
||||
- SUPERKEY+TAB — Hyprspace Overview toggle (all)
|
||||
- SUPERKEY+SHIFT+TAB — Hyprspace Overview close (all)
|
||||
- ALT+Space — Hyprexpo toggle
|
||||
- SUPERKEY+A — AGS Overview toggle
|
||||
|
||||
## 📖 Docs & Help
|
||||
- SUPERKEY+SHIFT+K — Keybinds Help
|
||||
- SUPERKEY+SHIFT+C — Cheatsheets
|
||||
- SUPERKEY+SHIFT+D — Docs
|
||||
## 📸 Screenshots
|
||||
- SUPERKEY+S — screenshootin
|
||||
- SUPERKEY+SHIFT+S — screenshootin-satty
|
||||
- SUPERKEY+ALT+S — hyprpanel toggleWindow settings-dialog
|
||||
|
||||
## 🪟 Window Management
|
||||
- SUPERKEY+SHIFT+G — Smart Gaps Toggle
|
||||
- SUPERKEY+Q — Kill Active Window
|
||||
- SUPERKEY+F — Toggle Fullscreen
|
||||
- SUPERKEY+ALT+F — Maximize (keep bars)
|
||||
- SUPERKEY+SHIFT+F — Toggle Floating
|
||||
- SUPERKEY+Space — Toggle Floating
|
||||
- SUPERKEY+SHIFT+Space — Workspace All Float
|
||||
- SUPERKEY+P — Pseudo Tile
|
||||
- SUPERKEY+SHIFT+M — Swap Layout
|
||||
- SUPERKEY+SHIFT+I — Toggle Split
|
||||
- SUPERKEY+Q — Kill active window
|
||||
- SUPERKEY+P — Pseudo tile
|
||||
- SUPERKEY+SHIFT+I — Toggle split
|
||||
- SUPERKEY+F — Fullscreen
|
||||
- SUPERKEY+SHIFT+F — Toggle floating
|
||||
- SUPERKEY+ALT+F — Workspace option: allfloat
|
||||
- SUPERKEY+SHIFT+C — Exit Hyprland
|
||||
- SUPERKEY+SPACE — Toggle floating
|
||||
- SUPERKEY+SHIFT+SPACE — Workspace option: allfloat
|
||||
- SUPERKEY+SHIFT+M — swap_layout
|
||||
|
||||
### Move Window
|
||||
- SUPERKEY+SHIFT+Left/Right/Up/Down — Move Window Left/Right/Up/Down
|
||||
- SUPERKEY+SHIFT+H/J/K/L — Move Window Left/Right/Up/Down
|
||||
- SUPERKEY+SHIFT+Left/Right/Up/Down — Move window L/R/U/D
|
||||
- SUPERKEY+SHIFT+H/J/K/L — Move window L/D/U/R
|
||||
|
||||
### Swap Window
|
||||
- SUPERKEY+ALT+Left/Right/Up/Down — Swap Window Left/Right/Up/Down
|
||||
- SUPERKEY+ALT+43/46/45/44 — Swap Window Left/Right/Up/Down
|
||||
- SUPERKEY+ALT+Left/Right/Up/Down — Swap window L/R/U/D
|
||||
- SUPERKEY+ALT+[, . , - , ,] — Swap window L/R/U/D (keycodes 43,46,45,44)
|
||||
|
||||
### Focus Movement
|
||||
- SUPERKEY+Left/Right/Up/Down — Focus Left/Right/Up/Down
|
||||
- SUPERKEY+H/J/K/L — Focus Left/Right/Up/Down
|
||||
- SUPERKEY+Left/Right/Up/Down — Focus L/R/U/D
|
||||
- SUPERKEY+H/J/K/L — Focus L/D/U/R
|
||||
|
||||
### Window Cycling
|
||||
- ALT+Tab — Cycle Next Window
|
||||
- ALT+Tab — Bring Active To Top
|
||||
### Workspace Navigation
|
||||
- SUPERKEY+1..9,0 — Go to workspace 1..10
|
||||
- SUPERKEY+SHIFT+1..9,0 — Move window to workspace 1..10
|
||||
- SUPERKEY+CTRL+Right/Left — Next/Previous workspace (relative)
|
||||
- SUPERKEY+Mouse Wheel Down/Up — Workspace e+1 / e-1
|
||||
|
||||
## 🗂️ Workspaces
|
||||
- SUPERKEY+1..9,0 — Workspace 1..10
|
||||
- SUPERKEY+SHIFT+1..9,0 — Move To Workspace 1..10
|
||||
- SUPERKEY+CTRL+Right/Left — Next/Previous Workspace
|
||||
- SUPERKEY+Mouse Wheel Down/Up — Next/Previous Workspace
|
||||
### Alt-Tab
|
||||
- ALT+Tab — Cycle next
|
||||
- ALT+Tab — Bring active to top (runs twice to ensure raise)
|
||||
|
||||
## 🔊 Media & Brightness
|
||||
- XF86AudioRaiseVolume — Volume Up
|
||||
- XF86AudioLowerVolume — Volume Down
|
||||
- XF86AudioMute — Mute Toggle
|
||||
- XF86AudioPlay/Pause — Play/Pause
|
||||
- XF86AudioNext/Prev — Next/Previous Track
|
||||
- XF86MonBrightnessDown/Up — Brightness Down/Up
|
||||
- XF86AudioRaiseVolume — wpctl set-volume +5%
|
||||
- XF86AudioLowerVolume — wpctl set-volume -5%
|
||||
- XF86AudioMute — toggle sink mute
|
||||
- XF86AudioPlay/Pause — playerctl play-pause
|
||||
- XF86AudioNext/Prev — playerctl next/previous
|
||||
- XF86MonBrightnessDown/Up — brightnessctl -5% / +5%
|
||||
|
||||
## 🖱️ Mouse Bindings
|
||||
- SUPERKEY + Left Mouse — Move window
|
||||
|
|
|
|||
|
|
@ -1,59 +0,0 @@
|
|||
[English](./hyprland.windowrules.cheatsheet.md) | Español
|
||||
|
||||
# Reglas de Ventana de Hyprland — ZaneyOS
|
||||
## 🧩 Etiquetas y Clasificación
|
||||
- file-manager — Thunar, Nautilus, PCManFM-Qt
|
||||
- terminal — Ghostty, WezTerm, Alacritty, Kitty, kitty-dropterm
|
||||
- browser — Brave, Firefox, Chrome, Thorium/Cachy
|
||||
- video — VLC, mpv, Clapper
|
||||
- projects — VSCodium/VSCode
|
||||
- im — Discord, WebCord, Vesktop, Ferdium, WhatsApp, Telegram, Teams
|
||||
- obs — OBS Studio
|
||||
- games — gamescope, steam_app_*
|
||||
- gamestore — Steam, Lutris, Heroic
|
||||
- settings — varias aplicaciones de configuración (nm-applet, pavucontrol, file-roller, rofi, etc.)
|
||||
|
||||
## 🪟 Flotante, Tamaño y Posición
|
||||
- foot-floating — flotante, tamaño 60% x 60%, centrado
|
||||
- Picture-in-Picture — flotante, opacidad 95%/75%, fijado, mantener relación de aspecto, posición en ~72%/7%
|
||||
- Diálogos de Autenticación Requerida — flotante, centrado
|
||||
- Ventanas etiquetadas como Settings — flotante, tamaño 70% x 70%
|
||||
- Ferdium — flotante, centrado, tamaño 60% x 70%
|
||||
- Clapper — flotante
|
||||
- Diálogos de configuración de VSCodium — flotante (reglas negativas de título)
|
||||
- Diálogos no principales de Steam/Heroic — flotante (reglas negativas de título)
|
||||
- Diálogos de selección de archivos — flotante; tamaño 70% x 60% (Abrir Archivos); flotante en avisos de guardado
|
||||
|
||||
## 🎨 Efectos Visuales
|
||||
- noblur — juegos
|
||||
- content none — mpv (prevenir pantalla negra al maximizar)
|
||||
- Opacidad por etiqueta:
|
||||
- browser: 1.0 / 1.0
|
||||
- video: 1.0 / 1.0
|
||||
- projects: 0.9 / 0.8
|
||||
- im: 0.94 / 0.86
|
||||
- file-manager: 0.9 / 0.8
|
||||
- terminal: 1.0 / 0.8
|
||||
- settings: 0.8 / 0.7
|
||||
- Ajustes de opacidad adicionales:
|
||||
- gedit/GNOME Text Editor/mousepad: 0.8 / 0.7
|
||||
- seahorse: 0.9 / 0.8
|
||||
|
||||
## 🧭 Asignación de Espacio de Trabajo
|
||||
- im* — espacio de trabajo 3
|
||||
- browser* — espacio de trabajo 2
|
||||
- obs* — espacio de trabajo 10
|
||||
|
||||
## 🧪 XWayland y Casos Especiales
|
||||
- Ejemplo de regla específica para xwayland: noblur para la clase “resolve” en xwayland:1
|
||||
|
||||
## 🌱 Entorno (establecido a través de Hyprland)
|
||||
- NIXOS_OZONE_WL=1, NIXPKGS_ALLOW_UNFREE=1
|
||||
- XDG_CURRENT_DESKTOP=Hyprland, XDG_SESSION_TYPE=wayland, XDG_SESSION_DESKTOP=Hyprland
|
||||
- GDK_BACKEND=wayland,x11, CLUTTER_BACKEND=wayland
|
||||
- QT_QPA_PLATFORM=wayland;xcb, QT_WAYLAND_DISABLE_WINDOWDECORATION=1, QT_AUTO_SCREEN_SCALE_FACTOR=1
|
||||
- SDL_VIDEODRIVER=x11 (explícito)
|
||||
- MOZ_ENABLE_WAYLAND=1
|
||||
- AQ_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
|
||||
- GDK_SCALE=1, QT_SCALE_FACTOR=1
|
||||
- EDITOR=nvim
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./hyprland.windowrules.cheatsheet.es.md)
|
||||
# Hyprland Window Rules — ddubsOS
|
||||
|
||||
# Hyprland Window Rules — ZaneyOS
|
||||
## 🧩 Tags and Classification
|
||||
- file-manager — Thunar, Nautilus, PCManFM-Qt
|
||||
- terminal — Ghostty, WezTerm, Alacritty, Kitty, kitty-dropterm
|
||||
|
|
|
|||
|
|
@ -1,61 +0,0 @@
|
|||
[English](./kitty.cheatsheet.md) | Español
|
||||
|
||||
# Kitty en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/kitty.nix
|
||||
|
||||
- Programa
|
||||
- Kitty habilitado con el paquete pkgs.kitty
|
||||
- Integraciones de shell: Zsh, Fish, Bash (modo: habilitado)
|
||||
|
||||
- Apariencia y Comportamiento
|
||||
- Fuente: Maple Mono NF, tamaño 12
|
||||
- Historial de desplazamiento: 10,000 líneas; líneas mínimas de la rueda: 1; relleno: 4px
|
||||
- Confirmar cierre: 0 (sin confirmar); campana de audio: deshabilitada; espera para ocultar el ratón: 60
|
||||
- Rastro del cursor: 1; desvanecimiento de pestaña: 1; estilo de fuente de pestaña activa/inactiva: negrita
|
||||
- Barra de pestañas: superior, estilo powerline
|
||||
- Diseños: divisiones habilitadas
|
||||
- Manejo de URL: abrir con el predeterminado; detectar URL: true; allow_remote_control: true
|
||||
|
||||
- Tema (configuración manual de Catppuccin Mocha en extraConfig)
|
||||
- Primer plano/fondo, selección, cursor, bordes, barra de pestañas y paleta de 16 colores establecidos explícitamente
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado (extraConfig)
|
||||
|
||||
Portapapeles
|
||||
- Ctrl+Shift+V — paste_from_selection
|
||||
- Shift+Insert — paste_from_selection
|
||||
|
||||
Historial de desplazamiento
|
||||
- Ctrl+Shift+Arriba / k — scroll_line_up
|
||||
- Ctrl+Shift+Abajo / j — scroll_line_down
|
||||
- Ctrl+Shift+RePág — scroll_page_up
|
||||
- Ctrl+Shift+AvPág — scroll_page_down
|
||||
- Ctrl+Shift+Inicio — scroll_home
|
||||
- Ctrl+Shift+Fin — scroll_end
|
||||
- Ctrl+Shift+H — show_scrollback
|
||||
|
||||
Ventanas/Pestañas/Diseño
|
||||
- Alt+N — new_window_with_cwd
|
||||
- Alt+W — close_window
|
||||
- Ctrl+Shift+Enter — dividir horizontalmente (hsplit)
|
||||
- Ctrl+Shift+S — dividir verticalmente (vsplit)
|
||||
- Ctrl+Shift+] / [ — next_window / previous_window
|
||||
- Ctrl+Shift+F — move_window_forward
|
||||
- Ctrl+Shift+B — move_window_backward
|
||||
- Ctrl+Shift+` — move_window_to_top
|
||||
- Ctrl+Shift+1..0 — first..tenth_window
|
||||
- Ctrl+Shift+Derecha/Izquierda — next_tab / previous_tab
|
||||
- Ctrl+Shift+T — new_tab
|
||||
- Ctrl+Shift+Q — close_tab
|
||||
- Ctrl+Shift+L — next_layout
|
||||
- Ctrl+Shift+. / , — move_tab_forward / move_tab_backward
|
||||
|
||||
Tamaño de Fuente
|
||||
- Ctrl+Shift+Arriba — increase_font_size
|
||||
- Ctrl+Shift+Abajo — decrease_font_size
|
||||
- Ctrl+Shift+Retroceso — restore_font_size
|
||||
|
||||
Notas
|
||||
- El esquema de colores está incrustado; el soporte de Stylix está deshabilitado en esta configuración.
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./kitty.cheatsheet.es.md)
|
||||
# Kitty on ddubsOS — Summary & Cheatsheet
|
||||
|
||||
# Kitty on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/kitty.nix
|
||||
|
||||
- Program
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ Preferido (específico de ZaneyOS):
|
|||
- Nota: el alias `fr` está obsoleto.
|
||||
|
||||
Método manual de respaldo (funciona en cualquier instalación):
|
||||
- Desde la raíz del repo, reemplaza PROFILE por tu perfil (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- Desde la raíz del repo, reemplaza PROFILE por tu perfil (intel, nvidia, nvidia-laptop, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
Consejos
|
||||
|
|
|
|||
|
|
@ -57,11 +57,10 @@ Preferred (ZaneyOS-specific):
|
|||
- Note: The `fr` alias is deprecated.
|
||||
|
||||
Manual backup method (works anywhere):
|
||||
- From the repo root, replace PROFILE with your profile (intel, nvidia, nvidia-laptop, amd-hybrid, vm):
|
||||
- From the repo root, replace PROFILE with your profile (intel, nvidia, nvidia-laptop, vm):
|
||||
- `sudo nixos-rebuild switch --flake .#PROFILE`
|
||||
|
||||
Tips
|
||||
- If a rebuild fails, read the error near the bottom of the output—it usually points to the exact file/line.
|
||||
- If a change breaks your session after a reboot, pick an older “generation” from the boot menu to roll back.
|
||||
- Use Git to track your edits so you can revert easily.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
NixOS, flakes y home-manager funcionan juntos para lograr una configuración del sistema declarativa y reproducible. Forman parte de un cambio de paradigma frente a la administración tradicional (imperativa).
|
||||
|
||||
## NixOS
|
||||
|
||||
**NixOS** es una distribución Linux construida sobre el **gestor de paquetes Nix**. A diferencia de otras distros donde instalas y configuras software manualmente, NixOS usa un **enfoque declarativo**. Escribes un solo `configuration.nix` que describe el estado completo del sistema (kernel, servicios, programas). Al "construir" y "cambiar" tu config, NixOS crea un sistema nuevo desde cero.
|
||||
|
||||
La clave: en lugar de modificar archivos in‑place, NixOS crea una nueva **generación**. Si algo falla, puedes **volver atrás** de forma segura a una generación previa.
|
||||
|
||||
## Flakes
|
||||
|
||||
Los **flakes** (experimentales pero muy usados) estandarizan la gestión de dependencias. Un flake es un directorio con `flake.nix` y `flake.lock`.
|
||||
|
||||
- `flake.nix` declara entradas (versiones de Nixpkgs, repos, etc.) y salidas (config del sistema, devshells). Todo queda **explícito**.
|
||||
- `flake.lock` fija versiones exactas de todas las entradas (commits). Garantiza **reproducibilidad** bit a bit.
|
||||
|
||||
## Home Manager
|
||||
|
||||
Mientras NixOS gestiona la config del sistema (`/etc`), **Home Manager** aplica el mismo enfoque declarativo a tu entorno de usuario (`~/.config`). Gestiona shell, programas y otros ajustes de usuario con Nix.
|
||||
|
||||
Puede usarse solo o integrado en tu flake NixOS para la misma **reproducibilidad** y **cambios atómicos** del entorno de usuario.
|
||||
|
||||
## Por qué los archivos de configuración son de solo lectura
|
||||
|
||||
Núcleo del diseño de Nix: garantiza reproducibilidad.
|
||||
|
||||
NixOS construye configuraciones en el **Nix Store** (`/nix/store`), que es de solo lectura. Al reconstruir, Nix genera un conjunto nuevo de archivos y lo guarda en un directorio nuevo del Store.
|
||||
|
||||
En vez de escribir directamente a `~/.bashrc`, NixOS y Home Manager crean **enlaces simbólicos** desde ubicaciones conocidas hacia el archivo generado del Store.
|
||||
|
||||
Ventajas:
|
||||
|
||||
1. **Inmutabilidad:** no puedes romper el sistema editando archivos generados.
|
||||
2. **Reproducibilidad:** la misma fuente genera siempre el mismo resultado.
|
||||
3. **Actualizaciones/rollbacks atómicos:** cada generación es autocontenida, y cambiar entre ellas es instantáneo.
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
NixOS, flakes, and home-manager all work together to achieve a declarative and
|
||||
reproducible system configuration. They are part of a paradigm shift away from
|
||||
traditional, imperative system administration.
|
||||
|
||||
## NixOS
|
||||
|
||||
**NixOS** is a Linux distribution built on the **Nix package manager**. Unlike
|
||||
other distros where you manually install and configure software, NixOS uses a
|
||||
**declarative approach**. You write a single `configuration.nix` file that
|
||||
describes the entire state of your system, including the kernel, services, and
|
||||
installed programs. When you "build" and "switch" your configuration, NixOS
|
||||
creates a new, complete system from scratch.
|
||||
|
||||
This is the key to its power: instead of modifying files in place, NixOS creates
|
||||
a new "generation" of your system. If an update breaks something, you can
|
||||
instantly and safely **roll back** to a previous working generation.
|
||||
|
||||
## Flakes
|
||||
|
||||
**Flakes** are an experimental but widely adopted feature for the Nix package
|
||||
manager that standardizes and improves dependency management. A flake is
|
||||
essentially a directory with a `flake.nix` file and a corresponding `flake.lock`
|
||||
file.
|
||||
|
||||
- `flake.nix` declares the inputs (e.g., specific versions of Nixpkgs, other
|
||||
repositories) and outputs (e.g., your system configuration, development
|
||||
environments). This makes all dependencies **explicit**.
|
||||
- `flake.lock` pins the exact versions of all inputs, including the specific Git
|
||||
commit hashes. This ensures that your configuration is **reproducible** down
|
||||
to the last byte. No more "it works on my machine" problems because someone
|
||||
else has a different package version.
|
||||
|
||||
## Home Manager
|
||||
|
||||
While NixOS manages system-wide configuration (things in `/etc`), **Home
|
||||
Manager** is a tool that applies the same declarative principles to your
|
||||
user-specific configuration (your dotfiles in `~/.config`). It lets you manage
|
||||
your shell, programs, and other user-level settings with Nix.
|
||||
|
||||
Home Manager can be used as a standalone tool or, more commonly, integrated into
|
||||
your NixOS flake. By using it with flakes, you get the same benefits of
|
||||
reproducibility and atomic updates for your user environment.
|
||||
|
||||
## Why Configurations are Read-Only
|
||||
|
||||
The concept of read-only configuration files is central to Nix's design and is
|
||||
the key to its reproducibility.
|
||||
|
||||
NixOS builds configurations in a special, read-only directory called the **Nix
|
||||
Store** (`/nix/store`). When you rebuild your system, Nix generates a new set of
|
||||
configuration files and stores them in a new directory within the Nix Store.
|
||||
|
||||
Instead of writing directly to a configuration file like `~/.bashrc`, NixOS and
|
||||
Home Manager create **symbolic links** from the expected location (e.g.,
|
||||
`~/.bashrc`) to the generated, read-only file in the Nix Store.
|
||||
|
||||
This approach guarantees that:
|
||||
|
||||
1. **Immutability:** Configuration files can't be changed after they're built,
|
||||
preventing manual edits from breaking your system.
|
||||
2. **Reproducibility:** The same configuration file will always produce the
|
||||
exact same result because the source files are immutable.
|
||||
3. **Atomic Upgrades/Rollbacks:** Because each configuration is a self-contained
|
||||
"generation," switching between them is a fast, atomic operation.
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
# ¡Bienvenido a ZaneyOS! Guía para principiantes
|
||||
|
||||
¡Bienvenido! Esta guía es para usuarios nuevos en Nix que quieren realizar personalizaciones comunes en ZaneyOS. Mantendremos todo simple y al grano.
|
||||
|
||||
## Entendiendo la estructura
|
||||
|
||||
Para cambios cotidianos, basta con conocer algunos archivos y directorios clave:
|
||||
|
||||
- `flake.nix`: archivo principal del sistema. Normalmente no necesitas editarlo para cambios comunes.
|
||||
- `hosts/`: configuración por equipo (host).
|
||||
- `hosts/<tu-hostname>/`:
|
||||
- `variables.nix`: panel principal para activar/desactivar funciones y cambiar opciones.
|
||||
- `host-packages.nix`: paquetes solo para ese equipo.
|
||||
- `modules/`: configuración modular reutilizable.
|
||||
- `modules/core/global-packages.nix`: paquetes para todos tus equipos ZaneyOS.
|
||||
- `modules/home/hyprland/binds.nix`: personaliza atajos de Hyprland.
|
||||
|
||||
## Cómo añadir paquetes
|
||||
|
||||
Dos maneras:
|
||||
|
||||
### 1) Solo para un equipo
|
||||
Edita `hosts/<tu-hostname>/host-packages.nix` y añade el paquete a la lista:
|
||||
```nix path=null start=null
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
cowsay
|
||||
]
|
||||
```
|
||||
Guarda el archivo.
|
||||
|
||||
### 2) Para todos los equipos
|
||||
Edita `modules/core/global-packages.nix` y añade el paquete igual que arriba.
|
||||
|
||||
## Cambiar ajustes de monitores
|
||||
|
||||
En `hosts/<tu-hostname>/variables.nix` busca `extraMonitorSettings`:
|
||||
```nix path=null start=null
|
||||
extraMonitorSettings = "monitor=DP-1,1920x1080@144";
|
||||
```
|
||||
Guarda el archivo.
|
||||
|
||||
## Cambiar atajos de Hyprland
|
||||
|
||||
En `modules/home/hyprland/binds.nix` puedes editar mapeos:
|
||||
```nix path=null start=null
|
||||
"SUPER, T, exec, ${terminal}"
|
||||
```
|
||||
Guarda el archivo.
|
||||
|
||||
## Aplicar cambios
|
||||
|
||||
Tras editar:
|
||||
```bash path=null start=null
|
||||
zcli rebuild
|
||||
```
|
||||
Si termina con éxito, ¡tus cambios están activos! Algunos pueden requerir reinicio.
|
||||
|
||||
|
|
@ -1,101 +0,0 @@
|
|||
# Welcome to ZaneyOS! A Beginner's Guide to Customization
|
||||
|
||||
Welcome! This guide is for users who are new to Nix and want to make some common customizations to their ZaneyOS setup. We'll keep it simple and focus on the essentials.
|
||||
|
||||
## Understanding the Layout
|
||||
|
||||
NixOS configurations can seem complex, but for day-to-day changes, you only need to know about a few key files and directories.
|
||||
|
||||
- `flake.nix`: This is the main file for the entire system. You shouldn't need to edit this file directly for most common changes.
|
||||
- `hosts/`: This directory contains the configuration for each individual computer (or "host") you've installed ZaneyOS on.
|
||||
- `hosts/<your-hostname>/`: This is where you'll make most of your changes.
|
||||
- `variables.nix`: This is your main control panel. You can enable/disable features, change settings, and more.
|
||||
- `host-packages.nix`: This is where you can add packages that you only want on this specific computer.
|
||||
- `modules/`: This directory contains the bulk of the configuration, broken down into smaller, reusable pieces ("modules").
|
||||
- `modules/core/global-packages.nix`: You can add packages here if you want them to be installed on *all* of your ZaneyOS computers.
|
||||
- `modules/home/hyprland/binds.nix`: This is where you can customize your Hyprland keybindings.
|
||||
|
||||
## How to Add Packages
|
||||
|
||||
There are two main ways to add packages:
|
||||
|
||||
### 1. For a Single Computer
|
||||
|
||||
If you only want to install a package on your current computer, you'll add it to `hosts/<your-hostname>/host-packages.nix`.
|
||||
|
||||
1. Open `hosts/<your-hostname>/host-packages.nix` in your favorite editor.
|
||||
2. You'll see a list of packages. Simply add the name of the package you want to install to the list. For example, to add the `cowsay` package, you would change this:
|
||||
|
||||
```nix
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
]
|
||||
```
|
||||
|
||||
to this:
|
||||
|
||||
```nix
|
||||
[
|
||||
brave
|
||||
(catppuccin-vsc.override {
|
||||
variant = "mocha";
|
||||
})
|
||||
cowsay
|
||||
]
|
||||
```
|
||||
|
||||
3. Save the file.
|
||||
|
||||
### 2. For All Computers
|
||||
|
||||
If you want a package to be installed on every computer you use ZaneyOS on, you'll add it to `modules/core/global-packages.nix`. The process is the same as above.
|
||||
|
||||
## How to Change Monitor Settings
|
||||
|
||||
You can change your monitor settings in `hosts/<your-hostname>/variables.nix`.
|
||||
|
||||
1. Open `hosts/<your-hostname>/variables.nix`.
|
||||
2. Look for the `extraMonitorSettings` line.
|
||||
3. You can add your monitor settings here. For example, to set the resolution and refresh rate for a monitor named `DP-1`, you would change this:
|
||||
|
||||
```nix
|
||||
extraMonitorSettings = "";
|
||||
```
|
||||
|
||||
to this:
|
||||
|
||||
```nix
|
||||
extraMonitorSettings = "monitor=DP-1,1920x1080@144";
|
||||
```
|
||||
|
||||
4. Save the file.
|
||||
|
||||
## How to Change Hyprland Bindings
|
||||
|
||||
You can change your Hyprland keybindings in `modules/home/hyprland/binds.nix`.
|
||||
|
||||
1. Open `modules/home/hyprland/binds.nix`.
|
||||
2. You'll see a list of keybindings. You can change them to your liking. For example, to change the keybinding for opening a terminal from `SUPER, Return` to `SUPER, T`, you would change this:
|
||||
|
||||
```nix
|
||||
"SUPER, Return, exec, ${terminal}"
|
||||
```
|
||||
|
||||
to this:
|
||||
|
||||
```nix
|
||||
"SUPER, T, exec, ${terminal}"
|
||||
```
|
||||
|
||||
3. Save the file.
|
||||
|
||||
## Applying Your Changes
|
||||
|
||||
After you've made any changes, you need to apply them.
|
||||
|
||||
1. Open a terminal.
|
||||
2. Run the command `zcli rebuild`. This will apply your changes to the system.
|
||||
3. If the command completes successfully, your changes are now active! Some changes may require a reboot to take effect.
|
||||
|
|
@ -1,168 +0,0 @@
|
|||
# Introducción a Neovim en ZaneyOS
|
||||
|
||||
¡Bienvenido! Esta chuleta introduce Neovim tal y como está configurado en ZaneyOS (modules/home/nvf.nix). Se centra en tareas para principiantes y los plugins/atajos clave de este setup.
|
||||
|
||||
Aspectos destacados
|
||||
- UI moderna: tema Catppuccin, Lualine, bufferline, iconos
|
||||
- Explorador de archivos: Neo‑tree
|
||||
- Búsqueda: Telescope (buscar archivos, ripgrep en vivo)
|
||||
- LSP: autocompletado/diagnósticos/formateo al guardar
|
||||
- Diagnósticos UI: Trouble; which‑key; notificaciones
|
||||
- Terminal: ToggleTerm; integración con LazyGit
|
||||
- Markdown: previsualización en vivo
|
||||
- Movimientos: hop y leap para saltos rápidos
|
||||
- Comentado, autocompletado, snippets, autopairs
|
||||
|
||||
Tecla Leader
|
||||
- “Leader” es un prefijo para atajos personalizados. En esta config suele ser Space. Pulsa Space para ver which‑key con grupos disponibles.
|
||||
- Notación: <leader>ff significa Space, luego f y f.
|
||||
|
||||
Primeros pasos
|
||||
- Abrir Neovim:
|
||||
```bash path=null start=null
|
||||
nvim
|
||||
```
|
||||
- Ayuda: <leader>h para :help, o <leader>H para ayuda de la palabra bajo el cursor.
|
||||
- Salir de Insert: escribe jk rápido (mapeado a <Esc>).
|
||||
|
||||
Navegación y modos
|
||||
- Modos: Normal, Insert (i), Visual (v), Comando (:)
|
||||
- Movimiento: h izq, j abajo, k arriba, l der
|
||||
- Palabras: w siguiente, b anterior, e fin
|
||||
- Líneas: 0 inicio, ^ primer no blanco, $ fin
|
||||
- Pantallas: Ctrl‑f avanza, Ctrl‑b retrocede
|
||||
- Buscar: /patrón, n siguiente, N anterior; limpia resaltado con <leader>nh
|
||||
|
||||
Abrir/crear/leer archivos
|
||||
- Abrir archivo:
|
||||
```vim path=null start=null
|
||||
:e ruta/al/archivo
|
||||
```
|
||||
- Crear (editar un nombre nuevo):
|
||||
```vim path=null start=null
|
||||
:e nuevo.txt
|
||||
```
|
||||
- Leer archivo en el buffer actual:
|
||||
```vim path=null start=null
|
||||
:r ruta/a/otro
|
||||
```
|
||||
- Leer salida de un comando:
|
||||
```vim path=null start=null
|
||||
:r !ls -la
|
||||
```
|
||||
|
||||
Guardar y salir
|
||||
- Guardar: :w
|
||||
- Salir: :q
|
||||
- Guardar y salir: :wq (o :x)
|
||||
- Salir sin guardar: :q!
|
||||
- Guardar todo: :wa
|
||||
- Cerrar buffer (mantener ventana): :bd
|
||||
|
||||
Ventanas y buffers
|
||||
- Dividir: :sp (horizontal), :vsp (vertical)
|
||||
- Mover entre ventanas: Ctrl‑w h/j/k/l
|
||||
- Siguiente/anterior buffer: :bnext / :bprevious
|
||||
- Listar buffers: :ls
|
||||
|
||||
Portapapeles, copiar/pegar
|
||||
- Esta config habilita el portapapeles del sistema (unnamedplus). Los yanks van al portapapeles.
|
||||
- Copiar: y (yy línea entera)
|
||||
- Pegar: p / P
|
||||
- Portapapeles explícito: "+y para copiar, "+p para pegar
|
||||
|
||||
Explorador (Neo‑tree)
|
||||
- Toggle: <leader>e o <leader>fe
|
||||
- Atajos típicos: Enter abre; a añadir; r renombrar; d borrar; y copiar, p pegar; s/v split/vsplit
|
||||
|
||||
Búsqueda (Telescope)
|
||||
- Buscar archivos: <leader>ff
|
||||
- Grep en vivo: <leader>lg
|
||||
- Controles: Arriba/Abajo, Enter, Ctrl‑q a quickfix, Esc cierra
|
||||
|
||||
Terminal y LazyGit
|
||||
- Toggle terminal: <leader>t
|
||||
- En terminal: Ctrl‑\ y luego Ctrl‑n para Normal
|
||||
- LazyGit:
|
||||
```vim path=null start=null
|
||||
:LazyGit
|
||||
```
|
||||
|
||||
Diagnósticos y LSP
|
||||
- Lista de diagnósticos (Trouble): <leader>dt
|
||||
- Siguiente/anterior diagnóstico: <leader>dj / <leader>dk
|
||||
- Mostrar diagnóstico de la línea actual: <leader>dl
|
||||
- Formatear:
|
||||
```vim path=null start=null
|
||||
:lua vim.lsp.buf.format()
|
||||
```
|
||||
- Info LSP:
|
||||
```vim path=null start=null
|
||||
:LspInfo
|
||||
```
|
||||
|
||||
Comentarios, completado, pares, snippets
|
||||
- Comentarios: gcc (línea), gc en visual (selección)
|
||||
- nvim‑cmp: autocompletado; Enter/Tab según tu preferencia
|
||||
- Autopairs: cierra brackets/comillas
|
||||
- Snippets (luasnip): expande con Tab/Enter (según contexto)
|
||||
|
||||
Markdown preview
|
||||
- Toggle: <leader>mp
|
||||
|
||||
Mociones
|
||||
- hop y leap habilitados; consulta :help hop y :help leap
|
||||
|
||||
Corrección ortográfica
|
||||
- Inglés habilitado con wordlist. Comandos:
|
||||
- Activar/desactivar: :set spell / :set nospell
|
||||
- Siguiente/anterior error: ]s / [s
|
||||
- Sugerencias: z=
|
||||
- Añadir palabra: zg; deshacer: zw
|
||||
|
||||
Git
|
||||
- Gitsigns muestra cambios en el margen.
|
||||
- Diffview:
|
||||
```vim path=null start=null
|
||||
:DiffviewOpen
|
||||
:DiffviewClose
|
||||
```
|
||||
|
||||
Notificaciones y ayuda
|
||||
- nvim‑notify muestra avisos.
|
||||
- F1 desactivado. Usa:
|
||||
- <leader>h :help
|
||||
- <leader>H ayuda contextual
|
||||
|
||||
Which‑key y chuletas
|
||||
- Pulsa Space para ver which‑key.
|
||||
- Hay un plugin de chuleta interactiva.
|
||||
|
||||
Solución de problemas
|
||||
- Salud:
|
||||
```vim path=null start=null
|
||||
:checkhealth
|
||||
```
|
||||
- Mensajes:
|
||||
```vim path=null start=null
|
||||
:messages
|
||||
```
|
||||
- Reiniciar LSP:
|
||||
```vim path=null start=null
|
||||
:LspRestart
|
||||
```
|
||||
|
||||
Referencia rápida
|
||||
- Modos: i, v, Esc, :
|
||||
- Guardar/salir: :w / :q / :wq / :q!
|
||||
- Abrir/crear: :e archivo
|
||||
- Leer a buffer: :r archivo
|
||||
- Buscar: /patrón; n/N; limpiar <leader>nh
|
||||
- Explorador: <leader>e
|
||||
- Archivos: <leader>ff; Grep: <leader>lg
|
||||
- Terminal: <leader>t; LazyGit: :LazyGit
|
||||
- Diagnósticos: <leader>dt, <leader>dj / <leader>dk, <leader>dl
|
||||
- Ayuda: <leader>h, <leader>H
|
||||
|
||||
Consejo: empieza con which‑key. Pulsa Space y sigue las pistas en pantalla.
|
||||
|
||||
|
|
@ -1,178 +0,0 @@
|
|||
# Intro to Neovim on ZaneyOS
|
||||
|
||||
Welcome! This cheatsheet introduces Neovim as configured in ZaneyOS (modules/home/nvf.nix). It focuses on beginner tasks and the key plugins and keymaps in this setup.
|
||||
|
||||
Highlights of this configuration
|
||||
- Modern UI: Catppuccin theme, Lualine statusline, bufferline, icons
|
||||
- File explorer: Neo‑tree
|
||||
- Search: Telescope (find files, ripgrep live search)
|
||||
- LSP: Language Server Protocol (syntax, diagnostics, formatting on save)
|
||||
- Diagnostics UI: Trouble list; which‑key helper; notify popups
|
||||
- Terminal: ToggleTerm (inline terminal); LazyGit integration
|
||||
- Markdown: Live preview
|
||||
- Motions: hop and leap for fast jumping
|
||||
- Commenting, autocompletion, snippets, autopairs
|
||||
|
||||
What is the Leader key?
|
||||
- The “leader” is a prefix for custom shortcuts. In this config, it’s typically Space. Try pressing Space and you should see a which‑key popup listing available groups.
|
||||
- Notation: <leader>ff means press Space, then f, then f.
|
||||
|
||||
First steps
|
||||
- Start Neovim: from a terminal, run:
|
||||
```bash path=null start=null
|
||||
nvim
|
||||
```
|
||||
- Get help: press <leader>h to open a :help prompt, or <leader>H to open help for the word under cursor.
|
||||
- Escape Insert mode: press jk quickly (mapped to <Esc>).
|
||||
|
||||
Basic navigation and modes
|
||||
- Modes: Normal (default), Insert (i), Visual (v), Command (:)
|
||||
- Move: h left, j down, k up, l right
|
||||
- Words: w next word, b back word, e end of word
|
||||
- Lines: 0 start, ^ first non‑blank, $ end
|
||||
- Screens: Ctrl‑f forward page, Ctrl‑b back page
|
||||
- Search: /pattern, n next, N previous; clear highlights with <leader>nh
|
||||
|
||||
Open, create, read files
|
||||
- Open a file:
|
||||
```vim path=null start=null
|
||||
:e path/to/file
|
||||
```
|
||||
- Create a new file (just edit a new name):
|
||||
```vim path=null start=null
|
||||
:e newfile.txt
|
||||
```
|
||||
- Read a file into current buffer at cursor:
|
||||
```vim path=null start=null
|
||||
:r path/to/otherfile
|
||||
```
|
||||
- Read command output into buffer:
|
||||
```vim path=null start=null
|
||||
:r !ls -la
|
||||
```
|
||||
|
||||
Save and quit
|
||||
- Save: :w
|
||||
- Quit: :q
|
||||
- Save and quit: :wq (or :x)
|
||||
- Quit without saving: :q!
|
||||
- Save all: :wa
|
||||
- Close buffer (keep window): :bd
|
||||
|
||||
Windows and buffers
|
||||
- Split window: :sp (horizontal), :vsp (vertical)
|
||||
- Move between windows: Ctrl‑w h/j/k/l
|
||||
- Next/previous buffer: :bnext / :bprevious
|
||||
- List buffers: :ls
|
||||
|
||||
Clipboard, copy/paste
|
||||
- This config enables system clipboard (unnamedplus) and Wayland/X11 providers, so yanks go to your system clipboard.
|
||||
- Copy text: y in normal/visual (yy for a whole line)
|
||||
- Paste: p (after cursor) or P (before cursor)
|
||||
- System clipboard explicitly: "+y to copy, "+p to paste
|
||||
|
||||
File explorer (Neo‑tree)
|
||||
- Toggle Neo‑tree: <leader>e or <leader>fe
|
||||
- In Neo‑tree (common defaults):
|
||||
- Enter: open
|
||||
- a: add file/directory
|
||||
- r: rename
|
||||
- d: delete
|
||||
- y: copy, p: paste (within Neo‑tree)
|
||||
- s / v: open in split / vsplit (varies by setup)
|
||||
|
||||
Search (Telescope)
|
||||
- Find files by name: <leader>ff
|
||||
- Live grep (ripgrep content search): <leader>lg
|
||||
- Common Telescope controls: Up/Down to navigate, Enter to open, Ctrl‑q to send to quickfix list, Esc to close
|
||||
|
||||
Terminal and LazyGit
|
||||
- Toggle inline terminal: <leader>t
|
||||
- In the terminal buffer: press Ctrl‑\ then Ctrl‑n to return to Normal mode if needed
|
||||
- LazyGit integration is enabled; run:
|
||||
```vim path=null start=null
|
||||
:LazyGit
|
||||
```
|
||||
|
||||
Diagnostics and LSP
|
||||
- Diagnostic list (Trouble): <leader>dt (toggle)
|
||||
- Next/previous diagnostic: <leader>dj / <leader>dk
|
||||
- Show diagnostic for current line: <leader>dl
|
||||
- Formatting on save is enabled where supported. You can also run:
|
||||
```vim path=null start=null
|
||||
:lua vim.lsp.buf.format()
|
||||
```
|
||||
- LSP info / servers:
|
||||
```vim path=null start=null
|
||||
:LspInfo
|
||||
```
|
||||
|
||||
Comments, completion, pairs, snippets
|
||||
- Comments (comment‑nvim defaults):
|
||||
- gcc to toggle comment on current line
|
||||
- gc in visual mode to toggle selection
|
||||
- Autocompletion (nvim‑cmp): starts automatically; use Enter/Tab per your insert‑mode behavior
|
||||
- Auto‑pairs: brackets/quotes auto‑close
|
||||
- Snippets (luasnip): many language snippets are available; expand with Tab/Enter (depends on context)
|
||||
|
||||
Markdown preview
|
||||
- Toggle Markdown live preview: <leader>mp
|
||||
|
||||
Motion helpers
|
||||
- hop and leap are enabled for fast jumping; try searching for a character or pattern (consult :help hop and :help leap for details). Great for quickly moving around large files.
|
||||
|
||||
Spellcheck
|
||||
- English spellcheck is enabled with a programming wordlist that auto‑updates on first run.
|
||||
- Useful commands:
|
||||
- Toggle spell: :set spell / :set nospell
|
||||
- Next/prev misspelling: ]s / [s
|
||||
- Suggestions for word under cursor: z=
|
||||
- Add word to dictionary: zg
|
||||
- Undo added word: zw
|
||||
|
||||
Git integration
|
||||
- Signs in the gutter (gitsigns) show added/changed lines.
|
||||
- Diffview is available for rich diffs:
|
||||
```vim path=null start=null
|
||||
:DiffviewOpen
|
||||
:DiffviewClose
|
||||
```
|
||||
|
||||
Notifications and help
|
||||
- Notifications appear via nvim‑notify.
|
||||
- F1 is disabled to prevent accidental help popups; use:
|
||||
- <leader>h to open :help prompt
|
||||
- <leader>H for help on word under cursor
|
||||
|
||||
Which‑key and cheatsheet
|
||||
- Press the leader (Space) to see a which‑key popup of available keys.
|
||||
- A cheatsheet plugin is enabled—explore keymaps interactively.
|
||||
|
||||
Troubleshooting
|
||||
- Check health:
|
||||
```vim path=null start=null
|
||||
:checkhealth
|
||||
```
|
||||
- See messages/notifications:
|
||||
```vim path=null start=null
|
||||
:messages
|
||||
```
|
||||
- If completion/diagnostics feel off, reload LSP:
|
||||
```vim path=null start=null
|
||||
:LspRestart
|
||||
```
|
||||
|
||||
Quick reference
|
||||
- Modes: i (insert), v (visual), Esc (back to normal), : (command)
|
||||
- Save/quit: :w / :q / :wq / :q!
|
||||
- Open/create: :e file
|
||||
- Read file into current: :r file
|
||||
- Search: /pattern then n/N; clear highlights <leader>nh
|
||||
- File explorer: <leader>e (Neo‑tree)
|
||||
- Find files: <leader>ff; Live grep: <leader>lg
|
||||
- Terminal: <leader>t; LazyGit: :LazyGit
|
||||
- Diagnostics: <leader>dt (list), <leader>dj / <leader>dk (nav), <leader>dl (line)
|
||||
- Help: <leader>h, <leader>H
|
||||
|
||||
Tip: Start with which‑key. Press Space and follow the on‑screen hints to discover available actions in this setup.
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ zcli advanced options (for rebuild/update)
|
|||
- --no-nom disable nix-output-monitor
|
||||
|
||||
Profiles and when to use them
|
||||
- amd, intel, nvidia, nvidia-laptop (intel+NVIDIA hybrid), amd-hybrid (AMD+NVIDIA hybrid), vm
|
||||
- amd, intel, nvidia, nvidia-laptop (hybrid), vm
|
||||
- Choose with the <profile> argument in nh/nixos-rebuild commands (e.g., .#vm)
|
||||
|
||||
High-level architecture
|
||||
|
|
@ -49,7 +49,7 @@ High-level architecture
|
|||
- ../../modules/drivers
|
||||
- ../../modules/core
|
||||
- Flips toggles: drivers.*.enable and vm.guest-services.enable
|
||||
- Hybrid laptops: profiles/nvidia-laptop pulls intel/nvidia Bus IDs from the host’s variables.nix and wires nvidia-prime; profiles/amd-hybrid pulls amdgpu/nvidia Bus IDs and wires the AMD+NVIDIA offload module
|
||||
- Hybrid laptops: profiles/nvidia-laptop pulls intel/nvidia Bus IDs from the host’s variables.nix and wires nvidia-prime
|
||||
- hosts/<hostname>/
|
||||
- default.nix imports hardware.nix and host-packages.nix
|
||||
- variables.nix is the control panel for UX + feature toggles:
|
||||
|
|
@ -64,7 +64,7 @@ High-level architecture
|
|||
- nh.nix enables nh, configures GC, and pins programs.nh.flake = /home/${username}/zaneyos
|
||||
- modules/drivers
|
||||
- Aggregates AMD, Intel, NVIDIA, NVIDIA Prime, and VM guest services
|
||||
- nvidia-prime-drivers.nix exposes options.drivers.nvidia-prime.{enable,intelBusID,nvidiaBusID} consumed by the nvidia-laptop profile; nvidia-amd-hybrid.nix exposes options.drivers.nvidia-amd-hybrid.{enable,amdgpuBusID,nvidiaBusID} consumed by the amd-hybrid profile
|
||||
- nvidia-prime-drivers.nix exposes options.drivers.nvidia-prime.{enable,intelBusID,nvidiaBusID} consumed by the nvidia-laptop profile
|
||||
- vm-guest-services.nix enables qemu-guest, spice agents when vm.guest-services.enable = true
|
||||
- modules/home
|
||||
- default.nix composes the user environment (Hyprland, Waybar via waybarChoice, Rofi, Yazi, Kitty/WezTerm/Ghostty/Alacritty toggles, Zsh/Bash config, Git, NVF/Neovim, OBS, swaync, scripts, Stylix, optional Doom Emacs/VSCodium/Helix)
|
||||
|
|
|
|||
|
|
@ -1,88 +0,0 @@
|
|||
[English](./tmux.cheatsheet.md) | Español
|
||||
|
||||
# Tmux en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/tmux.nix
|
||||
|
||||
### ⌨️ ¿Qué es el Prefijo de Tmux?
|
||||
- El prefijo es una tecla especial que presionas antes de la mayoría de los comandos de tmux, para que tmux pueda distinguirlos de la escritura normal.
|
||||
- Guía de notación utilizada a continuación:
|
||||
- C-x = mantén presionada la tecla Control y presiona x (ej., C-a significa Control+a)
|
||||
- M-x = mantén presionada la tecla Alt/Meta y presiona x (a veces se muestra como Alt+x)
|
||||
- S-x = mantén presionada la tecla Shift y presiona x (a menudo implícito para las letras mayúsculas)
|
||||
- El prefijo predeterminado de Tmux es C-b (Control+b). En esta configuración se cambia a C-a (Control+a), lo que refleja el flujo de trabajo histórico de GNU Screen que muchos usuarios prefieren.
|
||||
|
||||
Ejemplos rápidos (con prefijo = C-a):
|
||||
- Nueva ventana: presiona C-a y luego c
|
||||
- Siguiente ventana: presiona C-a y luego n
|
||||
- Dividir horizontalmente: presiona C-a y luego |
|
||||
- Dividir verticalmente: presiona C-a y luego -
|
||||
- Redimensionar a la izquierda: presiona C-a y luego C-h (mantén Control y presiona h)
|
||||
|
||||
- Programa
|
||||
- tmux habilitado; prefijo: C-a; modo de teclas: vi; baseIndex: 1; pane-base-index: 1
|
||||
- baseIndex: la numeración de las ventanas comienza en 1 en lugar de 0
|
||||
- pane-base-index: la numeración de los paneles dentro de una ventana comienza en 1 en lugar de 0
|
||||
- La terminal anula el RGB; la terminal se establece en "kitty"; shell: zsh
|
||||
- Ratón: habilitado; reloj de 12 horas; límite de historial: 5000; renumerar ventanas: activado
|
||||
|
||||
- Estado/UX
|
||||
- Barra de estado en la parte superior; passthrough: activado; confirmaciones reducidas (kill-pane sin aviso)
|
||||
|
||||
- Plugins
|
||||
- vim-tmux-navigator, sensible, catppuccin
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado
|
||||
|
||||
Navegación
|
||||
- Prefijo h/j/k/l — seleccionar panel Izquierda/Abajo/Arriba/Derecha
|
||||
- Prefijo o — seleccionar el siguiente panel
|
||||
- C-Tab — siguiente ventana
|
||||
- C-S-Tab — ventana anterior
|
||||
- M-Tab — nueva ventana
|
||||
|
||||
Divisiones
|
||||
- Prefijo | — dividir ventana -h (directorio actual)
|
||||
- Prefijo \ — dividir ventana -fh (directorio actual)
|
||||
- Prefijo - — dividir ventana -v (directorio actual)
|
||||
- Prefijo _ — dividir ventana -fv (directorio actual)
|
||||
|
||||
Redimensionar
|
||||
- Prefijo C-h/C-j/C-k/C-l — redimensionar panel 15 columnas/filas en la dirección
|
||||
- Prefijo m — alternar zoom (redimensionar panel -Z)
|
||||
|
||||
Ventanas
|
||||
- Prefijo c — nueva ventana
|
||||
- Prefijo n — siguiente ventana
|
||||
- Prefijo p — ventana anterior (nota: la configuración asigna 'n' dos veces; se pretendía p para anterior)
|
||||
- Prefijo t — modo reloj
|
||||
- Prefijo q — mostrar paneles
|
||||
- Prefijo u — refrescar cliente
|
||||
|
||||
Sesión/Recargar
|
||||
- Prefijo r — cargar archivo ~/.config/tmux/tmux.conf
|
||||
- Prefijo x — matar panel (sin aviso)
|
||||
|
||||
Ventanas Emergentes (display-popup)
|
||||
- Prefijo C-y — lazygit (80%x80% en el directorio actual)
|
||||
- Prefijo C-n — solicitar nombre de sesión; crear y cambiar
|
||||
- Prefijo C-j — cambiar de sesión a través de fzf
|
||||
- Prefijo C-r — yazi (90%x90% en el directorio actual)
|
||||
- Prefijo C-z — nvim ~/ZaneyOS/flake.nix (90%x90%)
|
||||
- Prefijo C-t — zsh (75%x75% en el directorio actual)
|
||||
|
||||
Menú (display-menu)
|
||||
- Prefijo d — Menú de Dotfiles con entradas de apertura rápida:
|
||||
- f: flake.nix (ZaneyOS)
|
||||
- c: paquetes principales (ZaneyOS)
|
||||
- g: paquetes globales (ZaneyOS)
|
||||
- k: atajos de teclado (Hyprland)
|
||||
- w: reglas de ventana (Hyprland)
|
||||
- z: ZaneyOS flake.nix
|
||||
- p: paquetes de ZaneyOS
|
||||
- q: Salir
|
||||
|
||||
Notas
|
||||
- Los índices de paneles/ventanas comienzan en 1.
|
||||
- Passthrough de terminal y RGB habilitados para color verdadero.
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./tmux.cheatsheet.es.md)
|
||||
# Tmux on ddubsOS — Summary & Cheatsheet
|
||||
|
||||
# Tmux on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/tmux.nix
|
||||
|
||||
### ⌨️ What is the Tmux Prefix?
|
||||
|
|
@ -69,14 +68,14 @@ Popups (display-popup)
|
|||
- Prefix C-n — prompt for session name; create and switch
|
||||
- Prefix C-j — switch session via fzf
|
||||
- Prefix C-r — yazi (90%x90% at cwd)
|
||||
- Prefix C-z — nvim ~/ZaneyOS/flake.nix (90%x90%)
|
||||
- Prefix C-z — nvim ~/ddubsos/flake.nix (90%x90%)
|
||||
- Prefix C-t — zsh (75%x75% at cwd)
|
||||
|
||||
Menu (display-menu)
|
||||
- Prefix d — Dotfiles menu with quick-open entries:
|
||||
- f: flake.nix (ZaneyOS)
|
||||
- c: core packages (ZaneyOS)
|
||||
- g: global packages (ZaneyOS)
|
||||
- f: flake.nix (ddubsOS)
|
||||
- c: core packages (ddubsOS)
|
||||
- g: global packages (ddubsOS)
|
||||
- k: keybinds (Hyprland)
|
||||
- w: window rules (Hyprland)
|
||||
- z: ZaneyOS flake.nix
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
[English](./wezterm.cheatsheet.md) | Español
|
||||
|
||||
# WezTerm en ZaneyOS — Resumen y Cheatsheet
|
||||
## 🚀 Resumen de modules/home/terminals/wezterm.nix
|
||||
|
||||
- Programa
|
||||
- WezTerm habilitado con el paquete pkgs.wezterm
|
||||
- Configuración de Lua proporcionada en ~/.config/wezterm/wezterm.lua
|
||||
|
||||
- Apariencia y Comportamiento
|
||||
- Ocultar la barra de pestañas si solo hay una pestaña
|
||||
- Cadena de fuentes de respaldo: Maple Mono NF (delgada), Fira Code, JetBrains Mono, Hack
|
||||
- Fuente: FiraCode Regular (marco de la ventana: JetBrainsMono Nerd Font Mono); tamaño: 12
|
||||
- Esquema de colores: Catppuccin Mocha; colores personalizados de la barra de pestañas
|
||||
- Opacidad del fondo de la ventana: 0.75; relleno: 10 en todos los lados
|
||||
- Barra de pestañas elegante habilitada; fuente personalizada de window_frame
|
||||
- Cursor: BlinkingUnderline, velocidad de parpadeo 500
|
||||
- Term: xterm-256color
|
||||
- Rendimiento: max_fps 120; animation_fps 30
|
||||
- Wayland: enable_wayland = true
|
||||
- Advertencias de glifos faltantes: deshabilitadas
|
||||
|
||||
---
|
||||
|
||||
## 🗝️ Cheatsheet de Atajos de Teclado
|
||||
|
||||
Pestañas
|
||||
- Alt+t — Crear pestaña (CurrentPaneDomain)
|
||||
- Alt+w — Cerrar pestaña actual (sin confirmar)
|
||||
- Alt+n — Pestaña siguiente
|
||||
- Alt+p — Pestaña anterior
|
||||
|
||||
Paneles
|
||||
- Alt+v — Dividir verticalmente
|
||||
- Alt+h — Dividir horizontalmente
|
||||
- Alt+q — Cerrar panel actual (sin confirmar)
|
||||
- Alt+Teclas de flecha — Activar panel en la dirección de la flecha
|
||||
|
||||
Notas
|
||||
- Lua contiene ajustes opcionales relacionados con NVIDIA comentados.
|
||||
- default_prog se puede habilitar si el prompt de Starship tiene problemas de inicio.
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./wezterm.cheatsheet.es.md)
|
||||
# WezTerm on ddubsOS — Summary & Cheatsheet
|
||||
|
||||
# WezTerm on ZaneyOS — Summary & Cheatsheet
|
||||
## 🚀 Summary of modules/home/terminals/wezterm.nix
|
||||
|
||||
- Program
|
||||
|
|
|
|||
|
|
@ -1,110 +0,0 @@
|
|||
[English](./yazi.keymap.cheatsheet.md) | Español
|
||||
|
||||
# Mapa de Teclas de Yazi — ZaneyOS (Amigable para Humanos)
|
||||
## 🧭 Navegación
|
||||
- k / Arriba — Mover hacia arriba
|
||||
- j / Abajo — Mover hacia abajo
|
||||
- Ctrl+u / Shift+RePág — Media página hacia arriba
|
||||
- Ctrl+d / Shift+AvPág — Media página hacia abajo
|
||||
- Ctrl+b / RePág — Página hacia arriba
|
||||
- Ctrl+f / AvPág — Página hacia abajo
|
||||
- g g — Ir al principio
|
||||
- G — Ir al final
|
||||
- h / Izquierda — Ir al directorio padre
|
||||
- l / Derecha — Entrar al directorio hijo
|
||||
- H — Atrás (directorio anterior)
|
||||
- L — Adelante (siguiente directorio)
|
||||
|
||||
## 🧰 Selección y Modo Visual
|
||||
- Espacio — Alternar actual, luego mover hacia abajo
|
||||
- Ctrl+a — Seleccionar todo
|
||||
- Ctrl+r — Invertir selección
|
||||
- v — Entrar en modo visual (seleccionar)
|
||||
- V — Salir del modo visual
|
||||
|
||||
## 🔎 Búsqueda y Filtro
|
||||
- s — Buscar por nombre (fd)
|
||||
- S — Buscar por contenido (ripgrep)
|
||||
- Ctrl+s — Cancelar búsqueda
|
||||
- f — Filtrar archivos (inteligente)
|
||||
- / — Buscar siguiente (inteligente)
|
||||
- ? — Buscar anterior (inteligente)
|
||||
- n — Siguiente encontrado
|
||||
- N — Anterior encontrado
|
||||
|
||||
## 📂 Abrir y Vista Previa
|
||||
- o / Enter — Abrir
|
||||
- O / Shift+Enter — Abrir interactivamente
|
||||
- Tab — Resaltar archivo sobre el que se pasa el ratón
|
||||
- K / J — Desplazarse hacia arriba/abajo en la vista previa (±5)
|
||||
|
||||
## 📋 Portapapeles (Copiar/Mover)
|
||||
- y — Copiar (yank)
|
||||
- x — Cortar (yank cut)
|
||||
- p — Pegar
|
||||
- P — Pegar (sobrescribir)
|
||||
- - — Enlace simbólico de la ruta absoluta de lo copiado
|
||||
- _ — Enlace simbólico de la ruta relativa de lo copiado
|
||||
- Ctrl+- — Enlace duro de lo copiado
|
||||
- Y / X — Deshacer copia (cancelar yank)
|
||||
|
||||
## 🗑️ Eliminar
|
||||
- d — Enviar a la papelera lo seleccionado
|
||||
- D — Eliminar permanentemente
|
||||
|
||||
## ✏️ Crear y Renombrar
|
||||
- a — Crear archivo/directorio (usar / al final para carpetas)
|
||||
- r — Renombrar (cursor antes de la extensión)
|
||||
|
||||
## 🖥️ Shell
|
||||
- ; — Ejecutar comando de shell (interactivo)
|
||||
- : — Ejecutar comando de shell (bloquear hasta que termine)
|
||||
|
||||
## 👀 Archivos Ocultos
|
||||
- . — Alternar ocultos
|
||||
|
||||
## 🧭 Saltos Rápidos
|
||||
- g h — Ir a $HOME
|
||||
- g c — Ir a ~/.config
|
||||
- g d — Ir a ~/Downloads
|
||||
- g Espacio — Saltar interactivamente
|
||||
- z — Salto con Zoxide
|
||||
- Z — Salto con FZF (archivo/directorio)
|
||||
|
||||
## 🧾 Modo de Línea (Vista de Metadatos)
|
||||
- m s — Tamaño
|
||||
- m p — Permisos
|
||||
- m b — Fecha de creación
|
||||
- m m — Fecha de modificación
|
||||
- m o — Propietario
|
||||
- m n — Ninguno
|
||||
|
||||
## 🔤 Ordenar
|
||||
- , m / , M — Ordenar por fecha de modificación (asc/desc)
|
||||
- , b / , B — Ordenar por fecha de creación (asc/desc)
|
||||
- , e / , E — Ordenar por extensión (asc/desc)
|
||||
- , a / , A — Ordenar alfabéticamente (asc/desc)
|
||||
- , n / , N — Ordenar naturalmente (asc/desc)
|
||||
- , s / , S — Ordenar por tamaño (asc/desc)
|
||||
- , r — Ordenar aleatoriamente
|
||||
|
||||
## 🗂️ Pestañas
|
||||
- t — Nueva pestaña (directorio actual)
|
||||
- 1..9 — Cambiar a la pestaña 1..9
|
||||
- [ / ] — Pestaña anterior / siguiente
|
||||
- { / } — Intercambiar pestaña a la izquierda / derecha
|
||||
|
||||
## 🧮 Tareas y Ayuda
|
||||
- w — Mostrar tareas (gestor de tareas)
|
||||
- ~ / F1 — Abrir ayuda
|
||||
|
||||
## 🧩 Plugins (Anteponer)
|
||||
- g i — LazyGit (plugin)
|
||||
- l — Entrada inteligente (entrar a directorio o abrir archivo)
|
||||
|
||||
## 🧰 Modos: Resaltar, Elegir, Entrada, Confirmar, Autocompletar
|
||||
- Modo Resaltar: Esc/C-[/Ctrl+c/Tab para cerrar; k/j/Arriba/Abajo para navegar; h/l o Izquierda/Derecha para deslizar; c c para copiar celda; ~ / F1 para ayuda
|
||||
- Modo Elegir: Esc/C-[/Ctrl+c para cancelar; Enter para enviar; k/j/Arriba/Abajo para navegar; ~ / F1 para ayuda
|
||||
- Modo Entrada: Esc/C-[ para escapar; i/I/a/A para entrar en modo inserción/añadir (con movimientos al principio/final de línea); selecciones visuales (v, V, Ctrl-A/E); movimiento (h/l/Izquierda/Derecha/C-b/C-f/b/B/w/W/e/E/Alt-b/Alt-f); eliminar/retroceder/matar palabras; cortar/copiar/pegar (d/D/c/C/x/y/p/P); deshacer/rehacer (u/C-r); ~ / F1 para ayuda
|
||||
- Modo Confirmar: Esc/C-[/Ctrl+c/n para cancelar; Enter/y para enviar; k/j/Arriba/Abajo para navegar; ~ / F1 para ayuda
|
||||
- Modo Autocompletar: Ctrl+c para cancelar; Tab para enviar; Enter para enviar autocompletado + entrada; Alt-k/j o Arriba/Abajo/C-p/C-n para navegar; ~ / F1 para ayuda
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
English | [Español](./yazi.keymap.cheatsheet.es.md)
|
||||
# Yazi Keymap — ddubsOS (Human-friendly)
|
||||
|
||||
# Yazi Keymap — ZaneyOS (Human-friendly)
|
||||
## 🧭 Navigation
|
||||
- k / Up — Move up
|
||||
- j / Down — Move down
|
||||
|
|
|
|||
537
flake.lock
generated
|
|
@ -1,80 +1,15 @@
|
|||
{
|
||||
"nodes": {
|
||||
"alejandra": {
|
||||
"inputs": {
|
||||
"fenix": "fenix",
|
||||
"flakeCompat": "flakeCompat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777149230,
|
||||
"narHash": "sha256-pu6dVB6NrIj90rrqCgJ5pPlBzS76pW4WA6rE1rD1Gp8=",
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"rev": "8c4a4a572bee519b04e9bb9207e7d993f55ecb4f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "kamadorueda",
|
||||
"repo": "alejandra",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"antigravity-nix": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776411505,
|
||||
"narHash": "sha256-7HILfdTOvWzAMmfS3lQV3MDmVrr2Epj8x4c9F3mzOSE=",
|
||||
"owner": "jacopone",
|
||||
"repo": "antigravity-nix",
|
||||
"rev": "9f31d28882185d30c0e3082fbc52dab1cd4e879f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "jacopone",
|
||||
"repo": "antigravity-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"awww": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777136912,
|
||||
"narHash": "sha256-owyQdC2vi0kYC119fzyVQp0J4G0t1n4xXUwryhlBbqA=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "f66e12a76dbc4c669b2f1375f78bce49f5b19d66",
|
||||
"revCount": 1363,
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
}
|
||||
},
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1755819240,
|
||||
"narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
|
||||
"lastModified": 1746562888,
|
||||
"narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
|
||||
"owner": "SenchoPens",
|
||||
"repo": "base16.nix",
|
||||
"rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
|
||||
"rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -86,28 +21,27 @@
|
|||
"base16-fish": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1765809053,
|
||||
"narHash": "sha256-XCUQLoLfBJ8saWms2HCIj4NEN+xNsWBlU1NrEPcQG4s=",
|
||||
"lastModified": 1622559957,
|
||||
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "tomyun",
|
||||
"repo": "base16-fish",
|
||||
"rev": "86cbea4dca62e08fb7fd83a70e96472f92574782",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"base16-helix": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1776754714,
|
||||
"narHash": "sha256-E3OAK27smtATTmX45uoTSRsVD+Y+ZiVVfgM/tjpbtYg=",
|
||||
"lastModified": 1748408240,
|
||||
"narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-helix",
|
||||
"rev": "4d508123037e7851ad36ebf7d9c48b0e9e1eb581",
|
||||
"rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -133,36 +67,14 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fenix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"alejandra",
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-analyzer-src": "rust-analyzer-src"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1768113825,
|
||||
"narHash": "sha256-f09fAifGPEuRrz1DFY910jexq0DaBuQBbq7WcxQIUgs=",
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"rev": "55106e04d905c6a7726d0f6be77ed39a99f66a61",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "fenix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1776136500,
|
||||
"narHash": "sha256-r0gN2brVWA351zwMV0Flmlcd6SGMvYqFbvC3DfKFM8Y=",
|
||||
"lastModified": 1748383148,
|
||||
"narHash": "sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "0f8ba203d475587f477e7ae12661bd8459e225b7",
|
||||
"rev": "4eb2714fbed2b80e234312611a947d6cb7d70caf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -172,22 +84,6 @@
|
|||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1761588595,
|
||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1751685974,
|
||||
|
|
@ -206,16 +102,16 @@
|
|||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nixvim",
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777988971,
|
||||
"narHash": "sha256-qIoWPDs+0/8JecyYgE3gpKQxW/4bLW/gp45vow9ioCQ=",
|
||||
"lastModified": 1756770412,
|
||||
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "0678d8986be1661af6bb555f3489f2fdfc31f6ff",
|
||||
"rev": "4524271976b625a4a605beefd893f270620fd751",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -225,27 +121,6 @@
|
|||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769996383,
|
||||
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_3": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"stylix",
|
||||
|
|
@ -253,11 +128,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775087534,
|
||||
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||
"lastModified": 1749398372,
|
||||
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -266,40 +141,6 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flakeCompat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"fromYaml": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
|
@ -319,17 +160,17 @@
|
|||
"gnome-shell": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767737596,
|
||||
"narHash": "sha256-eFujfIUQDgWnSJBablOuG+32hCai192yRdrNHTv0a+s=",
|
||||
"lastModified": 1744584021,
|
||||
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
|
||||
"owner": "GNOME",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "GNOME",
|
||||
"ref": "48.1",
|
||||
"repo": "gnome-shell",
|
||||
"rev": "ef02db02bf0ff342734d525b5767814770d85b49",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
@ -340,48 +181,27 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778503501,
|
||||
"narHash": "sha256-08L/X4/do7nET4rzidJ76eV/1r+mB7DchVpdPypsghc=",
|
||||
"lastModified": 1758463745,
|
||||
"narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "85ba629c79449badf4338117c27f0ee92b4b9f1a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "master",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"zen-browser",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777594677,
|
||||
"narHash": "sha256-h90sHwoRJLRvaTpZroTvU2JRHDFj0czUafM8eqLe1RI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "899c08a15beae5da51a5cecd6b2b994777a948da",
|
||||
"rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-25.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"mnw": {
|
||||
"locked": {
|
||||
"lastModified": 1777828893,
|
||||
"narHash": "sha256-gVWVnmyNr74BVKfhMMZDWkhx2699dhmZ2g0W8TTHtkk=",
|
||||
"lastModified": 1756659871,
|
||||
"narHash": "sha256-v6Rh4aQ6RKjM2N02kK9Usn0Ix7+OY66vNpeklc1MnGE=",
|
||||
"owner": "Gerg-L",
|
||||
"repo": "mnw",
|
||||
"rev": "c1c0b544bfabe6669b5a6a0383ccb475fe60258b",
|
||||
"rev": "ed6cc3e48557ba18266e598a5ebb6602499ada16",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -390,35 +210,13 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ndg": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776882296,
|
||||
"narHash": "sha256-DWZozXwMsgvUqfVlL1mQ8dOxW7GJ/8CdyaDN+1niZRg=",
|
||||
"owner": "feel-co",
|
||||
"repo": "ndg",
|
||||
"rev": "ab7d78d4884b3a34968cf9fa3d16c0c1246d5c6e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "feel-co",
|
||||
"ref": "refs/tags/v2.6.0",
|
||||
"repo": "ndg",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-flatpak": {
|
||||
"locked": {
|
||||
"lastModified": 1767983141,
|
||||
"narHash": "sha256-7ZCulYUD9RmJIDULTRkGLSW1faMpDlPKcbWJLYHoXcs=",
|
||||
"lastModified": 1739444422,
|
||||
"narHash": "sha256-iAVVHi7X3kWORftY+LVbRiStRnQEob2TULWyjMS6dWg=",
|
||||
"owner": "gmodena",
|
||||
"repo": "nix-flatpak",
|
||||
"rev": "440818969ac2cbd77bfe025e884d0aa528991374",
|
||||
"rev": "5e54c3ca05a7c7d968ae1ddeabe01d2a9bc1e177",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -430,118 +228,52 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1777954456,
|
||||
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||
"lastModified": 1758791193,
|
||||
"narHash": "sha256-F8WmEwFoHsnix7rt290R0rFXNJiMbClMZyIC/e+HYf0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||
"rev": "25e53aa156d47bad5082ff7618f5feb1f5e02d01",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"ref": "nixos-25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1774386573,
|
||||
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
|
||||
"lastModified": 1756696532,
|
||||
"narHash": "sha256-6FWagzm0b7I/IGigOv9pr6LL7NQ86mextfE8g8Q6HBg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
|
||||
"rev": "58dcbf1ec551914c3756c267b8b9c8c86baa1b2f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1777268161,
|
||||
"narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=",
|
||||
"lastModified": 1751211869,
|
||||
"narHash": "sha256-1Cu92i1KSPbhPCKxoiVG5qnoRiKTgR5CcGSRyLpOd7Y=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76",
|
||||
"rev": "b43c397f6c213918d6cfe6e3550abfe79b5d1c51",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"ref": "nixos-25.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixvim": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778510615,
|
||||
"narHash": "sha256-cMNCx8mQTJnVkA6kt3B3ArGpCOOniYn644hH0mJHSsw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "fa8cd368d27cf9541f086485884928315abdcc8c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"noctalia-qs": "noctalia-qs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778464608,
|
||||
"narHash": "sha256-tZRvyaKVP0DJ9DSFrr6K/l3X74Orfirk3Jjo7+br4Qs=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"rev": "761869a561548874fe7e293b157fd7841576b367",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia-qs": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"noctalia",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_3",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778377995,
|
||||
"narHash": "sha256-uUzHDHqQF1rdVNiTa05L0mML3/d7fpbAShjCRWxbrBQ=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-qs",
|
||||
"rev": "d8327a723eed6dd9aebe8e0b162126f390e827df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-qs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
|
|
@ -551,14 +283,15 @@
|
|||
"nixpkgs": [
|
||||
"stylix",
|
||||
"nixpkgs"
|
||||
]
|
||||
],
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777598946,
|
||||
"narHash": "sha256-X239dAGaU1+gfDj8jKH8GzlqKMcxaVfXOio+uzBOkeE=",
|
||||
"lastModified": 1751320053,
|
||||
"narHash": "sha256-3m6RMw0FbbaUUa01PNaMLoO7D99aBClmY5ed9V3vz+0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "5d55af01c0f86be583931fe99207fc56c14134b3",
|
||||
"rev": "cbde1735782f9c2bb2c63d5e05fba171a14a4670",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -569,19 +302,18 @@
|
|||
},
|
||||
"nvf": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"mnw": "mnw",
|
||||
"ndg": "ndg",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"systems": "systems_4"
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778408907,
|
||||
"narHash": "sha256-QXjdRz5fssxAWDrtfBYxvjMtTqJzQAbnAmX3u22xCck=",
|
||||
"lastModified": 1758271661,
|
||||
"narHash": "sha256-ENqd2/33uP5vB44ClDjjAV+J78oF8q1er4QUZuT8Z7g=",
|
||||
"owner": "notashelf",
|
||||
"repo": "nvf",
|
||||
"rev": "e86a92e4b29b499e5f1285b737b7612115103da9",
|
||||
"rev": "b7571df4d6e9ac08506a738ddceeec0b141751b0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -592,55 +324,11 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"alejandra": "alejandra",
|
||||
"antigravity-nix": "antigravity-nix",
|
||||
"awww": "awww",
|
||||
"home-manager": "home-manager",
|
||||
"nix-flatpak": "nix-flatpak",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixvim": "nixvim",
|
||||
"noctalia": "noctalia",
|
||||
"nvf": "nvf",
|
||||
"stylix": "stylix",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"rust-analyzer-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1768083390,
|
||||
"narHash": "sha256-TGWPJq2mXwxfAe83iZ18DIqXC4sOSj7RkW9b59h6Ox4=",
|
||||
"owner": "rust-lang",
|
||||
"repo": "rust-analyzer",
|
||||
"rev": "e42e8ff582ba12a88b6845525d08b6428e6d0fb9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rust-lang",
|
||||
"ref": "nightly",
|
||||
"repo": "rust-analyzer",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"awww",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1764038373,
|
||||
"narHash": "sha256-M6w2wNBRelcavoDAyFL2iO4NeWknD40ASkH1S3C0YGM=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "ab3536fe850211a96673c6ffb2cb88aab8071cc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
"stylix": "stylix"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
|
|
@ -650,27 +338,28 @@
|
|||
"base16-helix": "base16-helix",
|
||||
"base16-vim": "base16-vim",
|
||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"flake-parts": "flake-parts_3",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"gnome-shell": "gnome-shell",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nur": "nur",
|
||||
"systems": "systems_5",
|
||||
"systems": "systems_2",
|
||||
"tinted-foot": "tinted-foot",
|
||||
"tinted-kitty": "tinted-kitty",
|
||||
"tinted-schemes": "tinted-schemes",
|
||||
"tinted-tmux": "tinted-tmux",
|
||||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778104276,
|
||||
"narHash": "sha256-/DSSnU0LLmOTG/OCgGwYpxP6+5YvxRx2g/GhI4x6aCU=",
|
||||
"lastModified": 1759050585,
|
||||
"narHash": "sha256-Mj99rGy+K9jaQ85U2YWydZ9OKCIAdkxClrJlfG04GxU=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "18ed8d270231e067fe2739998479ed5d7c659c2c",
|
||||
"rev": "3f71498ed14405aea347b9f5b7f56d97e64e904c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "danth",
|
||||
"ref": "master",
|
||||
"ref": "release-25.05",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -705,48 +394,20 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_3": {
|
||||
"tinted-foot": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||
"lastModified": 1726913040,
|
||||
"narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-foot",
|
||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_5": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-foot",
|
||||
"rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
@ -769,11 +430,11 @@
|
|||
"tinted-schemes": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1777041405,
|
||||
"narHash": "sha256-BAGZ7ObFV/9Z61OJZun7ifPyhkuHqNuW1QIhQ8LuzCo=",
|
||||
"lastModified": 1750770351,
|
||||
"narHash": "sha256-LI+BnRoFNRa2ffbe3dcuIRYAUcGklBx0+EcFxlHj0SY=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "schemes",
|
||||
"rev": "5f868b3a338b6904c47f3833b9c411be641983a8",
|
||||
"rev": "5a775c6ffd6e6125947b393872cde95867d85a2a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -785,11 +446,11 @@
|
|||
"tinted-tmux": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1777169200,
|
||||
"narHash": "sha256-h7dDbIzP5hDr9v97w9PL6jdAgXawmj6krcH+959rqpU=",
|
||||
"lastModified": 1751159871,
|
||||
"narHash": "sha256-UOHBN1fgHIEzvPmdNMHaDvdRMgLmEJh2hNmDrp3d3LE=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "tinted-tmux",
|
||||
"rev": "f798c2dce44ef815bb6b8f05a82135c7942d35ac",
|
||||
"rev": "bded5e24407cec9d01bd47a317d15b9223a1546c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -801,11 +462,11 @@
|
|||
"tinted-zed": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1777463218,
|
||||
"narHash": "sha256-Bhkozqtq3BKLqWTlmKm8uAptfX4aRGI8QX3eEL54Vpc=",
|
||||
"lastModified": 1751158968,
|
||||
"narHash": "sha256-ksOyv7D3SRRtebpXxgpG4TK8gZSKFc4TIZpR+C98jX8=",
|
||||
"owner": "tinted-theming",
|
||||
"repo": "base16-zed",
|
||||
"rev": "5768d08ed2e7944a26a958868cdb073cb8856dae",
|
||||
"rev": "86a470d94204f7652b906ab0d378e4231a5b3384",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -817,17 +478,17 @@
|
|||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"noctalia",
|
||||
"noctalia-qs",
|
||||
"stylix",
|
||||
"nur",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775636079,
|
||||
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
|
||||
"lastModified": 1733222881,
|
||||
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
|
||||
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -835,28 +496,6 @@
|
|||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778377655,
|
||||
"narHash": "sha256-wHsd+tesB3FtwUZbGjU/sWMZhw0m0yYBSXufMDVyQmc=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "101d6731d7b163ef4f6fab8c6eea7da4ddb52ec3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "0xc000022070",
|
||||
"ref": "beta",
|
||||
"repo": "zen-browser-flake",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
|||
87
flake.nix
|
|
@ -3,61 +3,39 @@
|
|||
|
||||
inputs = {
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/master";
|
||||
url = "github:nix-community/home-manager/release-25.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
nvf.url = "github:notashelf/nvf";
|
||||
stylix.url = "github:danth/stylix/master";
|
||||
stylix.url = "github:danth/stylix/release-25.05";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
|
||||
|
||||
noctalia = {
|
||||
url = "github:noctalia-dev/noctalia-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# Hypersysinfo (Optional)
|
||||
#hyprsysteminfo.url = "github:hyprwm/hyprsysteminfo";
|
||||
|
||||
# Checking nixvim to see if it's better
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Google Antigravity (IDE)
|
||||
antigravity-nix = {
|
||||
url = "github:jacopone/antigravity-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser = {
|
||||
url = "github:0xc000022070/zen-browser-flake/beta";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
alejandra = {
|
||||
url = "github:kamadorueda/alejandra";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
awww = {
|
||||
url = "git+https://codeberg.org/LGFae/awww";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
# QuickShell (optional add quickshell to outputs to enable)
|
||||
#quickshell = {
|
||||
# url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
#};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nixvim,
|
||||
nix-flatpak,
|
||||
alejandra,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
outputs =
|
||||
{
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nix-flatpak,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
host = "zaneyos-24-vm";
|
||||
profile = "vm";
|
||||
username = "dwilliams";
|
||||
username = "dwilliams";
|
||||
|
||||
# Deduplicate nixosConfigurations while preserving the top-level 'profile'
|
||||
mkNixosConfig = gpuProfile:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
# Deduplicate nixosConfigurations while preserving the top-level 'profile'
|
||||
mkNixosConfig = gpuProfile: nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
|
|
@ -66,21 +44,18 @@
|
|||
inherit profile; # keep using the let-bound profile for modules/scripts
|
||||
};
|
||||
modules = [
|
||||
./modules/core/overlays.nix
|
||||
./profiles/${gpuProfile}
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
};
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
amd = mkNixosConfig "amd";
|
||||
nvidia = mkNixosConfig "nvidia";
|
||||
nvidia-laptop = mkNixosConfig "nvidia-laptop";
|
||||
amd-nvidia-hybrid = mkNixosConfig "amd-nvidia-hybrid";
|
||||
intel = mkNixosConfig "intel";
|
||||
vm = mkNixosConfig "vm";
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
amd = mkNixosConfig "amd";
|
||||
nvidia = mkNixosConfig "nvidia";
|
||||
nvidia-laptop = mkNixosConfig "nvidia-laptop";
|
||||
intel = mkNixosConfig "intel";
|
||||
vm = mkNixosConfig "vm";
|
||||
};
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = inputs.alejandra.packages.x86_64-linux.default;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
|
|
|
|||
|
|
@ -1,36 +1,35 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports =
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/dd005850-6230-40c4-9d70-8c8cf443658d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/dd005850-6230-40c4-9d70-8c8cf443658d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-b7565781-148e-4c94-9c76-36c84dd93dc8".device = "/dev/disk/by-uuid/b7565781-148e-4c94-9c76-36c84dd93dc8";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/C2A6-DF56";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
fileSystems."/boot" =
|
||||
{
|
||||
device = "/dev/disk/by-uuid/C2A6-DF56";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
|
|
|||
|
|
@ -1,28 +1,7 @@
|
|||
{configs, pkgs, ...}: {
|
||||
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Add local pacakaged here
|
||||
audacity
|
||||
discord
|
||||
nodejs
|
||||
];
|
||||
# Add host specific flatpaks here
|
||||
services = {
|
||||
flatpak = {
|
||||
packages = [
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.auto-cpufreq.enable = false;
|
||||
services.auto-cpufreq.settings = {
|
||||
battery = {
|
||||
governor = "powersave";
|
||||
turbo = "never";
|
||||
};
|
||||
charger = {
|
||||
governor = "performance";
|
||||
turbo = "auto";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
# Git Configuration ( For Pulling Software Repos )
|
||||
gitUsername = "Don Williams";
|
||||
gitEmail = "don.e.williams@gmail.com";
|
||||
gitUsername = "Tyler Kelley";
|
||||
gitEmail = "tylerzanekelley@gmail.com";
|
||||
|
||||
# Set Displau Manager
|
||||
# `tui` for Text login
|
||||
# `sddm` for graphical GUI (default)
|
||||
# SDDM background is set with stylixImage
|
||||
displayManager = "tui";
|
||||
displayManager = "sddm";
|
||||
|
||||
# Emable/disable bundled applications
|
||||
tmuxEnable = false;
|
||||
|
|
@ -15,14 +15,11 @@
|
|||
weztermEnable = false;
|
||||
ghosttyEnable = false;
|
||||
vscodeEnable = false;
|
||||
antigravityEnable = false; # Google port of vscodium
|
||||
# Note: This is evil-helix with VIM keybindings by default
|
||||
helixEnable = false;
|
||||
#To install: Enable here, zcli rebuild, then run zcli doom install
|
||||
doomEmacsEnable = false;
|
||||
|
||||
# Python development tools are included by default
|
||||
|
||||
# Hyprland Settings
|
||||
# Examples:
|
||||
# extraMonitorSettings = "monitor = Virtual-1,1920x1080@60,auto,1";
|
||||
|
|
@ -30,14 +27,10 @@
|
|||
# You can configure multiple monitors.
|
||||
# Inside the quotes, create a new line for each monitor.
|
||||
extraMonitorSettings = "
|
||||
monitor = Virtual-1,1920x1080@60,auto,1
|
||||
|
||||
";
|
||||
|
||||
# Bar/Shell Settings
|
||||
# Choose between noctalia or waybar
|
||||
barChoice = "noctalia";
|
||||
|
||||
# Waybar Settings (used when barChoice = "waybar")
|
||||
# Waybar Settings
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
|
|
@ -47,21 +40,6 @@
|
|||
# or as a flatpak
|
||||
browser = "brave";
|
||||
|
||||
# Host-level default applications (picked up by Home Manager xdg.mimeApps)
|
||||
# Uncomment and adjust the .desktop IDs to set per-host defaults.
|
||||
# mimeDefaultApps = {
|
||||
# # PDFs
|
||||
# "application/pdf" = ["okular.desktop"];
|
||||
# "application/x-pdf" = ["okular.desktop"];
|
||||
# # Web browser
|
||||
# "x-scheme-handler/http" = ["google-chrome.desktop"]; # or brave-browser.desktop, firefox.desktop
|
||||
# "x-scheme-handler/https" = ["google-chrome.desktop"];
|
||||
# "text/html" = ["google-chrome.desktop"];
|
||||
# # Files
|
||||
# "inode/directory" = ["thunar.desktop"]; # file manager
|
||||
# "text/plain" = ["nvim.desktop"]; # or code.desktop
|
||||
# };
|
||||
|
||||
# Available Options:
|
||||
# Kitty, ghostty, wezterm, aalacrity
|
||||
# Note: kitty, wezterm, alacritty have to be enabled in `variables.nix`
|
||||
|
|
@ -69,12 +47,10 @@
|
|||
terminal = "kitty"; # Set Default System Terminal
|
||||
|
||||
keyboardLayout = "us";
|
||||
keyboardVariant = "";
|
||||
consoleKeyMap = "us";
|
||||
|
||||
# For hybrid support (Intel/NVIDIA Prime or AMD/NVIDIA)
|
||||
# For Nvidia Prime support
|
||||
intelID = "PCI:1:0:0";
|
||||
amdgpuID = "PCI:5:0:0";
|
||||
nvidiaID = "PCI:0:2:0";
|
||||
|
||||
# Enable NFS
|
||||
|
|
@ -84,8 +60,8 @@
|
|||
printEnable = false;
|
||||
|
||||
# Enable Thunar GUI File Manager
|
||||
# Yazi is alternate File Manager
|
||||
thunarEnable = true;
|
||||
# Yazi is default File Manager
|
||||
thunarEnable = false;
|
||||
|
||||
# Themes, waybar and animation.
|
||||
# Only uncomment your selection
|
||||
|
|
@ -95,52 +71,38 @@
|
|||
# This will set your color palette
|
||||
# Default background
|
||||
# Add new images to ~/zaneyos/wallpapers
|
||||
#stylixImage = ../../wallpapers/mountainscapedark.jpg;
|
||||
stylixImage = ../../wallpapers/mountainscapedark.jpg;
|
||||
#stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
||||
#stylixImage = ../../wallpapers/Anime-Purple-eyes.png;
|
||||
stylixImage = ../../wallpapers/Rainnight.jpg;
|
||||
#stylixImage = ../../wallpapers/Rainnight.jpg;
|
||||
#stylixImage = ../../wallpapers/zaney-wallpaper.jpg;
|
||||
#stylixImage = ../../wallpapers/nix-wallpaper-stripes-logo.png;
|
||||
#stylixImage = ../../wallpapers/nix-wallpapers-strips-logo.jpg;
|
||||
#stylixImage = ../../wallpapers/beautifulmountainscape.jpg;
|
||||
|
||||
# Set Waybar
|
||||
# Available Options:
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
# Throwback to ZaneyOS v1.0
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jerry.nix;
|
||||
# Very colorful and bright colors
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
# DWM styled waybars from Matt at TheLinuxCast
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jerry.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-TheBlackDon.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubsos-v1.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-ml4w-modern.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-oglo-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-transparent.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-ultradark.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-pctrade-catppuccin.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-mangowc-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-old-ddubsos.nix;
|
||||
|
||||
# Set Animation style
|
||||
# Available options are:
|
||||
#animChoice = ../../modules/home/hyprland/animations-def.nix;
|
||||
# animations-def.nix (default)
|
||||
# animations-end4.nix (end-4 project very fluid)
|
||||
# animations-dynamic.nix (ml4w project)
|
||||
# animations-moving.nix (ml4w project)
|
||||
animChoice = ../../modules/home/hyprland/animations-def.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-moving.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-hyde-optimized.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-1.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-2.nix;
|
||||
animChoice = ../../modules/home/hyprland/animations-ml4w-classic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-fast.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-high.nix;
|
||||
|
||||
# Set network hostId if required (needed for zfs)
|
||||
# Otherwise leave as-is
|
||||
|
|
|
|||
6
hosts/nixstation/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
];
|
||||
}
|
||||
58
hosts/nixstation/hardware.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ config
|
||||
, lib
|
||||
, modulesPath
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
boot = {
|
||||
initrd = {
|
||||
availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"ehci_pci"
|
||||
"ahci"
|
||||
"nvme"
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
];
|
||||
kernelModules = [ ];
|
||||
luks.devices = {
|
||||
"luks-8941ac93-f043-46d1-b128-37d5e846303f".device = "/dev/disk/by-uuid/8941ac93-f043-46d1-b128-37d5e846303f";
|
||||
};
|
||||
};
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/8bac633b-c4e6-44bc-83b3-97b5472594e8";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/BC0C-F843";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
"/home/zaney/BFD" = {
|
||||
device = "/dev/disk/by-uuid/5A30E2CC30E2AE67";
|
||||
fsType = "ntfs";
|
||||
options = [
|
||||
"defaults"
|
||||
"umask=000"
|
||||
"dmask=027"
|
||||
"fmask=137"
|
||||
"uid=1000"
|
||||
"gid=1000"
|
||||
"windows_names"
|
||||
];
|
||||
};
|
||||
};
|
||||
swapDevices = [ ];
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
13
hosts/nixstation/host-packages.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
audacity
|
||||
discord
|
||||
nodejs
|
||||
obs-studio
|
||||
handbrake
|
||||
yt-dlp
|
||||
android-studio
|
||||
android-studio-tools
|
||||
android-tools
|
||||
];
|
||||
}
|
||||
86
hosts/nixstation/variables.nix
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
# Git Configuration ( For Pulling Software Repos )
|
||||
gitUsername = "Tyler Kelly";
|
||||
gitEmail = "tylerzanekelly@gmail.com";
|
||||
|
||||
# Set Displau Manager
|
||||
# `tui` for Text login
|
||||
# `sddm` for graphical GUI
|
||||
# SDDM background is set with stylixImage
|
||||
displayManager = "sddm";
|
||||
|
||||
# Emable/disable bundled applications
|
||||
tmuxEnable = false;
|
||||
alacrittyEnable = false;
|
||||
weztermEnable = false;
|
||||
ghosttyEnable = false;
|
||||
vscodeEnable = false;
|
||||
helixEnable = false;
|
||||
#To install rebuild, then run zcli doom install
|
||||
doomEmacsEnable = false;
|
||||
|
||||
# P10K or starship prompt
|
||||
userPrompt = "starship";
|
||||
|
||||
# Hyprland Settings
|
||||
extraMonitorSettings = "monitor=Virtual-1,1920x1080@75,auto,1";
|
||||
|
||||
# Waybar Settings
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
browser = "brave"; # Set Default Browser (google-chrome-stable for google-chrome)
|
||||
terminal = "kitty"; # Set Default System Terminal
|
||||
keyboardLayout = "us";
|
||||
consoleKeyMap = "us";
|
||||
|
||||
# For Nvidia Prime support
|
||||
intelID = "PCI:1:0:0";
|
||||
nvidiaID = "PCI:0:2:0";
|
||||
|
||||
# Enable NFS
|
||||
enableNFS = true;
|
||||
|
||||
# Enable Printing Support
|
||||
printEnable = false;
|
||||
|
||||
# Enable Thunar GUI File Manager
|
||||
thunarEnable = true;
|
||||
|
||||
# Set Stylix Image
|
||||
# This will set your color palette
|
||||
# Default background
|
||||
# Add new images to ~/zaneyos/wallpapers
|
||||
#stylixImage = ../../wallpapers/mountainscapedark.jpg;
|
||||
stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
||||
#stylixImage = ../../wallpapers/Anime-Purple-eyes.png;
|
||||
#stylixImage = ../../wallpapers/Rainnight.jpg;
|
||||
#stylixImage = ../../wallpapers/zaney-wallpaper.jpg;
|
||||
#stylixImage = ../../wallpapers/nix-wallpapers-strips-logo.jpg;
|
||||
#stylixImage = ../../wallpapers/beautifulmountainscape.jpg;
|
||||
|
||||
# Set Waybar
|
||||
# Available options:
|
||||
#waybarChoice= ../../modules/home/waybar/waybar-simple.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jerry.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
|
||||
# Set Animation style
|
||||
# Available options are:
|
||||
# animations-def.nix (default)
|
||||
# animations-end4.nix (end-4 project)
|
||||
# animations-dynamic.nix (ml4w project)
|
||||
# animations-moving.nix (ml4w project)
|
||||
animChoice = ../../modules/home/hyprland/animations-end4.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-def.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-moving.nix;
|
||||
|
||||
# Set network hostId if required (needed for zfs)
|
||||
# Otherwise leave as-is
|
||||
hostId = "5ab03f50";
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
|
|
|
|||
|
|
@ -1,47 +1,41 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/e5fc1006-4d0b-41db-8c43-22b3cb8110c6";
|
||||
fsType = "ext4";
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
extraModulePackages = [ ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/9287-3738";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
fileSystems = {
|
||||
"/"
|
||||
= {
|
||||
device = "/dev/disk/by-uuid/e5fc1006-4d0b-41db-8c43-22b3cb8110c6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/9287-3738";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
"/mnt/nas" = {
|
||||
device = "192.168.40.11:/volume1/DiskStation54TB";
|
||||
fsType = "nfs";
|
||||
options = [ "rw" "bg" "tcp" "soft" "_netdev" ];
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/mnt/nas" = {
|
||||
device = "192.168.40.11:/volume1/DiskStation54TB";
|
||||
fsType = "nfs";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/a6e9dd8b-6767-44f4-84fa-30d02d90d087";}
|
||||
];
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/a6e9dd8b-6767-44f4-84fa-30d02d90d087"; }
|
||||
];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
audacity
|
||||
discord
|
||||
nodejs
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,23 +7,19 @@
|
|||
# `tui` for Text login
|
||||
# `sddm` for graphical GUI (default)
|
||||
# SDDM background is set with stylixImage
|
||||
displayManager = "tui";
|
||||
displayManager = "sddm";
|
||||
|
||||
# Emable/disable bundled applications
|
||||
tmuxEnable = true;
|
||||
alacrittyEnable = true;
|
||||
weztermEnable = true;
|
||||
ghosttyEnable = true;
|
||||
vscodeEnable = true;
|
||||
antigravityEnable = true; # Google port of vscodium
|
||||
tmuxEnable = false;
|
||||
alacrittyEnable = false;
|
||||
weztermEnable = false;
|
||||
ghosttyEnable = false;
|
||||
vscodeEnable = false;
|
||||
# Note: This is evil-helix with VIM keybindings by default
|
||||
helixEnable = true;
|
||||
helixEnable = false;
|
||||
#To install: Enable here, zcli rebuild, then run zcli doom install
|
||||
doomEmacsEnable = true;
|
||||
|
||||
# Python development tools
|
||||
pythonEnable = false;
|
||||
|
||||
# Hyprland Settings
|
||||
# Examples:
|
||||
# extraMonitorSettings = "monitor = Virtual-1,1920x1080@60,auto,1";
|
||||
|
|
@ -34,11 +30,7 @@
|
|||
|
||||
";
|
||||
|
||||
# Bar/Shell Settings
|
||||
# Choose between noctalia or waybar
|
||||
barChoice = "noctalia";
|
||||
|
||||
# Waybar Settings (used when barChoice = "waybar")
|
||||
# Waybar Settings
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
|
|
@ -46,22 +38,7 @@
|
|||
# This does NOT install your browser
|
||||
# You need to install it by adding it to the `packages.nix`
|
||||
# or as a flatpak
|
||||
browser = "google-chrome";
|
||||
|
||||
# Host-level default applications (picked up by Home Manager xdg.mimeApps)
|
||||
# Uncomment and adjust the .desktop IDs to set per-host defaults.
|
||||
# mimeDefaultApps = {
|
||||
# # PDFs
|
||||
# "application/pdf" = ["okular.desktop"];
|
||||
# "application/x-pdf" = ["okular.desktop"];
|
||||
# # Web browser
|
||||
# "x-scheme-handler/http" = ["google-chrome.desktop"]; # or brave-browser.desktop, firefox.desktop
|
||||
# "x-scheme-handler/https" = ["google-chrome.desktop"];
|
||||
# "text/html" = ["google-chrome.desktop"];
|
||||
# # Files
|
||||
# "inode/directory" = ["thunar.desktop"]; # file manager
|
||||
# "text/plain" = ["nvim.desktop"]; # or code.desktop
|
||||
# };
|
||||
browser = "brave";
|
||||
|
||||
# Available Options:
|
||||
# Kitty, ghostty, wezterm, aalacrity
|
||||
|
|
@ -70,12 +47,10 @@
|
|||
terminal = "kitty"; # Set Default System Terminal
|
||||
|
||||
keyboardLayout = "us";
|
||||
keyboardVariant = "";
|
||||
consoleKeyMap = "us";
|
||||
|
||||
# For hybrid support (Intel/NVIDIA Prime or AMD/NVIDIA)
|
||||
# For Nvidia Prime support
|
||||
intelID = "PCI:1:0:0";
|
||||
amdgpuID = "PCI:5:0:0";
|
||||
nvidiaID = "PCI:0:2:0";
|
||||
|
||||
# Enable NFS
|
||||
|
|
@ -86,7 +61,7 @@
|
|||
|
||||
# Enable Thunar GUI File Manager
|
||||
# Yazi is default File Manager
|
||||
thunarEnable = true;
|
||||
thunarEnable = false;
|
||||
|
||||
# Themes, waybar and animation.
|
||||
# Only uncomment your selection
|
||||
|
|
@ -96,52 +71,38 @@
|
|||
# This will set your color palette
|
||||
# Default background
|
||||
# Add new images to ~/zaneyos/wallpapers
|
||||
#stylixImage = ../../wallpapers/mountainscapedark.jpg;
|
||||
stylixImage = ../../wallpapers/mountainscapedark.jpg;
|
||||
#stylixImage = ../../wallpapers/AnimeGirlNightSky.jpg;
|
||||
#stylixImage = ../../wallpapers/Anime-Purple-eyes.png;
|
||||
stylixImage = ../../wallpapers/Rainnight.jpg;
|
||||
#stylixImage = ../../wallpapers/Rainnight.jpg;
|
||||
#stylixImage = ../../wallpapers/zaney-wallpaper.jpg;
|
||||
#stylixImage = ../../wallpapers/nix-wallpapers-strips-logo.jpg;
|
||||
#stylixImage = ../../wallpapers/beautifulmountainscape.jpg;
|
||||
|
||||
# Set Waybar
|
||||
# Available Options:
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
# Throwback to ZaneyOS v1.0
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jerry.nix;
|
||||
# Very colorful and bright colors
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-nekodyke.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-TheBlackDon.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubsos-v1.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-ml4w-modern.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-oglo-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-transparent.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-ultradark.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-pctrade-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mangowc-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-old-ddubsos.nix;
|
||||
# DWM styled waybars from Matt at TheLinuxCast
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
|
||||
# Set Animation style
|
||||
# Available options are:
|
||||
# animations-def.nix (default)
|
||||
# animations-end4.nix (end-4 project very fluid)
|
||||
# animations-dynamic.nix (ml4w project)
|
||||
# animations-moving.nix (ml4w project)
|
||||
#animChoice = ../../modules/home/hyprland/animations-def.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
|
||||
animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-moving.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-hyde-optimized.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-1.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-2.nix;
|
||||
animChoice = ../../modules/home/hyprland/animations-ml4w-classic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-fast.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-high.nix;
|
||||
|
||||
# Set network hostId if required (needed for zfs)
|
||||
# Otherwise leave as-is
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
|
|
|
|||
|
|
@ -1,21 +1,20 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
{ config
|
||||
, lib
|
||||
, pkgs
|
||||
, modulesPath
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/e5fc1006-4d0b-41db-8c43-22b3cb8110c6";
|
||||
|
|
@ -25,7 +24,7 @@
|
|||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/9287-3738";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/nas" = {
|
||||
|
|
@ -34,9 +33,13 @@
|
|||
};
|
||||
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/a6e9dd8b-6767-44f4-84fa-30d02d90d087";}
|
||||
{ device = "/dev/disk/by-uuid/a6e9dd8b-6767-44f4-84fa-30d02d90d087"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nodejs
|
||||
atop
|
||||
bottom
|
||||
dua
|
||||
fd
|
||||
gping
|
||||
lunarvim
|
||||
luarocks
|
||||
mission-center
|
||||
resources
|
||||
|
|
|
|||
|
|
@ -15,53 +15,27 @@
|
|||
weztermEnable = true;
|
||||
ghosttyEnable = true;
|
||||
vscodeEnable = true;
|
||||
antigravityEnable = false; # Google port of vscodium
|
||||
helixEnable = true;
|
||||
#To install rebuild, then run zcli doom install
|
||||
doomEmacsEnable = false;
|
||||
|
||||
# Python development tools
|
||||
pythonEnable = false;
|
||||
|
||||
# P10K or starship prompt
|
||||
userPrompt = "starship";
|
||||
|
||||
# Hyprland Settings
|
||||
extraMonitorSettings = "monitor=Virtual-1,1920x1080@75,auto,1";
|
||||
|
||||
# Bar/Shell Settings
|
||||
# Choose between noctalia or waybar
|
||||
barChoice = "noctalia";
|
||||
|
||||
# Waybar Settings (used when barChoice = "waybar")
|
||||
# Waybar Settings
|
||||
clock24h = false;
|
||||
|
||||
# Program Options
|
||||
browser = "brave"; # Set Default Browser (google-chrome-stable for google-chrome)
|
||||
|
||||
# Host-level default applications (picked up by Home Manager xdg.mimeApps)
|
||||
# Uncomment and adjust the .desktop IDs to set per-host defaults.
|
||||
# mimeDefaultApps = {
|
||||
# # PDFs
|
||||
# "application/pdf" = ["okular.desktop"];
|
||||
# "application/x-pdf" = ["okular.desktop"];
|
||||
# # Web browser
|
||||
# "x-scheme-handler/http" = ["google-chrome.desktop"]; # or brave-browser.desktop, firefox.desktop
|
||||
# "x-scheme-handler/https" = ["google-chrome.desktop"];
|
||||
# "text/html" = ["google-chrome.desktop"];
|
||||
# # Files
|
||||
# "inode/directory" = ["thunar.desktop"]; # file manager
|
||||
# "text/plain" = ["nvim.desktop"]; # or code.desktop
|
||||
# };
|
||||
|
||||
terminal = "kitty"; # Set Default System Terminal
|
||||
keyboardLayout = "us";
|
||||
keyboardVariant = "";
|
||||
consoleKeyMap = "us";
|
||||
|
||||
# For hybrid support (Intel/NVIDIA Prime or AMD/NVIDIA)
|
||||
# For Nvidia Prime support
|
||||
intelID = "PCI:1:0:0";
|
||||
amdgpuID = "PCI:5:0:0";
|
||||
nvidiaID = "PCI:0:2:0";
|
||||
|
||||
# Enable NFS
|
||||
|
|
@ -87,41 +61,24 @@
|
|||
|
||||
# Set Waybar
|
||||
# Available options:
|
||||
waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice= ../../modules/home/waybar/waybar-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jerry.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubs-2.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-dwm.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-TheBlackDon.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-tony.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-ddubsos-v1.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mecha.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-ml4w-modern.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jak-oglo-simple.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-transparent.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-jwt-ultradark.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-pctrade-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-mangowc-jak-catppuccin.nix;
|
||||
#waybarChoice = ../../modules/home/waybar/waybar-old-ddubsos.nix;
|
||||
waybarChoice = ../../modules/home/waybar/waybar-dwm-2.nix;
|
||||
|
||||
# Set Animation style
|
||||
# Available options are:
|
||||
# animations-def.nix (default)
|
||||
# animations-end4.nix (end-4 project)
|
||||
# animations-dynamic.nix (ml4w project)
|
||||
# animations-moving.nix (ml4w project)
|
||||
animChoice = ../../modules/home/hyprland/animations-end4.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-def.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end4-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-end-slide.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-dynamic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-moving.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-hyde-optimized.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-1.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-mahaveer-me-2.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-classic.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-fast.nix;
|
||||
#animChoice = ../../modules/home/hyprland/animations-ml4w-high.nix;
|
||||
|
||||
# Set network hostId if required (needed for zfs)
|
||||
# Otherwise leave as-is
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 799 KiB |
|
Before Width: | Height: | Size: 487 KiB |
|
Before Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 492 KiB |
|
Before Width: | Height: | Size: 1,014 KiB |
|
|
@ -1,17 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
######################################
|
||||
# Install script for zaneyos
|
||||
# Author: Don Williams
|
||||
# Date: June 27, 2005
|
||||
# Install script for zaneyos
|
||||
# Author: Don Williams
|
||||
# Date: June 27, 2005
|
||||
#######################################
|
||||
|
||||
# Define colors
|
||||
RED='\033[0;31m'
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
CYAN='\033[0;36m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
# Define log file
|
||||
|
|
@ -21,6 +18,43 @@ LOG_FILE="${LOG_DIR}/install_$(date +"%Y-%m-%d_%H-%M-%S").log"
|
|||
mkdir -p "$LOG_DIR"
|
||||
exec > >(tee -a "$LOG_FILE") 2>&1
|
||||
|
||||
# Hostname validation and sanitization helpers
|
||||
HOSTNAME_REGEX='^[[:alnum:]]([[:alnum:]_-]{0,61}[[:alnum:]])?$'
|
||||
|
||||
is_valid_hostname() {
|
||||
local hn="$1"
|
||||
[[ "$hn" =~ $HOSTNAME_REGEX ]]
|
||||
}
|
||||
|
||||
sanitize_hostname() {
|
||||
local hn="$1"
|
||||
# Lowercase
|
||||
hn=$(printf '%s' "$hn" | tr '[:upper:]' '[:lower:]')
|
||||
# Replace invalid chars (including dots/spaces) with '-'
|
||||
hn=$(printf '%s' "$hn" | sed -E 's/[^[:alnum:]_-]+/-/g')
|
||||
# Collapse consecutive - or _ to a single -
|
||||
hn=$(printf '%s' "$hn" | sed -E 's/[-_]{2,}/-/g')
|
||||
# Trim leading/trailing non-alnum
|
||||
hn=$(printf '%s' "$hn" | sed -E 's/^[^[:alnum:]]+//; s/[^[:alnum:]]+$//')
|
||||
# Truncate to 63 characters (hostname label limit)
|
||||
hn=${hn:0:63}
|
||||
# Ensure start/end are alnum in case truncation left a non-alnum at edges
|
||||
hn=$(printf '%s' "$hn" | sed -E 's/^[^[:alnum:]]+//; s/[^[:alnum:]]+$//')
|
||||
printf '%s' "$hn"
|
||||
}
|
||||
|
||||
ensure_safe_hostname() {
|
||||
# Usage: ensure_safe_hostname <input> <default>
|
||||
local input="$1"; local def="$2"
|
||||
local candidate="$input"
|
||||
if [ -z "$candidate" ]; then candidate="$def"; fi
|
||||
local sanitized
|
||||
sanitized=$(sanitize_hostname "$candidate")
|
||||
if [ -z "$sanitized" ]; then sanitized="$def"; fi
|
||||
if ! is_valid_hostname "$sanitized"; then return 1; fi
|
||||
printf '%s' "$sanitized"
|
||||
}
|
||||
|
||||
# Function to print a section header
|
||||
print_header() {
|
||||
echo -e "${GREEN}╔═══════════════════════════════════════════════════════════════════════╗${NC}"
|
||||
|
|
@ -28,21 +62,6 @@ print_header() {
|
|||
echo -e "${GREEN}╚═══════════════════════════════════════════════════════════════════════╝${NC}"
|
||||
}
|
||||
|
||||
# Function to print a configuration summary
|
||||
print_summary() {
|
||||
echo -e "${CYAN}╔═══════════════════════════════════════════════════════════════════════╗${NC}"
|
||||
echo -e "${CYAN}║ 📋 Installation Configuration Summary ║${NC}"
|
||||
echo -e "${CYAN}╠═══════════════════════════════════════════════════════════════════════╣${NC}"
|
||||
echo -e "${CYAN}║ 🖥️ Hostname: ${BLUE}${1}${NC}"
|
||||
echo -e "${CYAN}║ 🎮 GPU Profile: ${BLUE}${2}${NC}"
|
||||
echo -e "${CYAN}║ 👤 System Username: ${BLUE}${3}${NC}"
|
||||
echo -e "${CYAN}║ 🌐 Timezone: ${BLUE}${4}${NC}"
|
||||
echo -e "${CYAN}║ ⌨️ Keyboard Layout: ${BLUE}${5}${NC}"
|
||||
echo -e "${CYAN}║ ⌨️ Keyboard Variant: ${BLUE}${6:-none}${NC}"
|
||||
echo -e "${CYAN}║ 🖥️ Console Keymap: ${BLUE}${7:-$5}${NC}"
|
||||
echo -e "${CYAN}╚═══════════════════════════════════════════════════════════════════════╝${NC}"
|
||||
}
|
||||
|
||||
# Function to print an error message
|
||||
print_error() {
|
||||
echo -e "${RED}Error: ${1}${NC}"
|
||||
|
|
@ -72,7 +91,7 @@ print_failure_banner() {
|
|||
print_header "Verifying System Requirements"
|
||||
|
||||
# Check for git
|
||||
if ! command -v git &>/dev/null; then
|
||||
if ! command -v git &> /dev/null; then
|
||||
print_error "Git is not installed."
|
||||
echo -e "Please install git and pciutils are installed, then re-run the install script."
|
||||
echo -e "Example: nix-shell -p git pciutils"
|
||||
|
|
@ -80,14 +99,14 @@ if ! command -v git &>/dev/null; then
|
|||
fi
|
||||
|
||||
# Check for lspci (pciutils)
|
||||
if ! command -v lspci &>/dev/null; then
|
||||
if ! command -v lspci &> /dev/null; then
|
||||
print_error "pciutils is not installed."
|
||||
echo -e "Please install git and pciutils, then re-run the install script."
|
||||
echo -e "Example: nix-shell -p git pciutils"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -n "$(grep -i nixos </etc/os-release)" ]; then
|
||||
if [ -n "$(grep -i nixos < /etc/os-release)" ]; then
|
||||
echo -e "${GREEN}Verified this is NixOS.${NC}"
|
||||
else
|
||||
print_error "This is not NixOS or the distribution information is not available."
|
||||
|
|
@ -127,6 +146,25 @@ if [ "$hostName" = "default" ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Validate and sanitize hostname to meet NixOS constraints
|
||||
safeHost=$(ensure_safe_hostname "$hostName" "my-desktop")
|
||||
if [ "$safeHost" != "$hostName" ]; then
|
||||
echo -e "${RED}The hostname '$hostName' is not compliant (letters, numbers, '-', '_' only; 1-63 chars; start/end alnum).${NC}"
|
||||
echo -e "It will be adjusted to: ${GREEN}$safeHost${NC}"
|
||||
read -p "Use '$safeHost'? (Y/n): " -n 1 -r; echo
|
||||
if [[ $REPLY =~ ^[Nn]$ ]]; then
|
||||
read -rp "Enter a hostname (letters, numbers, hyphens/underscores; 1-63 chars): " hostName
|
||||
safeHost=$(ensure_safe_hostname "$hostName" "my-desktop")
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! is_valid_hostname "$safeHost"; then
|
||||
print_error "Hostname '$hostName' is invalid even after sanitization."
|
||||
echo "Please rerun and choose a compliant hostname (letters, numbers, hyphens, underscores; 1-63 chars, start/end alphanumeric)."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
hostName="$safeHost"
|
||||
echo -e "${GREEN}✓ Hostname set to: $hostName${NC}"
|
||||
|
||||
print_header "GPU Profile Detection"
|
||||
|
|
@ -138,51 +176,24 @@ has_nvidia=false
|
|||
has_intel=false
|
||||
has_amd=false
|
||||
has_vm=false
|
||||
detect_vm() {
|
||||
if command -v systemd-detect-virt &>/dev/null; then
|
||||
if systemd-detect-virt --quiet; then
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
for f in /sys/class/dmi/id/product_name /sys/class/dmi/id/sys_vendor; do
|
||||
if [ -r "$f" ] && grep -Eqi 'qemu|kvm|vmware|virtualbox|hyper-v|microsoft corporation|xen|parallels' "$f"; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
if detect_vm; then
|
||||
has_vm=true
|
||||
fi
|
||||
|
||||
if lspci | grep -qi 'vga\|3d\|display'; then
|
||||
if lspci | grep -qi 'vga\|3d'; then
|
||||
while read -r line; do
|
||||
if echo "$line" | grep -Eq '\[10de:'; then
|
||||
if echo "$line" | grep -qi 'nvidia'; then
|
||||
has_nvidia=true
|
||||
elif echo "$line" | grep -Eq '\[1002:'; then
|
||||
has_amd=true
|
||||
elif echo "$line" | grep -Eq '\[8086:'; then
|
||||
has_intel=true
|
||||
elif echo "$line" | grep -Eq '\[(1af4|15ad|80ee|1b36|1414|1234|1013):'; then
|
||||
has_vm=true
|
||||
elif echo "$line" | grep -qi 'nvidia'; then
|
||||
has_nvidia=true
|
||||
elif echo "$line" | grep -qi 'amd\|ati\|advanced micro devices'; then
|
||||
elif echo "$line" | grep -qi 'amd'; then
|
||||
has_amd=true
|
||||
elif echo "$line" | grep -qi 'intel'; then
|
||||
has_intel=true
|
||||
elif echo "$line" | grep -Eqi 'virtio|vmware|virtualbox|qxl|hyper-v|microsoft corporation|parallels|qemu|bochs|cirrus|svga|virtual'; then
|
||||
elif echo "$line" | grep -qi 'virtio\|vmware'; then
|
||||
has_vm=true
|
||||
fi
|
||||
done < <(lspci -nn | grep -i 'vga\|3d\|display')
|
||||
done < <(lspci | grep -i 'vga\|3d')
|
||||
|
||||
if $has_vm; then
|
||||
DETECTED_PROFILE="vm"
|
||||
elif $has_nvidia && $has_amd; then
|
||||
DETECTED_PROFILE="amd-nvidia-hybrid"
|
||||
elif $has_nvidia && $has_intel; then
|
||||
DETECTED_PROFILE="nvidia-laptop"
|
||||
DETECTED_PROFILE="hybrid"
|
||||
elif $has_nvidia; then
|
||||
DETECTED_PROFILE="nvidia"
|
||||
elif $has_amd; then
|
||||
|
|
@ -210,10 +221,9 @@ if [ -z "$profile" ]; then
|
|||
read -rp "Enter Your Hardware Profile (GPU)
|
||||
Options:
|
||||
[ amd ]
|
||||
amd-nvidia-hybrid
|
||||
intel
|
||||
nvidia
|
||||
nvidia-laptop
|
||||
intel
|
||||
vm
|
||||
Please type out your choice: " profile
|
||||
if [ -z "$profile" ]; then
|
||||
|
|
@ -232,17 +242,20 @@ if [ -d "zaneyos" ]; then
|
|||
echo -e "${RED}║ An existing ZaneyOS installation was detected at ~/zaneyos ║${NC}"
|
||||
echo -e "${RED}║ ║${NC}"
|
||||
echo -e "${RED}║ This installer will COMPLETELY REPLACE your existing configuration! ║${NC}"
|
||||
echo -e "${RED}║ All customizations, packages, and settings will be LOST! ║${NC}"
|
||||
echo -e "${RED}║ All customizations, packages, and settings will be LOST! ║${NC}"
|
||||
echo -e "${RED}║ ║${NC}"
|
||||
echo -e "${RED}║ ** A backup copy of your config will be created ** ║${NC}"
|
||||
echo -e "${RED}║ * You will have to merge your changes back ** ║${NC}"
|
||||
echo -e "${RED}║ If you want to UPGRADE from ZaneyOS 2.3 to 2.4: ║${NC}"
|
||||
echo -e "${RED}║ 1. Press Ctrl+C to cancel this installer ║${NC}"
|
||||
echo -e "${RED}║ 2. Run: cd ~/zaneyos && ./upgrade-2.3-to-2.4.sh ║${NC}"
|
||||
echo -e "${RED}║ ║${NC}"
|
||||
echo -e "${RED}║ The upgrade script preserves ALL your customizations! ║${NC}"
|
||||
echo -e "${RED}╚═══════════════════════════════════════════════════════════════════════╝${NC}"
|
||||
echo ""
|
||||
echo -e "${YELLOW}If you REALLY want to do a fresh installation (losing all customizations):${NC}"
|
||||
read -p "Type 'REPLACE' to continue with fresh install or Ctrl+C to cancel: " confirmation
|
||||
if [ "$confirmation" != "REPLACE" ]; then
|
||||
echo -e "${GREEN}Installation cancelled. ${NC}"
|
||||
echo -e "${GREEN}Installation cancelled. Use the upgrade script instead!${NC}"
|
||||
echo -e "${GREEN}Run: cd ~/zaneyos && ./upgrade-2.3-to-2.4.sh${NC}"
|
||||
exit 0
|
||||
fi
|
||||
echo -e "${GREEN}zaneyos exists, backing up to .config/zaneyos-backups folder.${NC}"
|
||||
|
|
@ -262,7 +275,7 @@ else
|
|||
fi
|
||||
|
||||
print_header "Cloning ZaneyOS Repository"
|
||||
git clone https://gitlab.com/zaney/zaneyos.git -b main --depth=1 ~/zaneyos
|
||||
git clone https://gitlab.com/zaney/zaneyos.git -b stable-2.4 --depth=1 ~/zaneyos
|
||||
cd ~/zaneyos || exit 1
|
||||
|
||||
print_header "Git Configuration"
|
||||
|
|
@ -315,48 +328,6 @@ if [ -z "$keyboardLayout" ]; then
|
|||
fi
|
||||
echo -e "${GREEN}✓ Keyboard layout set to: $keyboardLayout${NC}"
|
||||
|
||||
print_header "Keyboard Variant Configuration"
|
||||
# Suggest a variant when user typed a variant-like layout
|
||||
variant_suggestion=""
|
||||
case "$keyboardLayout" in
|
||||
dvorak | colemak | workman | intl | us-intl)
|
||||
variant_suggestion="$keyboardLayout"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
read -rp "Enter your keyboard variant (e.g., dvorak) [ $variant_suggestion ]: " keyboardVariant
|
||||
keyboardVariant="${keyboardVariant:-$variant_suggestion}"
|
||||
|
||||
# Normalize layout/variant to avoid accidentally forcing US for non-US layouts
|
||||
# - Accept uppercase inputs; treat BR/DE/FR/ES/IT/RU/UK in variant field as layout
|
||||
# - Map us-intl/intl and dvorak/colemak/workman to layout=us + appropriate variant
|
||||
keyboardLayout=$(echo "$keyboardLayout" | tr '[:upper:]' '[:lower:]')
|
||||
keyboardVariant=$(echo "$keyboardVariant" | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
case "$keyboardLayout" in
|
||||
us-intl | intl)
|
||||
keyboardLayout="us"
|
||||
if [ -z "$keyboardVariant" ]; then keyboardVariant="intl"; fi
|
||||
;;
|
||||
dvorak | colemak | workman)
|
||||
if [ -z "$keyboardVariant" ]; then keyboardVariant="$keyboardLayout"; fi
|
||||
keyboardLayout="us"
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
# If a layout accidentally ended up in the variant field, fix it
|
||||
if [[ "$keyboardVariant" =~ ^(us|br|de|fr|es|it|ru|uk)$ ]]; then
|
||||
keyboardLayout="$keyboardVariant"
|
||||
keyboardVariant=""
|
||||
fi
|
||||
|
||||
if [ -z "$keyboardVariant" ]; then
|
||||
echo -e "${GREEN}✓ Keyboard variant set to: none${NC}"
|
||||
else
|
||||
echo -e "${GREEN}✓ Keyboard variant set to: $keyboardVariant${NC}"
|
||||
fi
|
||||
|
||||
print_header "Console Keymap Configuration"
|
||||
echo "⌨️ Console keymap (usually matches your keyboard layout):"
|
||||
echo " Most common: us, uk, de, fr, es, it, ru"
|
||||
|
|
@ -375,77 +346,44 @@ print_header "Configuring Host and Profile"
|
|||
mkdir -p hosts/"$hostName"
|
||||
cp hosts/default/*.nix hosts/"$hostName"
|
||||
|
||||
# Show a nice summary and ask for confirmation before making changes
|
||||
echo ""
|
||||
print_summary "$hostName" "$profile" "$installusername" "$timezone" "$keyboardLayout" "$keyboardVariant" "$consoleKeyMap"
|
||||
echo ""
|
||||
echo -e "${YELLOW}Please review the configuration above.${NC}"
|
||||
read -p "$(echo -e "${YELLOW}Continue with installation? (Y/N): ${NC}")" -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
echo -e "${RED}Installation cancelled.${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}✓ Configuration accepted. Starting installation...${NC}"
|
||||
echo ""
|
||||
echo -e "${BLUE}Updating configuration files...${NC}"
|
||||
echo -e " ${CYAN}installusername:${NC} $installusername"
|
||||
echo -e " ${CYAN}hostName:${NC} $hostName"
|
||||
echo -e " ${CYAN}profile:${NC} $profile"
|
||||
echo -e " ${CYAN}timezone:${NC} $timezone"
|
||||
echo -e " ${CYAN}keyboardLayout:${NC} $keyboardLayout"
|
||||
echo " installusername: $installusername"
|
||||
echo " hostName: $hostName"
|
||||
echo " profile: $profile"
|
||||
|
||||
# Update flake.nix (simple pattern replacements that work)
|
||||
# Create backup first, before any changes
|
||||
cp ./flake.nix ./flake.nix.bak
|
||||
# Use sed for hostname (more reliable)
|
||||
sed -i 's|^[[:space:]]*host[[:space:]]*=[[:space:]]*"[^"]*"| host = "'$hostName'"|' ./flake.nix.bak
|
||||
# Use sed for profile (handles variable indentation)
|
||||
sed -i 's|^[[:space:]]*profile[[:space:]]*=[[:space:]]*"[^"]*";| profile = "'$profile'";|' ./flake.nix.bak
|
||||
# Use sed for username (handles variable indentation)
|
||||
sed -i 's|^[[:space:]]*username[[:space:]]*=[[:space:]]*"[^"]*";| username = "'$installusername'";|' ./flake.nix.bak
|
||||
echo -e "${GREEN}After sed replacements:${NC}"
|
||||
grep -E "(host|profile|username) =" ./flake.nix.bak
|
||||
cp ./flake.nix.bak ./flake.nix
|
||||
rm ./flake.nix.bak
|
||||
|
||||
# Update timezone in system.nix
|
||||
cp ./modules/core/system.nix ./modules/core/system.nix.bak
|
||||
awk -v newtz="$timezone" '/^ time\.timeZone = / { sub(/"[^"]*"/, "\"" newtz "\""); } { print }' ./modules/core/system.nix.bak >./modules/core/system.nix
|
||||
rm ./modules/core/system.nix.bak
|
||||
|
||||
# Update variables in host file (do all keys in one pass to avoid quoting issues)
|
||||
cp ./hosts/$hostName/variables.nix ./hosts/$hostName/variables.nix.bak
|
||||
awk -v v_user="$gitUsername" \
|
||||
-v v_email="$gitEmail" \
|
||||
-v v_kb="$keyboardLayout" \
|
||||
-v v_kv="$keyboardVariant" \
|
||||
-v v_ckm="$consoleKeyMap" '
|
||||
/^ gitUsername = / { sub(/"[^"]*"/, "\"" v_user "\"") }
|
||||
/^ gitEmail = / { sub(/"[^"]*"/, "\"" v_email "\"") }
|
||||
/^ keyboardLayout = / { sub(/"[^"]*"/, "\"" v_kb "\"") }
|
||||
/^ keyboardVariant = / { sub(/"[^"]*"/, "\"" v_kv "\"") }
|
||||
/^ consoleKeyMap = / { sub(/"[^"]*"/, "\"" v_ckm "\"") }
|
||||
{ print }
|
||||
' ./hosts/$hostName/variables.nix.bak >./hosts/$hostName/variables.nix
|
||||
rm ./hosts/$hostName/variables.nix.bak
|
||||
|
||||
echo "Configuration files updated successfully!"
|
||||
|
||||
print_header "Git Configuration"
|
||||
git config --global user.name "$gitUsername"
|
||||
git config --global user.email "$gitEmail"
|
||||
git add .
|
||||
git config --global --unset-all user.name
|
||||
git config --global --unset-all user.email
|
||||
|
||||
echo "Updating configuration files with working awk commands..."
|
||||
|
||||
# Update flake.nix (simple pattern replacements that work)
|
||||
# Create backup first, before any changes
|
||||
cp ./flake.nix ./flake.nix.bak
|
||||
# Use sed for hostname (more reliable)
|
||||
sed -i "/^[[:space:]]*host[[:space:]]*=[[:space:]]*\"/s/\"[^\"]*\"/\"$hostName\"/" ./flake.nix.bak
|
||||
awk -v newprof="$profile" '/^ profile = / { gsub(/"[^"]*"/, "\"" newprof "\""); } { print }' ./flake.nix.bak > ./flake.nix
|
||||
cp ./flake.nix ./flake.nix.bak
|
||||
awk -v newuser="$installusername" '/^ username = / { gsub(/"[^"]*"/, "\"" newuser "\""); } { print }' ./flake.nix.bak > ./flake.nix
|
||||
rm ./flake.nix.bak
|
||||
|
||||
# Update timezone in system.nix
|
||||
cp ./modules/core/system.nix ./modules/core/system.nix.bak
|
||||
awk -v newtz="$timezone" '/^ time\.timeZone = / { gsub(/"[^"]*"/, "\"" newtz "\""); } { print }' ./modules/core/system.nix.bak > ./modules/core/system.nix
|
||||
rm ./modules/core/system.nix.bak
|
||||
|
||||
# Update variables in host file
|
||||
cp ./hosts/$hostName/variables.nix ./hosts/$hostName/variables.nix.bak
|
||||
awk -v newuser="$gitUsername" '/^ gitUsername = / { gsub(/"[^"]*"/, "\"" newuser "\""); } { print }' ./hosts/$hostName/variables.nix.bak > ./hosts/$hostName/variables.nix
|
||||
cp ./hosts/$hostName/variables.nix ./hosts/$hostName/variables.nix.bak
|
||||
awk -v newemail="$gitEmail" '/^ gitEmail = / { gsub(/"[^"]*"/, "\"" newemail "\""); } { print }' ./hosts/$hostName/variables.nix.bak > ./hosts/$hostName/variables.nix
|
||||
cp ./hosts/$hostName/variables.nix ./hosts/$hostName/variables.nix.bak
|
||||
awk -v newkb="$keyboardLayout" '/^ keyboardLayout = / { gsub(/"[^"]*"/, "\"" newkb "\""); } { print }' ./hosts/$hostName/variables.nix.bak > ./hosts/$hostName/variables.nix
|
||||
cp ./hosts/$hostName/variables.nix ./hosts/$hostName/variables.nix.bak
|
||||
awk -v newckm="$consoleKeyMap" '/^ consoleKeyMap = / { gsub(/"[^"]*"/, "\"" newckm "\""); } { print }' ./hosts/$hostName/variables.nix.bak > ./hosts/$hostName/variables.nix
|
||||
rm ./hosts/$hostName/variables.nix.bak
|
||||
|
||||
echo "Configuration files updated successfully!"
|
||||
|
||||
print_header "Generating Hardware Configuration -- Ignore ERROR: cannot access /bin"
|
||||
sudo nixos-generate-config --show-hardware-config >./hosts/$hostName/hardware.nix
|
||||
sudo nixos-generate-config --show-hardware-config > ./hosts/$hostName/hardware.nix
|
||||
|
||||
print_header "Setting Nix Configuration"
|
||||
NIX_CONFIG="experimental-features = nix-command flakes"
|
||||
|
|
@ -454,8 +392,8 @@ print_header "Initiating NixOS Build"
|
|||
read -p "Ready to run initial build? (Y/N): " -n 1 -r
|
||||
echo
|
||||
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
|
||||
echo -e "${RED}Build cancelled.${NC}"
|
||||
exit 1
|
||||
echo -e "${RED}Build cancelled.${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sudo nixos-rebuild boot --flake ~/zaneyos/#${profile}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelModules = ["v4l2loopback"];
|
||||
extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
|
||||
kernel.sysctl = {"vm.max_map_count" = 2147483642;};
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
kernelModules = [ "v4l2loopback" ];
|
||||
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
|
||||
kernel.sysctl = { "vm.max_map_count" = 2147483642; };
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
# Appimage Support
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
{lib, ...}: {
|
||||
nix.settings = {
|
||||
substituters = lib.mkAfter [
|
||||
"https://cache.nixos.org"
|
||||
"https://hyprland.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = lib.mkAfter [
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -2,10 +2,12 @@
|
|||
inputs,
|
||||
host,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
# Import the host-specific variables.nix
|
||||
vars = import ../../hosts/${host}/variables.nix;
|
||||
in {
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./flatpak.nix
|
||||
|
|
@ -14,15 +16,11 @@ in {
|
|||
./network.nix
|
||||
./nfs.nix
|
||||
./nh.nix
|
||||
./quickshell.nix
|
||||
#./quickshell.nix #Disabled for now not using it yet
|
||||
./packages.nix
|
||||
./printing.nix
|
||||
# Conditionally import the display manager module
|
||||
(
|
||||
if vars.displayManager == "tui"
|
||||
then ./ly.nix
|
||||
else ./sddm.nix
|
||||
)
|
||||
(if vars.displayManager == "tui" then ./greetd.nix else ./sddm.nix)
|
||||
./security.nix
|
||||
./services.nix
|
||||
./steam.nix
|
||||
|
|
@ -33,7 +31,6 @@ in {
|
|||
./user.nix
|
||||
./virtualisation.nix
|
||||
./xserver.nix
|
||||
./cachix.nix
|
||||
inputs.stylix.nixosModules.stylix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }: {
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
||||
configPackages = [pkgs.hyprland];
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
configPackages = [ pkgs.hyprland ];
|
||||
};
|
||||
services = {
|
||||
flatpak = {
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
#"com.github.tchx84.Flatseal" #Manage flatpak permissions - should always have this
|
||||
#"com.rtosta.zapzap" # WhatsApp client
|
||||
#"io.github.flattool.Warehouse" # Manage flatpaks, clean data, remove flatpaks and deps
|
||||
#"it.mijorus.gearlever" # Manage and support AppImages
|
||||
#"it.mijorus.gearlever" # Manage and support AppImages
|
||||
#"io.github.freedoom.Phase1" # Classic Doom FPS 1
|
||||
#"io.github.freedoom.Phase2" # Classic Doom FPS 2
|
||||
#"io.github.dvlv.boxbuddyrs" # Manage distroboxes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
dejavu_fonts
|
||||
|
|
@ -14,13 +15,8 @@
|
|||
minecraftia
|
||||
nerd-fonts.im-writing
|
||||
nerd-fonts.blex-mono
|
||||
nerd-fonts.iosevka-term
|
||||
nerd-fonts.lilex
|
||||
nerd-fonts.ubuntu
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.fira-mono
|
||||
noto-fonts
|
||||
noto-fonts-color-emoji
|
||||
noto-fonts-emoji
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-monochrome-emoji
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
{ pkgs
|
||||
, username
|
||||
, ...
|
||||
}: {
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
vt = 3;
|
||||
settings = {
|
||||
default_session = {
|
||||
user = username;
|
||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd Hyprland"; # start Hyprland with a TUI login manager
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; # start Hyprland with a TUI login manager
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
hardware = {
|
||||
sane = {
|
||||
enable = true;
|
||||
extraBackends = [pkgs.sane-airscan];
|
||||
disabledDefaultBackends = ["escl"];
|
||||
extraBackends = [ pkgs.sane-airscan ];
|
||||
disabledDefaultBackends = [ "escl" ];
|
||||
};
|
||||
logitech.wireless.enable = false;
|
||||
logitech.wireless.enableGraphical = false;
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
{
|
||||
host,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
# Import the host-specific variables.nix
|
||||
vars = import ../../hosts/${host}/variables.nix;
|
||||
useLy = vars.displayManager == "tui";
|
||||
in {
|
||||
config = lib.mkIf useLy {
|
||||
# Prefer ly when TUI is selected; avoid greetd conflicts
|
||||
services.greetd.enable = lib.mkDefault false;
|
||||
|
||||
services.displayManager.ly = {
|
||||
enable = true;
|
||||
settings = {
|
||||
animation = "matrix";
|
||||
bigclock = true;
|
||||
# --- Color Settings (0xAARRGGBB) ---
|
||||
# Background color of dialog box (Black)
|
||||
bg = "0x00000000";
|
||||
# Foreground text color (Cyan: #00FFFF)
|
||||
fg = "0x0000FFFF";
|
||||
# Border color (Red: #FF0000)
|
||||
border_fg = "0x00FF0000";
|
||||
# Error message color (Red)
|
||||
error_fg = "0x00FF0000";
|
||||
# Clock color (Purple: #800080)
|
||||
clock_color = "#800080";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,16 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
host,
|
||||
options,
|
||||
...
|
||||
}: let
|
||||
{ pkgs
|
||||
, host
|
||||
, options
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
inherit (import ../../hosts/${host}/variables.nix) hostId;
|
||||
in {
|
||||
in
|
||||
{
|
||||
# Defensive assertion for hostname validity (clearer message at eval time)
|
||||
assertions = [
|
||||
{
|
||||
assertion = builtins.match "^[[:alnum:]]([[:alnum:]_-]{0,61}[[:alnum:]])?$" host != null;
|
||||
message = "Invalid hostname '${host}'. Must be 1-63 chars, start/end alphanumeric; allowed middle chars: letters, digits, '-' or '_'.";
|
||||
}
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "${host}";
|
||||
hostId = hostId;
|
||||
networkmanager.enable = true;
|
||||
timeServers = options.networking.timeServers.default ++ ["pool.ntp.org"];
|
||||
timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
|
|
@ -28,5 +37,5 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [networkmanagerapplet];
|
||||
environment.systemPackages = with pkgs; [ networkmanagerapplet ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
{host, ...}: let
|
||||
{ host, ... }:
|
||||
let
|
||||
inherit (import ../../hosts/${host}/variables.nix) enableNFS;
|
||||
in {
|
||||
in
|
||||
{
|
||||
services = {
|
||||
rpcbind.enable = enableNFS;
|
||||
nfs.server.enable = enableNFS;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
{ pkgs
|
||||
, username
|
||||
, ...
|
||||
}: {
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
{inputs, ...}: {
|
||||
nixpkgs.overlays = [
|
||||
# Provide pkgs.google-antigravity via antigravity-nix overlay
|
||||
inputs.antigravity-nix.overlays.default
|
||||
# Build tumbler without EPUB thumbnailer (libgepub) to avoid webkitgtk
|
||||
(_final: prev: {
|
||||
xfce = prev.xfce // {
|
||||
tumbler = prev.xfce.tumbler.overrideAttrs (old: {
|
||||
buildInputs = prev.lib.remove prev.libgepub old.buildInputs;
|
||||
});
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
@ -1,22 +1,9 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
host,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
vars = import ../../hosts/${host}/variables.nix;
|
||||
inherit (vars) barChoice;
|
||||
# Noctalia-specific packages
|
||||
noctaliaPkgs =
|
||||
if barChoice == "noctalia"
|
||||
then
|
||||
with pkgs; [
|
||||
matugen # color palette generator needed for noctalia-shell
|
||||
app2unit # launcher for noctalia-shell
|
||||
gpu-screen-recorder # needed for nnoctalia-shell
|
||||
]
|
||||
else [];
|
||||
in {
|
||||
}:
|
||||
{
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
|
|
@ -31,6 +18,7 @@ in {
|
|||
seahorse.enable = true;
|
||||
fuse.userAllowOther = true;
|
||||
mtr.enable = true;
|
||||
adb.enable = true;
|
||||
hyprlock.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
|
|
@ -39,70 +27,59 @@ in {
|
|||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
|
||||
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
||||
]
|
||||
++ noctaliaPkgs
|
||||
++ [
|
||||
alejandra # nix formatter
|
||||
amfora # Fancy Terminal Browser For Gemini Protocol
|
||||
appimage-run # Needed For AppImage Support
|
||||
brave # Brave Browser
|
||||
brightnessctl # For Screen Brightness Control
|
||||
cliphist # Clipboard manager using rofi menu
|
||||
cmatrix # Matrix Movie Effect In Terminal
|
||||
cowsay # Great Fun Terminal Program
|
||||
docker-compose # Allows Controlling Docker From A Single File
|
||||
duf # Utility For Viewing Disk Usage In Terminal
|
||||
dysk # Disk space util nice formattting
|
||||
eza # Beautiful ls Replacement
|
||||
ffmpeg # Terminal Video / Audio Editing
|
||||
file-roller # Archive Manager
|
||||
gearlever # Manage / run Appimages
|
||||
icu # dep for gearlever
|
||||
gimp # Great Photo Editor
|
||||
gpu-screen-recorder # needed for nnoctalia-shell
|
||||
power-profiles-daemon # needed for noctalia-shell power cycle
|
||||
mesa-demos # needed for inxi diag util
|
||||
tuigreet # The Login Manager (Sometimes Referred To As Display Manager)
|
||||
htop # Simple Terminal Based System Monitor
|
||||
eog # For Image Viewing
|
||||
inxi # CLI System Information Tool
|
||||
killall # For Killing All Instances Of Programs
|
||||
libnotify # For Notifications
|
||||
lm_sensors # Used For Getting Hardware Temps
|
||||
lolcat # Add Colors To Your Terminal Command Output
|
||||
lshw # Detailed Hardware Information
|
||||
mdcat # CLI markdown parser
|
||||
mpv # Incredible Video Player
|
||||
ncdu # Disk Usage Analyzer With Ncurses Interface
|
||||
nixfmt # Nix Formatter
|
||||
nwg-displays # configure monitor configs via GUI
|
||||
nwg-drawer # Application launcher for wayland
|
||||
nwg-dock-hyprland # Dock for hyprland
|
||||
nwg-menu # App menu for waybar
|
||||
onefetch # provides zsaneyos build info on current system
|
||||
pandoc # format MD to HTML for cheatsheet parser
|
||||
pavucontrol # For Editing Audio Levels & Devices
|
||||
pciutils # Collection Of Tools For Inspecting PCI Devices
|
||||
picard # For Changing Music Metadata & Getting Cover Art
|
||||
pkg-config # Wrapper Script For Allowing Packages To Get Info On Others
|
||||
playerctl # Allows Changing Media Volume Through Scripts
|
||||
rhythmbox # audio player
|
||||
ripgrep # Improved Grep
|
||||
socat # Needed For Screenshots
|
||||
unrar # Tool For Handling .rar Files
|
||||
unzip # Tool For Handling .zip Files
|
||||
usbutils # Good Tools For USB Devices
|
||||
upower # noctalia shell battery
|
||||
uwsm # Universal Wayland Session Manager (optional must be enabled)
|
||||
v4l-utils # Used For Things Like OBS Virtual Camera
|
||||
waypaper # Change wallpaper
|
||||
wget # Tool For Fetching Files With Links
|
||||
ytmdl # Tool For Downloading Audio From YouTube
|
||||
python3 # Python 3 programming language
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Hyprland systeminfo QT (Optional)
|
||||
#inputs.hyprsysteminfo.packages.${pkgs.system}.default
|
||||
|
||||
amfora # Fancy Terminal Browser For Gemini Protocol
|
||||
appimage-run # Needed For AppImage Support
|
||||
brave # Brave Browser
|
||||
brightnessctl # For Screen Brightness Control
|
||||
cliphist # Clipboard manager using rofi menu
|
||||
cmatrix # Matrix Movie Effect In Terminal
|
||||
cowsay # Great Fun Terminal Program
|
||||
docker-compose # Allows Controlling Docker From A Single File
|
||||
duf # Utility For Viewing Disk Usage In Terminal
|
||||
dysk # Disk space util nice formattting
|
||||
eza # Beautiful ls Replacement
|
||||
ffmpeg # Terminal Video / Audio Editing
|
||||
file-roller # Archive Manager
|
||||
gedit # Simple Graphical Text Editor
|
||||
#gemini-cli # CLI AI client ONLY (optional)
|
||||
gimp # Great Photo Editor
|
||||
glxinfo # needed for inxi diag util
|
||||
greetd.tuigreet # The Login Manager (Sometimes Referred To As Display Manager)
|
||||
htop # Simple Terminal Based System Monitor
|
||||
hyprpicker # Color Picker
|
||||
eog # For Image Viewing
|
||||
inxi # CLI System Information Tool
|
||||
killall # For Killing All Instances Of Programs
|
||||
libnotify # For Notifications
|
||||
lm_sensors # Used For Getting Hardware Temps
|
||||
lolcat # Add Colors To Your Terminal Command Output
|
||||
lshw # Detailed Hardware Information
|
||||
mpv # Incredible Video Player
|
||||
ncdu # Disk Usage Analyzer With Ncurses Interface
|
||||
nixfmt-rfc-style # Nix Formatter
|
||||
nwg-displays # configure monitor configs via GUI
|
||||
onefetch # provides zsaneyos build info on current system
|
||||
pavucontrol # For Editing Audio Levels & Devices
|
||||
pciutils # Collection Of Tools For Inspecting PCI Devices
|
||||
picard # For Changing Music Metadata & Getting Cover Art
|
||||
pkg-config # Wrapper Script For Allowing Packages To Get Info On Others
|
||||
playerctl # Allows Changing Media Volume Through Scripts
|
||||
rhythmbox # audio player
|
||||
ripgrep # Improved Grep
|
||||
socat # Needed For Screenshots
|
||||
unrar # Tool For Handling .rar Files
|
||||
unzip # Tool For Handling .zip Files
|
||||
usbutils # Good Tools For USB Devices
|
||||
uwsm # Universal Wayland Session Manager (optional must be enabled)
|
||||
v4l-utils # Used For Things Like OBS Virtual Camera
|
||||
waypaper # wallpaper changer
|
||||
warp-terminal # Terminal with AI support build in
|
||||
wget # Tool For Fetching Files With Links
|
||||
ytmdl # Tool For Downloading Audio From YouTube
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
{host, ...}: let
|
||||
{ host, ... }:
|
||||
let
|
||||
inherit (import ../../hosts/${host}/variables.nix) printEnable;
|
||||
in {
|
||||
in
|
||||
{
|
||||
services = {
|
||||
printing = {
|
||||
enable = printEnable;
|
||||
|
|
|
|||
|
|
@ -1,34 +1,31 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
quickshell
|
||||
|
||||
# Qt6 related kits(for slove Qt5Compat problem)
|
||||
qt6.qt5compat
|
||||
qt6.qtbase
|
||||
qt6.qtquick3d
|
||||
qt6.qtwayland
|
||||
qt6.qtdeclarative
|
||||
qt6.qtsvg
|
||||
|
||||
# alternate options
|
||||
# libsForQt5.qt5compat
|
||||
kdePackages.qt5compat
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
];
|
||||
|
||||
# necessary environment variables
|
||||
environment.variables = {
|
||||
QML_IMPORT_PATH = "${pkgs.qt6.qt5compat}/lib/qt-6/qml:${pkgs.qt6.qtbase}/lib/qt-6/qml";
|
||||
QML2_IMPORT_PATH = "${pkgs.qt6.qt5compat}/lib/qt-6/qml:${pkgs.qt6.qtbase}/lib/qt-6/qml";
|
||||
};
|
||||
|
||||
# make sure the Qt application is working properly
|
||||
environment.sessionVariables = {
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
};
|
||||
}
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.quickshell.packages.${pkgs.system}.default
|
||||
|
||||
# Qt6 related kits(for slove Qt5Compat problem)
|
||||
qt6.qt5compat
|
||||
qt6.qtbase
|
||||
qt6.qtquick3d
|
||||
qt6.qtwayland
|
||||
qt6.qtdeclarative
|
||||
qt6.qtsvg
|
||||
|
||||
# alternate options
|
||||
# libsForQt5.qt5compat
|
||||
kdePackages.qt5compat
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
];
|
||||
|
||||
# necessary environment variables
|
||||
environment.variables = {
|
||||
QML_IMPORT_PATH = "${pkgs.qt6.qt5compat}/lib/qt-6/qml:${pkgs.qt6.qtbase}/lib/qt-6/qml";
|
||||
QML2_IMPORT_PATH = "${pkgs.qt6.qt5compat}/lib/qt-6/qml:${pkgs.qt6.qtbase}/lib/qt-6/qml";
|
||||
};
|
||||
|
||||
# make sure the Qt application is working properly
|
||||
environment.sessionVariables = {
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
host,
|
||||
...
|
||||
}: let
|
||||
foreground = config.stylix.base16Scheme.base00;
|
||||
|
|
@ -15,7 +14,6 @@
|
|||
then {
|
||||
FormPosition = "left";
|
||||
Blur = "2.0";
|
||||
HourFormat = "h:mm AP";
|
||||
}
|
||||
else if lib.hasSuffix "studio.png" config.stylix.image
|
||||
then {
|
||||
|
|
@ -23,7 +21,6 @@
|
|||
url = "https://raw.githubusercontent.com/anotherhadi/nixy-wallpapers/refs/heads/main/wallpapers/studio.gif";
|
||||
sha256 = "sha256-qySDskjmFYt+ncslpbz0BfXiWm4hmFf5GPWF2NlTVB8=";
|
||||
};
|
||||
HourFormat = "h:mm AP";
|
||||
HeaderTextColor = "#${textColor}";
|
||||
DateTextColor = "#${textColor}";
|
||||
TimeTextColor = "#${textColor}";
|
||||
|
|
@ -43,7 +40,6 @@
|
|||
FormPosition = "left";
|
||||
Blur = "4.0";
|
||||
Background = "${toString config.stylix.image}";
|
||||
HourFormat = "h:mm AP";
|
||||
HeaderTextColor = "#${textColor}";
|
||||
DateTextColor = "#${textColor}";
|
||||
TimeTextColor = "#${textColor}";
|
||||
|
|
@ -69,26 +65,8 @@ in {
|
|||
enable = true;
|
||||
wayland.enable = true;
|
||||
theme = "sddm-astronaut-theme";
|
||||
settings = let
|
||||
vars = import ../../hosts/${host}/variables.nix;
|
||||
keyboardLayout = vars.keyboardLayout or "us";
|
||||
keyboardVariant = vars.keyboardVariant or "";
|
||||
in {
|
||||
X11 = {
|
||||
XkbLayout = keyboardLayout;
|
||||
XkbVariant = keyboardVariant;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Ensure Wayland SDDM also sees XKB defaults
|
||||
systemd.services.display-manager.environment = let
|
||||
vars = import ../../hosts/${host}/variables.nix;
|
||||
keyboardLayout = vars.keyboardLayout or "us";
|
||||
keyboardVariant = vars.keyboardVariant or "";
|
||||
in ({XKB_DEFAULT_LAYOUT = keyboardLayout;}
|
||||
// lib.optionalAttrs (keyboardVariant != "") {XKB_DEFAULT_VARIANT = keyboardVariant;});
|
||||
|
||||
environment.systemPackages = [sddm-astronaut];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
{profile, ...}: {
|
||||
{ profile, ... }: {
|
||||
# Services to start
|
||||
services = {
|
||||
upower.enable = true; # noctalia shell battery
|
||||
libinput.enable = true; # Input Handling
|
||||
fstrim.enable = true; # SSD Optimizer
|
||||
gvfs.enable = true; # For Mounting USB & More
|
||||
power-profiles-daemon.enable = true;
|
||||
openssh = {
|
||||
enable = true; # Enable SSH
|
||||
settings = {
|
||||
|
|
@ -13,7 +11,7 @@
|
|||
PasswordAuthentication = true; #Users can SSH using kb and password
|
||||
KbdInteractiveAuthentication = true;
|
||||
};
|
||||
ports = [22];
|
||||
ports = [ 22 ];
|
||||
};
|
||||
blueman.enable = true; # Bluetooth Support
|
||||
tumbler.enable = true; # Image/video preview
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{ ... }: {
|
||||
programs = {
|
||||
starship = {
|
||||
enable = false;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }: {
|
||||
programs = {
|
||||
steam = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = false;
|
||||
gamescopeSession.enable = true;
|
||||
extraCompatPackages = [pkgs.proton-ge-bin];
|
||||
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
||||
};
|
||||
|
||||
gamescope = {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
host,
|
||||
...
|
||||
}: let
|
||||
{ pkgs
|
||||
, host
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
inherit (import ../../hosts/${host}/variables.nix) stylixImage;
|
||||
in {
|
||||
in
|
||||
{
|
||||
# Styling Options
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{username, ...}: {
|
||||
{ username, ... }: {
|
||||
services.syncthing = {
|
||||
enable = false;
|
||||
user = "${username}";
|
||||
|
|
|
|||