2023-07-06 21:07:54 +02:00
|
|
|
{
|
2023-07-13 12:49:20 +02:00
|
|
|
inputs,
|
|
|
|
...
|
2023-07-06 21:07:54 +02:00
|
|
|
}: 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
|
|
|
|
2024-08-30 20:27:07 +02:00
|
|
|
createHost = systemDir: lib.nixosSystem {
|
2024-07-15 21:14:23 +02:00
|
|
|
system = null;
|
2024-07-15 21:58:14 +02:00
|
|
|
specialArgs = {inherit lib inputs self;};
|
2024-02-19 17:06:47 +01:00
|
|
|
modules = [
|
2024-07-15 21:58:14 +02:00
|
|
|
systemDir
|
2024-02-19 17:06:47 +01:00
|
|
|
../modules
|
|
|
|
];
|
|
|
|
};
|
2024-07-15 21:58:14 +02:00
|
|
|
in {
|
2024-08-30 20:27:07 +02:00
|
|
|
niks = createHost ./niks;
|
2024-07-15 21:58:14 +02:00
|
|
|
|
2024-08-30 20:27:07 +02:00
|
|
|
del = createHost ./del;
|
2024-03-08 15:12:45 +01:00
|
|
|
|
2024-08-30 20:27:07 +02:00
|
|
|
hape = createHost ./hape;
|
2024-07-15 21:58:14 +02:00
|
|
|
|
2024-08-30 20:27:07 +02:00
|
|
|
chmura = createHost ./chmura;
|
2024-08-28 22:21:15 +02:00
|
|
|
|
2024-08-30 20:27:07 +02:00
|
|
|
${inputs.work-secrets.hostname} = createHost ./work;
|
2023-07-06 21:07:54 +02:00
|
|
|
}
|