Merge pull request 'buildClan: machineName' (#242) from Mic92-secret-fix into main
All checks were successful
checks-impure / test (push) Successful in 13s
checks / test (push) Successful in 20s

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

View File

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