buildClan: machineName
All checks were successful
checks-impure / test (pull_request) Successful in 11s
checks / test (pull_request) Successful in 21s

This commit is contained in:
Jörg Thalheim 2023-09-03 13:09:35 +02:00
parent 949b72bd0b
commit 5dd318e637

View File

@ -21,11 +21,14 @@ let
self.nixosModules.clanCore self.nixosModules.clanCore
(machineSettings name) (machineSettings name)
(machines.${name} or { }) (machines.${name} or { })
{ clanCore.clanDir = directory; } {
clanCore.machineName = name;
clanCore.clanDir = directory;
# TODO: remove this once we have a hardware-config mechanism # TODO: remove this once we have a hardware-config mechanism
{ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}
]; ];
specialArgs = specialArgs; inherit specialArgs;
}) })
(machinesDirs // machines); (machinesDirs // machines);
in in