infra/nix
surtur d125d70562
nix: extract {net,coredns} stuff into a module
* set up global secrets (sops)
* import common network (lan/tailscale) settings in pertinent places
* use common coredns module for both nixpi and loki
2023-11-17 22:15:11 +01:00
..
hosts nix: extract {net,coredns} stuff into a module 2023-11-17 22:15:11 +01:00
modules nix: extract {net,coredns} stuff into a module 2023-11-17 22:15:11 +01:00
secrets nix: extract {net,coredns} stuff into a module 2023-11-17 22:15:11 +01:00
.sops.yaml nix: add nixpi system configuration 2023-11-05 00:17:44 +01:00
flake.lock nix: add loki system configuration 2023-10-15 22:16:06 +02:00
flake.nix nix: add nixpi system configuration 2023-11-05 00:17:44 +01:00
README.md nix: add loki system configuration 2023-10-15 22:16:06 +02: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.