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 <sternenseemann@systemli.org>
This commit is contained in:
parent
86a114ac45
commit
0e3858b5e5
4 changed files with 8 additions and 7 deletions
|
|
@ -135,4 +135,9 @@ in {
|
|||
Group = "git";
|
||||
};
|
||||
};
|
||||
|
||||
services.depot.restic = {
|
||||
paths = [ "/var/lib/gerrit" ];
|
||||
exclude = [ "/var/lib/gerrit/tmp" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue