all repos — nixfiles @ 6516c2559c4fe10dc3c32d824411a71c9f8cae07

System and user configuration, managed by nix and home-manager

darwin: remove automatic nix gc configuration
Alan Pearce alan@alanpearce.eu
Mon, 08 Jul 2024 14:32:40 +0200
commit

6516c2559c4fe10dc3c32d824411a71c9f8cae07

parent

f3dcdc979045dd5d967720c5a5ec768cd50283f2

1 files changed, 0 insertions(+), 4 deletions(-)

jump to
M system/settings/darwin.nixsystem/settings/darwin.nix
@@ -19,10 +19,6 @@   environment.darwinConfig = "$HOME/.config/nixpkgs/darwin-configuration.nix";
   nix = {
     daemonIOLowPriority = true;
-    gc = {
-      user = "alan";
-      options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))";
-    };
     settings.extra-platforms = "aarch64-darwin x86_64-darwin";
 
     settings.trusted-users = [ "@admin" ];