add(nix): share substituters across hosts

This commit is contained in:
Léana 江 2024-03-07 00:34:38 +01:00 committed by Léana 江
parent 3f367b60f9
commit f4d027ca72
5 changed files with 21 additions and 23 deletions

View file

@ -40,19 +40,10 @@
extraOptions = ''
experimental-features = nix-command flakes
'';
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 15d";
};
optimise = {
dates = ["weekly"];
automatic = true;
};
settings = {
substituters = ["https://nix-community.cachix.org"];
trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
trusted-users = ["root" "@wheel"];
};
settings.trusted-users = ["root" "@wheel"];
};
}