diff options
author | Vincent Ambo <mail@tazj.in> | 2020-08-10T22·50+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-08-10T23·24+0000 |
commit | 718a561441856b056d4c5994e19ca279344587c5 (patch) | |
tree | e1980970f02f4f4e0b38be0fab5daae4e1b279a7 /users/tazjin/nixos/camden/default.nix | |
parent | dc13e12b95fdc1e4458bc8ce95044da706acbaf6 (diff) |
chore(tazjin/camden): Remove services that have moved to whitby r/1637
Change-Id: Ica3e30105be1ec56023ebf2dd81e5fa0cbe4759c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1713 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/nixos/camden/default.nix')
-rw-r--r-- | users/tazjin/nixos/camden/default.nix | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix index 06536a1a7a1e..9f9bab9354a5 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"; }) |