niksos/hosts/default.nix

27 lines
473 B
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;
2024-03-08 15:12:45 +01:00
createHost = systemDir: lib.nixosSystem {
system = null;
specialArgs = {inherit lib inputs self;};
2024-02-19 17:06:47 +01:00
modules = [
systemDir
2024-02-19 17:06:47 +01:00
../modules
];
};
in {
niks = createHost ./niks;
del = createHost ./del;
2024-03-08 15:12:45 +01:00
hape = createHost ./hape;
chmura = createHost ./chmura;
2024-08-28 22:21:15 +02:00
${inputs.work-secrets.hostname} = createHost ./work;
}