diff --git a/hive.nix b/hive.nix index 02498e5..0b6a3b8 100644 --- a/hive.nix +++ b/hive.nix @@ -159,7 +159,7 @@ in nix = { # Set NIX_PATH to the patched version of nixpkgs - nixPath = [ "nixpkgs=${sourcePkgs.path}" ]; + nixPath = [ "nixpkgs=${builtins.storePath sourcePkgs.path}" ]; optimise.automatic = true; gc = { @@ -167,6 +167,14 @@ in dates = "weekly"; options = "--delete-older-than 7d"; }; + + settings = + { + substituters = [ "https://tvix-store.dgnum.eu/infra" ]; + } + // (import ./machines/nixos/storage01/tvix-cache/cache-settings.nix { + caches = [ "infra" ]; + }); }; # Allow unfree packages