diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-25T02·11-0500 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2021-12-25T16·07+0000 |
commit | 4eb0dea713bec8aa79dd7dc5540e5daafd301cf9 (patch) | |
tree | aecb713453a2931d893c7bef2e041e4f01ba07f2 /users/wpcarro/nixos/diogenes/default.nix | |
parent | 5a943eb2cd4db62632633e7513994aaddb034bc2 (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/diogenes/default.nix')
-rw-r--r-- | users/wpcarro/nixos/diogenes/default.nix | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/users/wpcarro/nixos/diogenes/default.nix b/users/wpcarro/nixos/diogenes/default.nix index 2a3df2e3f52d..105c31793d4c 100644 --- a/users/wpcarro/nixos/diogenes/default.nix +++ b/users/wpcarro/nixos/diogenes/default.nix @@ -69,15 +69,7 @@ in { environment.systemPackages = wpcarro.common.shell-utils; - services = { - depot.automatic-gc = { - enable = true; - interval = "1 hour"; - diskThreshold = 16; # GiB - maxFreed = 10; # GiB - preserveGenerations = "14d"; - }; - + services = wpcarro.common.services // { depot.quassel = { enable = true; acmeHost = "quassel.wpcarro.dev"; |