From 718a561441856b056d4c5994e19ca279344587c5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 10 Aug 2020 23:50:12 +0100 Subject: chore(tazjin/camden): Remove services that have moved to whitby Change-Id: Ica3e30105be1ec56023ebf2dd81e5fa0cbe4759c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1713 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/nixos/camden/default.nix | 39 ----------------------------------- 1 file changed, 39 deletions(-) diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix index 06536a1a7a..9f9bab9354 100644 --- a/users/tazjin/nixos/camden/default.nix +++ b/users/tazjin/nixos/camden/default.nix @@ -18,8 +18,6 @@ in lib.fix(self: { "${depot.depotPath}/ops/nixos/depot.nix" "${depot.depotPath}/ops/nixos/quassel.nix" "${depot.depotPath}/ops/nixos/smtprelay.nix" - "${depot.depotPath}/ops/nixos/sourcegraph.nix" - "${depot.depotPath}/ops/nixos/tvl-slapd/default.nix" ]; depot = depot; @@ -212,19 +210,6 @@ in lib.fix(self: { group = "quassel"; allowKeysForGroup = true; }; - - certs."tvl.fyi" = { - user = "nginx"; - group = "nginx"; - webroot = "/var/lib/acme/acme-challenge"; - postRun = "systemctl reload nginx"; - extraDomains = { - "b.tvl.fyi" = null; - "cl.tvl.fyi" = null; - "code.tvl.fyi" = null; - "cs.tvl.fyi" = null; - }; - }; }; # Forward logs to Google Cloud Platform @@ -352,29 +337,5 @@ in lib.fix(self: { }; }; - # Regularly back up Gerrit to Google Cloud Storage. - systemd.user.services.restic-gerrit = { - description = "Gerrit backups to Google Cloud Storage"; - script = "${nixpkgs.restic}/bin/restic backup /var/lib/gerrit"; - environment = { - RESTIC_REPOSITORY = "gs:tvl-fyi-backups:/camden"; - RESTIC_PASSWORD_FILE = "%h/.config/restic/secret"; - RESTIC_EXCLUDE_FILE = builtins.toFile "exclude-files" '' - /var/lib/gerrit/etc/secure.config - /var/lib/gerrit/etc/ssh_host_*_key - /var/lib/gerrit/etc/ssh_host_*_key - /var/lib/gerrit/etc/ssh_host_*_key - /var/lib/gerrit/etc/ssh_host_*_key - /var/lib/gerrit/etc/ssh_host_*_key - /var/lib/gerrit/tmp - ''; - }; - }; - - systemd.user.timers.restic-gerrit = { - wantedBy = [ "timers.target" ]; - timerConfig.OnCalendar = "hourly"; - }; - system.stateVersion = "19.09"; }) -- cgit 1.4.1