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
25
outputs/nixos.nix
Normal file
25
outputs/nixos.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ inputs, nixpkgs, self, ... }:
|
||||
|
||||
let
|
||||
inherit (nixpkgs.lib) nixosSystem;
|
||||
|
||||
hm = inputs.home-manager.nixosModules.home-manager;
|
||||
|
||||
systemInputs = "${self}/inputs/system";
|
||||
hosts = "${systemInputs}/hosts";
|
||||
base = "${systemInputs}/modules/base";
|
||||
|
||||
specialArgs = {inherit inputs self;};
|
||||
in
|
||||
|
||||
{
|
||||
ooksdesk = nixosSystem {
|
||||
inherit specialArgs;
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
"${hosts}/ooksdesk"
|
||||
hm
|
||||
base
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue