NixOS configuration done using flakes
- Boot into NixOS.
- Partion your disks.
- Mount root partition into
/mnt
. - Clone this repository and
cd
into it. - Install using command
nixos-install --root /mnt --flake '.#XYZ'
, whereXYZ
is hostname of machine with appropriate config. - Reboot.
-
flake.nix
- flake file -
configuration.nix
- common configuration -
hosts
- host specific configuration -
users
- user specific configuration + [home-manager][hm] configuration -
dotfiles
- Dotfiles used by home-manager -
overlays
- Overlay definition -
packages
- Custom packages not yet in nixpkgs -
secrets
- Secrets managed by sops-nix
- home-manager - user environment management
- diskio - declarative disk partitioning
- sops-nix - secrect managment based on sops
- lanzaboote - secure boot support
- nixos-anywhere - NixOS provisioning via SSH