aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/server/navidrome.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/common/server/navidrome.nix')
-rw-r--r--hosts/common/server/navidrome.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hosts/common/server/navidrome.nix b/hosts/common/server/navidrome.nix
index 624a1b1..e37ccfe 100644
--- a/hosts/common/server/navidrome.nix
+++ b/hosts/common/server/navidrome.nix
@@ -6,6 +6,19 @@
settings = {
MusicFolder = "/data/fast/music";
Address = "0.0.0.0";
+ httpPort = "4533";
+ };
+ };
+
+ services.restic.backups = {
+ navidrome = {
+ paths = [ "/var/lib/navidrome/" ];
+ repository = "/data/slow/backups/systems";
+ passwordFile = config.age.secrets.restic-repo-systems.path;
+ timerConfig = { OnCalendar = "00:35"; };
+ initialize = true;
+ extraBackupArgs = [ "--tag navidrome" ];
+ pruneOpts = [ "--keep-daily 7" "--keep-weekly 4 --keep-monthly 6" ];
};
};
}