nix: refactor modules pass 1

This commit is contained in:
Primrose 2025-04-01 21:35:06 +02:00
parent f91017271d
commit ec7246e524
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
18 changed files with 122 additions and 124 deletions

View file

@ -3,7 +3,7 @@ os host action:
nixpkgs=$(nix-instantiate --eval -E "let sources = import ./nix/sources.nix {}; in sources.nixpkgs.outPath" | jq -r .)
sudo nixos-rebuild {{ action }} \
-I nixpkgs=${nixpkgs} \
-I nixos-config=./nix/configurations/hosts/{{ host }}.nix \
-I nixos-config=./nix/configurations/{{ host }}.nix \
--fast \
--attr "nixosConfigurations.{{ host }}"