about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/tazjin/nixos/modules/physical.nix9
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix9
2 files changed, 9 insertions, 9 deletions
diff --git a/users/tazjin/nixos/modules/physical.nix b/users/tazjin/nixos/modules/physical.nix
index 92b22112d4f4..baae1b6b5bfe 100644
--- a/users/tazjin/nixos/modules/physical.nix
+++ b/users/tazjin/nixos/modules/physical.nix
@@ -114,5 +114,14 @@ in
       mosh.enable = true;
       ssh.startAgent = true;
     };
+
+    # Automatically collect garbage from the Nix store.
+    services.depot.automatic-gc = {
+      enable = true;
+      interval = "1 hour";
+      diskThreshold = 16; # GiB
+      maxFreed = 50; # GiB
+      preserveGenerations = "14d";
+    };
   };
 }
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 006a27f9f20f..c6cd943b99b7 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -130,15 +130,6 @@ lib.fix (self: {
     '';
 
     xserver.videoDrivers = [ "amdgpu" ];
-
-    # Automatically collect garbage from the Nix store.
-    depot.automatic-gc = {
-      enable = true;
-      interval = "1 hour";
-      diskThreshold = 16; # GiB
-      maxFreed = 10; # GiB
-      preserveGenerations = "14d";
-    };
   };
 
   systemd.user.services.lieer-tazjin = {