mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
add auto garbage collection
This commit is contained in:
parent
34cf2a4483
commit
82344372dd
@ -79,9 +79,16 @@
|
||||
warn-dirty = false
|
||||
'';
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
||||
# Add community Cachix to binary cache
|
||||
builders-use-substitutes = true;
|
||||
substituters = lib.mkIf (!pkgs.stdenv.isDarwin)
|
||||
[ "https://nix-community.cachix.org" ];
|
||||
trusted-public-keys = lib.mkIf (!pkgs.stdenv.isDarwin) [
|
||||
|
Loading…
Reference in New Issue
Block a user