mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nix): share substituters across hosts
This commit is contained in:
parent
3f367b60f9
commit
f4d027ca72
5 changed files with 21 additions and 23 deletions
|
|
@ -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"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue