From b8517694ee0140a70132ed6676496e894d2e4edc Mon Sep 17 00:00:00 2001 From: sils Date: Sat, 31 Dec 2022 21:11:59 +0100 Subject: tune nix-store --- nix.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nix.nix (limited to 'nix.nix') 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; + }; +} -- cgit 1.4.1