Skip to content

Commit 79370fb

Browse files
committed
darwin01: test auto-optimise-store
1 parent 1b35c9e commit 79370fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

hosts/darwin01/default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ inputs, ... }:
1+
{ inputs, pkgs, ... }:
22

33
{
44
imports = [
@@ -16,4 +16,10 @@
1616
nix.settings.system-features = [ "big-parallel" ];
1717

1818
system.stateVersion = 5;
19+
20+
# test auto-optimise-store fix
21+
# https://github.com/NixOS/nix/pull/13241
22+
nix.package = pkgs.nixVersions.nix_2_30;
23+
nix.optimise.automatic = false;
24+
nix.settings.auto-optimise-store = pkgs.lib.mkForce true;
1925
}

0 commit comments

Comments
 (0)