feat: add restic package
This commit is contained in:
parent
8ef629cac6
commit
88e424e493
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in a new issue