modules/nix-config-server: use global registry
This commit is contained in:
parent
a90f5ba92f
commit
13d018ed72
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, config, inputs, ... }:
|
{ pkgs, lib, config, inputs, tools, ... }:
|
||||||
let
|
let
|
||||||
fixPriority = x: if config.services.hydra.enable
|
fixPriority = x: if config.services.hydra.enable
|
||||||
then lib.mkForce x
|
then lib.mkForce x
|
||||||
|
@ -12,9 +12,7 @@ in {
|
||||||
extraOptions = fixPriority ''
|
extraOptions = fixPriority ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
builders-use-substitutes = true
|
builders-use-substitutes = true
|
||||||
flake-registry = ${
|
flake-registry = https://git.${tools.meta.domain}/private-void/registry/-/raw/master/registry.json
|
||||||
pkgs.writeText "null-registry.json" ''{"flakes":[],"version":2}''
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
binaryCaches = [ "https://cache.privatevoid.net" ];
|
binaryCaches = [ "https://cache.privatevoid.net" ];
|
||||||
|
|
Loading…
Reference in a new issue