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)
|
# Docker (state should be kept somewhere else)
|
||||||
"/var/lib/docker/"
|
"/var/lib/docker/"
|
||||||
|
|
||||||
|
# Static configuration (generated from this repository)
|
||||||
|
"/etc/static/"
|
||||||
] ++ cfg.extraExcludes;
|
] ++ cfg.extraExcludes;
|
||||||
excludesFile = pkgs.writeText "excludes.txt" (lib.concatStringsSep "\n" excludes);
|
excludesFile = pkgs.writeText "excludes.txt" (lib.concatStringsSep "\n" excludes);
|
||||||
|
|
||||||
|
@ -75,7 +78,9 @@ in
|
||||||
passwordFile = config.krops.secrets.restic-password.path;
|
passwordFile = config.krops.secrets.restic-password.path;
|
||||||
s3CredentialsFile = config.krops.secrets.restic-s3.path;
|
s3CredentialsFile = config.krops.secrets.restic-s3.path;
|
||||||
paths = [
|
paths = [
|
||||||
|
"/etc"
|
||||||
"/home"
|
"/home"
|
||||||
|
"/root"
|
||||||
"/srv"
|
"/srv"
|
||||||
"/var"
|
"/var"
|
||||||
] ++ cfg.extraPaths;
|
] ++ cfg.extraPaths;
|
||||||
|
|
Loading…
Reference in a new issue