about summary refs log tree commit diff
path: root/hosts/common/server
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-06 07:31:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-06 07:31:56 -0700
commitc41d9b7d8a6f8452f9dfb2650acb0926fef0d212 (patch)
treec9bd1e0f6e1236a29bab44ae79e574290be4b2a2 /hosts/common/server
parentenable AMD module correctly (diff)
downloadworld-c41d9b7d8a6f8452f9dfb2650acb0926fef0d212.tar.gz
refactor navidrome to a module
Diffstat (limited to 'hosts/common/server')
-rw-r--r--hosts/common/server/navidrome.nix24
1 files changed, 0 insertions, 24 deletions
diff --git a/hosts/common/server/navidrome.nix b/hosts/common/server/navidrome.nix
deleted file mode 100644
index e37ccfe..0000000
--- a/hosts/common/server/navidrome.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
-  services.navidrome = {
-    enable = true;
-    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" ];
-    };
-  };
-}