refactor(nixos): move host configuration files -> inputs
This commit is contained in:
parent
5f3c9de7e7
commit
414a9d42b3
17 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
flake = {
|
flake = {
|
||||||
nixosConfigurations = import ./outputs/nixos {inherit self inputs nixpkgs;};
|
nixosConfigurations = import ./outputs/nixos.nix {inherit self inputs nixpkgs;};
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ let
|
||||||
hm = inputs.home-manager.nixosModules.home-manager;
|
hm = inputs.home-manager.nixosModules.home-manager;
|
||||||
|
|
||||||
systemInputs = "${self}/inputs/system";
|
systemInputs = "${self}/inputs/system";
|
||||||
|
hosts = "${systemInputs}/hosts";
|
||||||
base = "${systemInputs}/modules/base";
|
base = "${systemInputs}/modules/base";
|
||||||
|
|
||||||
specialArgs = {inherit inputs self;};
|
specialArgs = {inherit inputs self;};
|
||||||
|
|
@ -16,7 +17,7 @@ in
|
||||||
inherit specialArgs;
|
inherit specialArgs;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./ooksdesk
|
"${hosts}/ooksdesk"
|
||||||
hm
|
hm
|
||||||
base
|
base
|
||||||
];
|
];
|
||||||
Loading…
Add table
Add a link
Reference in a new issue