about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/common/server/navidrome.nix8
-rw-r--r--hosts/profiles/nas.nix1
2 files changed, 9 insertions, 0 deletions
diff --git a/hosts/common/server/navidrome.nix b/hosts/common/server/navidrome.nix
new file mode 100644
index 0000000..59d0bca
--- /dev/null
+++ b/hosts/common/server/navidrome.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, lib, ... }:
+
+{
+  services.navidrome = {
+    enable = true;
+    settings = { MusicFolder = "/data/fast/music"; };
+  };
+}
diff --git a/hosts/profiles/nas.nix b/hosts/profiles/nas.nix
index 76fae45..cee0dc4 100644
--- a/hosts/profiles/nas.nix
+++ b/hosts/profiles/nas.nix
@@ -12,6 +12,7 @@ in {
     ../common/server/unifi.nix
     ../common/server/gitea.nix
     ../common/server/rclone.nix
+    ../common/server/navidrome.nix
   ];
 
   # tool to organize the music on the NAS