From ed17582ab97c18a1e494b034bf142a5d52fc06ea Mon Sep 17 00:00:00 2001 From: chn Date: Wed, 30 Apr 2025 16:02:00 +0800 Subject: [PATCH] Revert "modules.system.nix: add want-mass-query=true" This reverts commit 700b0586200026fb6b9852118011ddbb0b957636. --- devices/nas/default.nix | 2 +- modules/system/nix.nix | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/devices/nas/default.nix b/devices/nas/default.nix index 8af45250..ac6eb217 100644 --- a/devices/nas/default.nix +++ b/devices/nas/default.nix @@ -19,7 +19,7 @@ inputs: }; initrd.sshd = {}; nixpkgs.march = "silvermont"; - nix.substituters = [ "https://nix-store.pc.chn.moe?want-mass-query=true" ]; + nix.substituters = [ "https://nix-store.pc.chn.moe" ]; networking = {}; }; hardware = { cpus = [ "intel" ]; gpu.type = "intel"; }; diff --git a/modules/system/nix.nix b/modules/system/nix.nix index edbee301..555f04a1 100644 --- a/modules/system/nix.nix +++ b/modules/system/nix.nix @@ -4,8 +4,7 @@ inputs: { # marches allowed to be compiled on this machine marches = mkOption { type = types.nullOr (types.listOf types.nonEmptyStr); default = null; }; - substituters = mkOption - { type = types.listOf types.nonEmptyStr; default = [ "https://nix-store.chn.moe?want-mass-query=true" ]; }; + substituters = mkOption { type = types.listOf types.nonEmptyStr; default = [ "https://nix-store.chn.moe" ]; }; remote = { slave =