summaryrefslogtreecommitdiff
path: root/config/store.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/store.nix')
-rw-r--r--config/store.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/store.nix b/config/store.nix
index cc4e15e..8efcd5d 100644
--- a/config/store.nix
+++ b/config/store.nix
@@ -1,9 +1,11 @@
-{ ... }:
+{ lib, ... }:
{
nix = {
- autoOptimiseStore = true;
- experimental-features = [ "nix-command" "flakes" ];
+ settings = {
+ auto-optimise-store = true;
+ experimental-features = [ "nix-command" "flakes" ];
+ };
gc = {
automatic = true;
dates = "daily";