summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2022-12-03 14:31:55 +0100
committerMinijackson <minijackson@riseup.net>2022-12-03 14:31:55 +0100
commit4a42ea8faaaf96857a01293cf01156327c18411b (patch)
treea514a3e667a56201a921fafc10fe69a2adb50349 /common
parent64411cd7cb121bc51373b6858002f3c6fc92cc6d (diff)
downloadnixos-config-reborn-4a42ea8faaaf96857a01293cf01156327c18411b.tar.gz
nixos-config-reborn-4a42ea8faaaf96857a01293cf01156327c18411b.zip
nix: 22.11: don't use deprecated option
Diffstat (limited to 'common')
-rw-r--r--common/nix.nix8
1 files changed, 4 insertions, 4 deletions
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:
4 4
5{ 5{
6 nix = { 6 nix = {
7 autoOptimiseStore = true;
8 gc = { 7 gc = {
9 automatic = true; 8 automatic = true;
10 dates = "03:15"; 9 dates = "03:15";
11 options = "--delete-older-than 30d"; 10 options = "--delete-older-than 30d";
12 }; 11 };
13 12
14 extraOptions = '' 13 settings = {
15 experimental-features = nix-command flakes 14 auto-optimise-store = true;
16 ''; 15 extra-experimental-features = ["nix-command" "flakes"];
16 };
17 }; 17 };
18} 18}