restructure code

This commit is contained in:
Pim Kunis 2023-12-29 12:47:59 +01:00
parent c2b8131adc
commit 6d258fe5ae
28 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
machines = import ./machines;
machines = import ./nixos/machines;
# TODO: Maybe use mergeAttrLists
mkNixosSystems = systemDef:
nixpkgs.lib.foldlAttrs
@ -70,7 +70,7 @@
machine.nixosModule
disko.nixosModules.disko
agenix.nixosModules.default
./configuration.nix
./nixos
{ networking.hostName = machine.name; }
];
});