summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nix.nix11
1 files changed, 11 insertions, 0 deletions
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;
+	};
+}