diff options
author | sils <sils@sils.li> | 2022-12-31 21:11:59 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2022-12-31 21:11:59 +0100 |
commit | b8517694ee0140a70132ed6676496e894d2e4edc (patch) | |
tree | 3ceafb4cde93957f8548ed918b96a16b7c3da4b3 /nix.nix | |
parent | removed unnecessary readme (diff) | |
download | nix-config-b8517694ee0140a70132ed6676496e894d2e4edc.tar.gz nix-config-b8517694ee0140a70132ed6676496e894d2e4edc.zip |
tune nix-store
Diffstat (limited to 'nix.nix')
-rw-r--r-- | nix.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nix.nix b/nix.nix new file mode 100644 index 0000000..02fa333 --- /dev/null +++ b/nix.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: +{ + nix = { + gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 3"; + }; + settings.auto-optimise-store = true; + }; +} |