niksos/hosts/default.nix
2024-03-08 15:12:45 +01:00

69 lines
1.8 KiB
Nix

{
lib,
inputs,
...
}: let
inherit (inputs) self;
in {
niks = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
};
modules = [
./niks
../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
{
imports = [ inputs.impurity.nixosModules.impurity ];
impurity.configRoot = self;
}
];
};
niks-impure = self.nixosConfigurations.niks.extendModules { modules = [ { impurity.enable = true; } ]; };
del = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
};
modules = [
./del
../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
{
imports = [ inputs.impurity.nixosModules.impurity ];
impurity.configRoot = self;
}
];
};
del-impure = self.nixosConfigurations.niks.extendModules { modules = [ { impurity.enable = true; } ]; };
#hape = lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = {
# inherit lib inputs self;
# };
# modules = [
# ./hape
# ../modules
# inputs.home-manager.nixosModules.home-manager
# ];
#};
chmura = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit lib inputs self;
};
modules = [
./chmura
../modules
inputs.home-manager.nixosModules.home-manager
inputs.agenix.nixosModules.default
];
};
}