feat: add restic package

This commit is contained in:
Felix Schröter 2021-05-12 23:22:52 +02:00
parent 8ef629cac6
commit 88e424e493
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -32,6 +32,8 @@ let
] ++ extraPruneOpts; ] ++ extraPruneOpts;
}; };
in { in {
environment.systemPackages = with pkgs; [ restic ];
services.restic.backups.full = resticConfig { services.restic.backups.full = resticConfig {
name = "full"; name = "full";
paths = [ "/home" "/var" "/etc" ]; paths = [ "/home" "/var" "/etc" ];