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 = {
|
nix = {
|
||||||
# Set NIX_PATH to the patched version of nixpkgs
|
# Set NIX_PATH to the patched version of nixpkgs
|
||||||
nixPath = [ "nixpkgs=${sourcePkgs.path}" ];
|
nixPath = [ "nixpkgs=${builtins.storePath sourcePkgs.path}" ];
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -167,6 +167,14 @@ in
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 7d";
|
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
|
# Allow unfree packages
|
||||||
|
|
Loading…
Reference in a new issue