refactor(nixos): move host configuration files -> inputs

This commit is contained in:
ooks-io 2024-05-20 12:52:59 +12:00
parent 5f3c9de7e7
commit 414a9d42b3
17 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,7 @@
];
flake = {
nixosConfigurations = import ./outputs/nixos {inherit self inputs nixpkgs;};
nixosConfigurations = import ./outputs/nixos.nix {inherit self inputs nixpkgs;};
};
});

View file

@ -6,6 +6,7 @@ let
hm = inputs.home-manager.nixosModules.home-manager;
systemInputs = "${self}/inputs/system";
hosts = "${systemInputs}/hosts";
base = "${systemInputs}/modules/base";
specialArgs = {inherit inputs self;};
@ -16,7 +17,7 @@ in
inherit specialArgs;
system = "x86_64-linux";
modules = [
./ooksdesk
"${hosts}/ooksdesk"
hm
base
];