niksos/hosts/default.nix
jacekpoz 59febb2149
move the config' arg to a custom module (big)
shoutout to raf for pointing out how retarded this was
this was needed very much
2024-02-29 00:29:56 +01:00

55 lines
1.3 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
];
};
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
];
};
#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
];
};
}