summaryrefslogtreecommitdiff
path: root/features/system/global/nix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'features/system/global/nix.nix')
-rw-r--r--features/system/global/nix.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/features/system/global/nix.nix b/features/system/global/nix.nix
new file mode 100644
index 0000000..a0ece02
--- /dev/null
+++ b/features/system/global/nix.nix
@@ -0,0 +1,13 @@
+{ ... }: {
+ nix = {
+ settings = {
+ experimental-features = [ "nix-command" "flakes" ];
+ auto-optimise-store = true;
+ };
+ gc = {
+ automatic = true;
+ dates = "daily";
+ options = "-d 5";
+ };
+ };
+}