From 5dd318e637598a039c66d3932e3b28c3d4976396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 3 Sep 2023 13:09:35 +0200 Subject: [PATCH] buildClan: machineName --- lib/build-clan/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/build-clan/default.nix b/lib/build-clan/default.nix index 6539a366c..6186783d2 100644 --- a/lib/build-clan/default.nix +++ b/lib/build-clan/default.nix @@ -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