diff options
Diffstat (limited to 'users/tazjin/nixos')
-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"; }) |