Edit NixOS/Nix config files following project conventions
~/nix/
├── flake.nix # Main flake definition, mkHost function
├── home/
│ ├── default.nix # Main home-manager config (imports others)
│ ├── mime-apps.nix # Desktop entries and MIME associations
│ ├── nvchad.nix # Neovim config (NvChad)
│ └── hyprland.nix # Hyprland window manager config
├── hosts/
│ ├── laptop/default.nix # Laptop-specific config
│ └── macmini/default.nix
└── modules/
└── core.nix # Shared NixOS modules
exec = "kitty -e nvim %F" NOT terminal = true (avoids "unable to find terminal" error)home.stateVersion = "24.05" (update when bumping)gtk.theme.name and gtk.theme.packagegtk.iconTheme.name and gtk.iconTheme.packagepkgs.packageName not package-name (camelCase)home/packages in default.nixhosts/*/default.nixxdg.mimeApps.defaultApplications for defaultsforce = true to the xdg.configFile optionprograms.zsh.shellAliasesupdate alias: sudo nixos-rebuild switch --flake ~/nix#$(hostname)After editing, always rebuild with: sudo nixos-rebuild switch --flake ~/nix#laptop