47 lines
849 B
Nix
47 lines
849 B
Nix
{ 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";
|
|
|
|
roles = "${systemInputs}/modules/roles";
|
|
gaming = "${roles}/gaming";
|
|
workstation = "${roles}/workstation";
|
|
media-server = "${roles}/media-server";
|
|
|
|
|
|
|
|
specialArgs = {inherit inputs self;};
|
|
in
|
|
|
|
{
|
|
ooksdesk = nixosSystem {
|
|
inherit specialArgs;
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
"${hosts}/ooksdesk"
|
|
hm
|
|
base
|
|
gaming
|
|
workstation
|
|
];
|
|
};
|
|
ooksmedia = nixosSystem {
|
|
inherit specialArgs;
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
"${hosts}/ooksmedia"
|
|
hm
|
|
base
|
|
|
|
gaming
|
|
workstation
|
|
media-server
|
|
];
|
|
};
|
|
}
|