niksos/hosts/default.nix

70 lines
1.8 KiB
Nix
Raw Normal View History

{
2023-07-13 12:49:20 +02:00
inputs,
...
}: let
2023-09-08 16:10:15 +02:00
inherit (inputs) self;
2024-03-19 00:04:33 +01:00
inherit (self) lib;
in {
2023-09-09 00:05:59 +02:00
niks = lib.nixosSystem {
2023-07-13 12:49:20 +02:00
system = "x86_64-linux";
2023-09-08 16:10:15 +02:00
specialArgs = {
2023-09-14 20:51:12 +02:00
inherit lib inputs self;
2023-09-08 16:10:15 +02:00
};
2023-07-13 12:49:20 +02:00
modules = [
2023-09-09 00:05:59 +02:00
./niks
2023-10-13 21:04:24 +02:00
../modules
2023-09-09 00:05:59 +02:00
inputs.home-manager.nixosModules.home-manager
2023-09-13 16:56:44 +02:00
inputs.agenix.nixosModules.default
2024-03-08 15:12:45 +01:00
{
imports = [ inputs.impurity.nixosModules.impurity ];
impurity.configRoot = self;
}
2023-07-13 12:49:20 +02:00
];
};
2024-03-08 15:12:45 +01:00
niks-impure = self.nixosConfigurations.niks.extendModules { modules = [ { impurity.enable = true; } ]; };
2024-02-19 17:06:47 +01:00
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
2024-03-08 15:12:45 +01:00
{
imports = [ inputs.impurity.nixosModules.impurity ];
impurity.configRoot = self;
}
2024-02-19 17:06:47 +01:00
];
};
2024-03-08 15:12:45 +01:00
del-impure = self.nixosConfigurations.niks.extendModules { modules = [ { impurity.enable = true; } ]; };
2023-11-25 17:12:09 +01:00
#hape = lib.nixosSystem {
# system = "x86_64-linux";
# specialArgs = {
# inherit lib inputs self;
# };
# modules = [
# ./hape
# ../modules
# inputs.home-manager.nixosModules.home-manager
# ];
#};
2023-09-09 00:05:59 +02:00
chmura = lib.nixosSystem {
system = "x86_64-linux";
2023-09-08 16:10:15 +02:00
specialArgs = {
inherit lib inputs self;
};
2023-07-13 15:11:17 +02:00
modules = [
2023-09-09 00:05:59 +02:00
./chmura
2023-10-13 21:04:24 +02:00
../modules
2023-09-09 00:05:59 +02:00
inputs.home-manager.nixosModules.home-manager
2023-09-13 16:56:44 +02:00
inputs.agenix.nixosModules.default
2023-07-13 15:11:17 +02:00
];
};
}