feat(hive): Add tvix-store as a substituter
This commit is contained in:
parent
ecf5fefbaa
commit
a65e348f0e
1 changed files with 9 additions and 1 deletions
10
hive.nix
10
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
|
||||
|
|
Loading…
Reference in a new issue