Merge pull request 'buildClan: machineName' (#242) from Mic92-secret-fix into main

This commit is contained in:
clan-bot
2023-09-03 11:11:06 +00:00

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