Skip to content

Commit 1f867a5

Browse files
Mic92zowoq
authored andcommitted
use mkDefault for nix.optimise.automatic
Co-authored-by: zowoq <59103226+zowoq@users.noreply.github.com>
1 parent abb6ee6 commit 1f867a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/common/nix.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
nix.settings.log-lines = lib.mkDefault 25;
1616

1717
# De-duplicate store paths using hardlinks
18-
nix.optimise.automatic = true;
18+
nix.optimise.automatic = lib.mkDefault true;
1919

2020
# Avoid disk full issues
2121
nix.settings.max-free = lib.mkDefault (3000 * 1024 * 1024);

0 commit comments

Comments
 (0)