summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-07-08 14:32:40 +0200
committerAlan Pearce2024-07-08 14:32:40 +0200
commit6516c2559c4fe10dc3c32d824411a71c9f8cae07 (patch)
tree8ceb50d5ebc6caa7e51bd6387ca3ba505c4f7f42
parentf3dcdc979045dd5d967720c5a5ec768cd50283f2 (diff)
downloadnixfiles-6516c2559c4fe10dc3c32d824411a71c9f8cae07.tar.lz
nixfiles-6516c2559c4fe10dc3c32d824411a71c9f8cae07.tar.zst
nixfiles-6516c2559c4fe10dc3c32d824411a71c9f8cae07.zip
darwin: remove automatic nix gc configuration
-rw-r--r--system/settings/darwin.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 6d5b357d..0f507a31 100644
--- a/system/settings/darwin.nix
+++ b/system/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" ];