NixOS Architecture Note: Declarative System Design and Operational Boundaries
How to decide if NixOS fits your infrastructure, where trust boundaries sit, and how to check generations and garbage collection.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
How to decide if NixOS fits your infrastructure, where trust boundaries sit, and how to check generations and garbage collection.
Test NixOS configuration changes in a disposable QEMU VM before running nixos-rebuild switch on physical hardware.
NixOS makes system changes atomic by storing each activation as an immutable generation. Learn how to verify a rollback target and clean up safely.
NixOS registers every successful rebuild as a bootloader generation. Learn how to apply changes safely, verify new generations, and recover an unbootable system using GRUB or systemd-boot entries.
NixOS isn't a package manager with a config file—it's a system where the config file *is* the system. Stop fighting the imperative urge to mutate /etc and start declaring outcomes.
Architecture note on how NixOS uses an immutable Nix store and generation pointers to provide atomic upgrades, rollback, and clear trust boundaries for declarative system configuration.
Upgrade a production NixOS server safely by leveraging atomic generations. Learn the step‑by‑step process, a useful example, and the trade‑offs that come with NixOS's declarative system.
NixOS makes the running system a pure function of configuration.nix. nixos-rebuild switch builds an immutable generation and updates the bootloader atomically, giving instant rollback without manual restores.
When OpenSSH fails to start on NixOS, the problem often lies in host‑key paths, permissions, or systemd conflicts. This step‑by‑step diagnostic guide walks through checking the unit status, journal logs, key files, package presence, and dependencies, offering concrete fixes and escalation paths.