niksos/hosts/default.nix
2024-08-30 20:29:16 +02:00

28 lines
491 B
Nix

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