niksos/hosts/default.nix
2024-08-28 22:21:15 +02:00

26 lines
485 B
Nix

{
inputs,
...
}: let
inherit (inputs) self;
inherit (self) lib;
createSystem = systemDir: lib.nixosSystem {
system = null;
specialArgs = {inherit lib inputs self;};
modules = [
systemDir
../modules
];
};
in {
niks = createSystem ./niks;
del = createSystem ./del;
hape = createSystem ./hape;
chmura = createSystem ./chmura;
${inputs.work-secrets.hostname} = createSystem ./work;
}