diff options
Diffstat (limited to 'modules/root/nix.nix')
-rw-r--r-- | modules/root/nix.nix | 11 |
1 files changed, 11 insertions, 0 deletions
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"; + }; +} |