From 4a42ea8faaaf96857a01293cf01156327c18411b Mon Sep 17 00:00:00 2001 From: Minijackson Date: Sat, 3 Dec 2022 14:31:55 +0100 Subject: nix: 22.11: don't use deprecated option --- common/nix.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/nix.nix b/common/nix.nix index 71cca52..e31bcbf 100644 --- a/common/nix.nix +++ b/common/nix.nix @@ -4,15 +4,15 @@ inputs: { nix = { - autoOptimiseStore = true; gc = { automatic = true; dates = "03:15"; options = "--delete-older-than 30d"; }; - extraOptions = '' - experimental-features = nix-command flakes - ''; + settings = { + auto-optimise-store = true; + extra-experimental-features = ["nix-command" "flakes"]; + }; }; } -- cgit v1.2.3