Skip to content

Commit

Permalink
Merge pull request #43 from entropia/xanderio/nix-gc
Browse files Browse the repository at this point in the history
profiles/base: setup automatic nix gc
  • Loading branch information
xanderio committed Jul 3, 2024
2 parents 53a7c9d + 8c04f6e commit 31c54c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions profiles/base/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@

security.sudo.wheelNeedsPassword = false;

nix.gc = {
automatic = true;
options = "--delete-older-than 2d";
};

nix.settings = {
trusted-users = [ "@wheel" ];
trusted-substituters = [ "https://entropia.cachix.org" ];
Expand Down

0 comments on commit 31c54c6

Please sign in to comment.