diff --git a/modules/system/nix-ld.nix b/modules/system/nix-ld.nix index 58805adf..5c6e8f61 100644 --- a/modules/system/nix-ld.nix +++ b/modules/system/nix-ld.nix @@ -1,7 +1,10 @@ inputs: { options.nixos.system.nix-ld = let inherit (inputs.lib) mkOption types; in mkOption - { type = types.nullOr (types.submodule {}); default = {}; }; + { + type = types.nullOr (types.submodule {}); + default = if inputs.config.nixos.model.arch == "x86_64" then {} else null; + }; config = let inherit (inputs.config.nixos.system) nix-ld; in inputs.lib.mkIf (nix-ld != null) { programs.nix-ld =