modules.system.nix: add want-mass-query=true

This commit is contained in:
2025-04-29 10:10:58 +08:00
parent f495477261
commit 700b058620
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ inputs:
};
initrd.sshd = {};
nixpkgs.march = "silvermont";
nix.substituters = [ "https://nix-store.pc.chn.moe" ];
nix.substituters = [ "https://nix-store.pc.chn.moe?want-mass-query=true" ];
networking = {};
};
hardware = { cpus = [ "intel" ]; gpu.type = "intel"; };

View File

@@ -4,7 +4,8 @@ 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" ]; };
substituters = mkOption
{ type = types.listOf types.nonEmptyStr; default = [ "https://nix-store.chn.moe?want-mass-query=true" ]; };
remote =
{
slave =