| .. | ||
| hosts | ||
| modules | ||
| modules-old | ||
| overlays | ||
| secrets | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
nixos
Nix Flake for my Linux machines running NixOS.
The directory structure can be interpreted as follows:
flake.nix: Main entrypoint for the configuration- hosts/hostname: Host-specific configuration by setting options
- modules: Declarations of options
- modules/users/username: Since users are dependent on a host machine to exist, they are defined as a module as well
- overlays: Attribute overrides of Nix Packages
- secrets: Encrypted files that hold secrets, for example SSH private keys