summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/common/default.nix b/common/default.nix
index 8fdfc3a..5a58880 100644
--- a/common/default.nix
+++ b/common/default.nix
@@ -60,8 +60,11 @@
YDOTOOL_SOCKET = "/run/ydotoold/socket";
};
- nix.settings.experimental-features = [
- "nix-command"
+ nix = {
+ optimise.automatic = true;
+ settings.experimental-features = [
+ "nix-command"
"flakes"
- ];
+ ];
+ }
}