From f11b894c9552f2b606a584816bffce66445b41d1 Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Mon, 11 Aug 2025 11:58:52 +0200 Subject: [PATCH] Move Darwin-specific gc.interval to Darwin profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove Darwin-specific gc.interval from base profile and add it to Darwin profile to fix NixOS compatibility. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode --- profiles/base/default.nix | 5 ----- profiles/darwin/default.nix | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/profiles/base/default.nix b/profiles/base/default.nix index 491b00d..e94aaf1 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -44,11 +44,6 @@ }; gc = { automatic = true; - interval = { - Weekday = 0; - Hour = 2; - Minute = 0; - }; options = "--delete-older-than 30d"; }; extraOptions = '' diff --git a/profiles/darwin/default.nix b/profiles/darwin/default.nix index 13e21fb..1b000d3 100644 --- a/profiles/darwin/default.nix +++ b/profiles/darwin/default.nix @@ -14,6 +14,13 @@ ./dock ]; + # Darwin-specific gc interval format + nix.gc.interval = { + Weekday = 0; + Hour = 2; + Minute = 0; + }; + users.users.${user} = { name = "${user}"; home = "/Users/${user}";