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