diff --git a/lib/build-clan/interface.nix b/lib/build-clan/interface.nix index 5b38735f3..bcab2a621 100644 --- a/lib/build-clan/interface.nix +++ b/lib/build-clan/interface.nix @@ -169,7 +169,6 @@ in clanLib = lib.mkOption { type = lib.types.raw; }; all-machines-json = lib.mkOption { type = lib.types.raw; }; machines = lib.mkOption { type = lib.types.raw; }; - machinesFunc = lib.mkOption { type = lib.types.raw; }; }; }; }; diff --git a/lib/build-clan/module.nix b/lib/build-clan/module.nix index 2bf3e225e..4c47a96e6 100644 --- a/lib/build-clan/module.nix +++ b/lib/build-clan/module.nix @@ -141,24 +141,6 @@ let ) supportedSystems ); - configsFuncPerSystem = builtins.listToAttrs ( - builtins.map ( - system: - lib.nameValuePair system ( - lib.mapAttrs ( - name: _: args: - moduleSystemConstructor.${machineClasses.${name}} ( - args - // { - inherit name system; - pkgs = pkgsFor.${system}; - } - ) - ) allMachines - ) - ) supportedSystems - ); - inventoryFile = "${directory}/inventory.json"; inventoryLoaded = @@ -230,7 +212,6 @@ in # machine specifics machines = configsPerSystem; - machinesFunc = configsFuncPerSystem; all-machines-json = if !lib.hasAttrByPath [ "darwinModules" "clanCore" ] clan-core then lib.mapAttrs (