My dendritic flake-based nix configuration for all of my machines.
|
|
||
|---|---|---|
| home | ||
| hosts | ||
| modules | ||
| secrets | ||
| server-files | ||
| .dir-locals.el | ||
| .gitignore | ||
| .migrate | ||
| flake.lock | ||
| flake.nix | ||
| Justfile | ||
| README.md | ||
Nix
The flake-based nix configuration I use for my servers and personal computing devices:
dnsc-air(nix-darwin)dnsc-work(nix-darwin)dnsc-deck(nix package/configuration management on Steam Deck)dnsc-server(NixOS)dnsc-vps-sm(nixOS)
Modules
Shared functionality can be found in the ./modules directory. The modules are just included in the relevant host configuration.
Home Manager
In addition to the system configuration in ./hosts I use home-manager to handle user-specific configuration (./home).
Secrets
Secrets are managed with agenix. A step-by-step tutorial is included as a comment in the main secrets file.
Commands
Because Nix-CLI commands can get a bit unwieldy (at least as how I use them currently) I've added a Justfile with commands to deploy changes and update packages and flakes.