infra/nix
2026-01-05 23:09:19 +01:00
..
home-manager many stuffzz... 2026-01-05 23:09:19 +01:00
hosts many stuffzz... 2026-01-05 23:09:19 +01:00
modules many stuffzz... 2026-01-05 23:09:19 +01:00
secrets many stuffzz... 2026-01-05 23:09:19 +01:00
walls many stuffzz... 2026-01-05 23:09:19 +01:00
.envrc many stuffzz... 2026-01-05 23:09:19 +01:00
.sops.yaml many stuffzz... 2026-01-05 23:09:19 +01:00
dont-do-commits-like-this.txt many stuffzz... 2026-01-05 23:09:19 +01:00
flake.lock many stuffzz... 2026-01-05 23:09:19 +01:00
flake.nix many stuffzz... 2026-01-05 23:09:19 +01:00
README.md nix: add loki system configuration 2023-10-15 22:16:06 +02:00
treefmt.nix many stuffzz... 2026-01-05 23:09:19 +01:00

infra/nix

:nixos: NixOS configurations

  • ./hosts folder contains host-specific configurations
  • ./modules folder contains reusable code

🚀 deploy (build and switch to a new system) remotely using:

nixos-rebuild switch --fast --flake .#loki --target-host loki

where the target host loki is the ssh-config name of the host being configured using the .#loki attribute of nixosConfigurations.

see nixosConfigurations attr in ./flake.nix for a complete list of hosts.