diff options
author | Emile <git@emile.space> | 2025-04-12 20:35:25 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2025-04-12 20:35:25 +0200 |
commit | e7ed63a37304cba88e9ecd15ad271b70684dc51b (patch) | |
tree | d816c2744fc8c232e8a08577990fe2a8f9770dd4 /nix/hosts/corrino | |
parent | 1fbf1db449943a424f0afd388aa5fff52ef7c959 (diff) |
Diffstat (limited to 'nix/hosts/corrino')
-rw-r--r-- | nix/hosts/corrino/www/md.emile.space.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nix/hosts/corrino/www/md.emile.space.nix b/nix/hosts/corrino/www/md.emile.space.nix index d9db013..d94c06c 100644 --- a/nix/hosts/corrino/www/md.emile.space.nix +++ b/nix/hosts/corrino/www/md.emile.space.nix @@ -85,6 +85,20 @@ }; }; + services.restic.backups."hedgedoc" = { + repository = "/mnt/storagebox-bx11/hedgedoc"; + paths = [ "/var/lib/hedgedoc" ]; + timerConfig = null; + passwordFile = config.age.secrets.restic_password.path; + initialize = true; + pruneOpts = [ + "--keep-daily 7" + "--keep-weekly 5" + "--keep-monthly 12" + "--keep-yearly 75" + ]; + }; + # backups # services.restic.backups."hedgedoc" = { # user = "u331921"; |