about summary refs log tree commit diff
path: root/users/wpcarro/nixos/marcus/default.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-25T02·11-0500
committerwpcarro <wpcarro@gmail.com>2021-12-25T16·07+0000
commit4eb0dea713bec8aa79dd7dc5540e5daafd301cf9 (patch)
treeaecb713453a2931d893c7bef2e041e4f01ba07f2 /users/wpcarro/nixos/marcus/default.nix
parent5a943eb2cd4db62632633e7513994aaddb034bc2 (diff)
refactor(wpcarro/nixos): Define common.services r/3394
DRY things up with this mixin.

Change-Id: I5791a50b01902734dff91d391e1aa90a21ce4fbb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4600
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/nixos/marcus/default.nix')
-rw-r--r--users/wpcarro/nixos/marcus/default.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix
index d03da2b910eb..57b9124b2cc6 100644
--- a/users/wpcarro/nixos/marcus/default.nix
+++ b/users/wpcarro/nixos/marcus/default.nix
@@ -34,7 +34,7 @@ in {
 
   time.timeZone = "America/New_York";
 
-  services = {
+  services = wpcarro.common.services // {
     xserver = {
       enable = true;
       libinput = {
@@ -61,14 +61,6 @@ in {
         start = "${wpcarrosEmacs}/bin/wpcarros-emacs";
       };
     };
-
-    depot.automatic-gc = {
-      enable = true;
-      interval = "1 hour";
-      diskThreshold = 16; # GiB
-      maxFreed = 10; # GiB
-      preserveGenerations = "14d";
-    };
   };
 
   # Enable sound.