Try to fix issues in Darwin optimise
This commit is contained in:
committed by
greg-compass
parent
36074ec55c
commit
23d4ffc12b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user