summaryrefslogtreecommitdiff
path: root/config/store.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-11-13 23:30:53 +0100
committerQuentin Aristote <quentin@aristote.fr>2022-11-13 23:32:59 +0100
commit5440b6c3c3c240ee29436c36b66258b5fe688737 (patch)
tree0f3b82f499622cfa519776ae0f713160aadac42f /config/store.nix
parenteeaf101d564adeb58532e5437ba71f228fa73e0c (diff)
config: enable store config
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";