Try to fix issues in Darwin optimise

This commit is contained in:
Greg Hellings
2023-08-23 14:49:01 -05:00
committed by greg-compass
parent 36074ec55c
commit 23d4ffc12b
+5 -3
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
# Enable flakes
@@ -18,12 +18,14 @@
gc = {
automatic = true;
dates = "weekly";
interval = {
Hour = 24;
};
options = "--delete-older-than 30d";
};
settings = {
auto-optimise-store = true;
auto-optimise-store = (if lib.strings.hasSuffix "darwin" pkgs.system then false else true);
experimental-features = "nix-command flakes";
keep-outputs = true;
keep-derivations = true;