From 34b0bb8df42194a0ea433592e3cac27546f0af4e Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 2 Oct 2024 21:29:37 -0500 Subject: modularize conf and stuff --- modules/nix.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/nix.nix (limited to 'modules/nix.nix') diff --git a/modules/nix.nix b/modules/nix.nix new file mode 100644 index 0000000..ff8dd28 --- /dev/null +++ b/modules/nix.nix @@ -0,0 +1,11 @@ +{ + nix.settings = { + experimental-features = [ "nix-command" "flakes" ]; + use-xdg-base-directories = true; + }; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; +} -- cgit v1.2.3