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

25
outputs/nixos.nix Normal file
View 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
];
};
}