restic/system: Include /root and /etc
This commit is contained in:
parent
a102f691a6
commit
41f8d468b6
|
@ -26,6 +26,9 @@ let
|
|||
|
||||
# Docker (state should be kept somewhere else)
|
||||
"/var/lib/docker/"
|
||||
|
||||
# Static configuration (generated from this repository)
|
||||
"/etc/static/"
|
||||
] ++ cfg.extraExcludes;
|
||||
excludesFile = pkgs.writeText "excludes.txt" (lib.concatStringsSep "\n" excludes);
|
||||
|
||||
|
@ -75,7 +78,9 @@ in
|
|||
passwordFile = config.krops.secrets.restic-password.path;
|
||||
s3CredentialsFile = config.krops.secrets.restic-s3.path;
|
||||
paths = [
|
||||
"/etc"
|
||||
"/home"
|
||||
"/root"
|
||||
"/srv"
|
||||
"/var"
|
||||
] ++ cfg.extraPaths;
|
||||
|
|
Loading…
Reference in a new issue