- Entrypoint:
configuration.niximports all modules — no flakes, classicimport <nixpkgs>. - Module layout under
modules/: system, services, programs, users, packages, fonts. hardware-configuration.nixis auto-generated bynixos-generate-configand gitignored — never edit directly.
| Action | Command |
|---|---|
| Apply changes | sudo nixos-rebuild switch |
| Test without applying | sudo nixos-rebuild test |
| Upgrade channel | sudo nix-channel --update && sudo nixos-rebuild switch |
modules/programs/neovim.nixusesbuiltins.readFilewith absolute paths (/home/sofiavldd/.config/nvim/...). These paths must exist at build time — the config is embedded into the store, not symlinked.stateVersionis"25.11"inconfiguration.nix. Do not bump without understanding NixOS state version implications.- Unfree packages are allowed (
nixpkgs.config.allowUnfree = true). - The
nixossymlink at repo root points to/.host-etc/nixos— do not treat it as a regular directory. - Hostname is
nixos, single usersofiavldd(zsh, wheel, networkmanager groups). - Only module that adds packages to the system is
modules/packages.nix—users/sofiavldd.nixonly addskdePackages.kate.
result,result-*(nix build outputs).direnv(direnv cache)**/.nixos-test-history(test runner state)hardware-configuration.nix