summary refs log tree commit diff stats
path: root/sys/nix
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nix')
-rw-r--r--sys/nix/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/nix/default.nix b/sys/nix/default.nix
new file mode 100644
index 0000000..30f5b38
--- /dev/null
+++ b/sys/nix/default.nix
@@ -0,0 +1,13 @@
+{...}: {
+  nix = {
+    gc = {
+      automatic = true;
+      dates = "daily";
+      options = "--delete-older-than 3";
+    };
+    settings = {
+      auto-optimise-store = true;
+      experimental-features = ["nix-command" "flakes"];
+    };
+  };
+}