NixOS
NixOS Infrastructure & Declarative System Automation
Category
infrastructure
Status
ongoing
Updated
7/13/2026
Tech
14 tools
Tech Stack
NixOSNix FlakesHome ManagerNixpkgsLinux system administrationBashsystemdSopsGitNeovimTmuxDockerNgnixKubernetes
About this project
Built a fully declarative NixOS system using Flakes & Home Manager, enabling reproducible multi-host
environments with automated installation.
Designing my config around a small set of custom helpers in lib. For example:
• mkSystem and mkFlake handle pulling everything together in one place, so each system lives in its own directory and is built the same way. This is achieved by programmatically determining the objects that need to be evaluated and generated.
• mkImport and mkScanPath let me bulk-import predefined modules or user configs without writing long lists of imports by hand. I just point to a folder and it picks them up.
• Each user/module has enable flags (enableSystemConf, enableHomeConf) and a clear schema, so I don’t have to wonder what’s active — it’s explicit.
So instead of manually tracking dozens of scattered imports, I rely on these patterns to keep things predictable and scalable.