From 13d018ed7259b10472760e8def379a3f7bdc7d51 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 10 Mar 2022 20:30:54 +0100 Subject: [PATCH] modules/nix-config-server: use global registry --- modules/nix-config/server.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/nix-config/server.nix b/modules/nix-config/server.nix index 8179042..69535ec 100644 --- a/modules/nix-config/server.nix +++ b/modules/nix-config/server.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, inputs, ... }: +{ pkgs, lib, config, inputs, tools, ... }: let fixPriority = x: if config.services.hydra.enable then lib.mkForce x @@ -12,9 +12,7 @@ in { extraOptions = fixPriority '' experimental-features = nix-command flakes builders-use-substitutes = true - flake-registry = ${ - pkgs.writeText "null-registry.json" ''{"flakes":[],"version":2}'' - } + flake-registry = https://git.${tools.meta.domain}/private-void/registry/-/raw/master/registry.json ''; binaryCaches = [ "https://cache.privatevoid.net" ];