From 0e3858b5e5bb5717319c5a17fb195c51f1cbf06c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 18 Sep 2021 17:44:40 +0300 Subject: refactor(whitby): Move restic path configuration into modules This lets each service declare their backup paths together with the configuration for the service, which is a lot more sensible than what we had before. Fixes b/147 Change-Id: If76fe62639f4cc0e6fbb63a2959d584479d8f0fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/3583 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/modules/www/deploys.tvl.fyi.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ops/modules/www/deploys.tvl.fyi.nix') diff --git a/ops/modules/www/deploys.tvl.fyi.nix b/ops/modules/www/deploys.tvl.fyi.nix index 8ae06f2fff8e..ffbe225b58a3 100644 --- a/ops/modules/www/deploys.tvl.fyi.nix +++ b/ops/modules/www/deploys.tvl.fyi.nix @@ -16,5 +16,7 @@ forceSSL = true; root = "/var/html/deploys.tvl.fyi"; }; + + services.depot.restic.paths = [ "/var/html/deploys.tvl.fyi" ]; }; } -- cgit 1.4.1