From 4730b215fdc4095800fedfdf690c12fec994bb6b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 2 Oct 2024 22:07:10 -0500 Subject: more reorganizing and modularizing --- modules/root/nix.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/root/nix.nix (limited to 'modules/root/nix.nix') diff --git a/modules/root/nix.nix b/modules/root/nix.nix new file mode 100644 index 0000000..ff8dd28 --- /dev/null +++ b/modules/root/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