From f9e4f8c54931808ba17f2ae7c6e99a8cdc04dc60 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sun, 21 Nov 2021 18:01:30 +0100 Subject: turn on automatic optimisation and garbage collection of the nix store --- config/store.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config/store.nix (limited to 'config/store.nix') diff --git a/config/store.nix b/config/store.nix new file mode 100644 index 0000000..e5506fa --- /dev/null +++ b/config/store.nix @@ -0,0 +1,12 @@ +{ ... }: + +{ + nix = { + optimise.automatic = true; + gc = { + automatic = true; + dates = "daily"; + options = "--delete-old"; + }; + }; +} -- cgit v1.2.3