From 7e7be20baac3da275b1ffae6dd1cc93b30d516be Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 22 Nov 2021 20:09:16 +0100 Subject: [PATCH] enable automatic garbage collection --- common/desktop.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/desktop.nix b/common/desktop.nix index 0603570..736d0cc 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -78,6 +78,11 @@ # $ nix search wget # allow non-free packages nixpkgs.config.allowUnfree = true; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; + }; # enable steam programs.steam.enable = true; @@ -105,6 +110,7 @@ ranger rofi source-code-pro + source-highlight terminator tree vim