about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-28 08:21:57 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-28 08:21:57 -0700
commit7b3bd6d82f6d60f92c2a8087efe52231e4550a62 (patch)
tree4e3ebeec010737104509f1ef9cfc6b3f89d546d4
parentnas: install music-organizer from the main branch (diff)
downloadworld-7b3bd6d82f6d60f92c2a8087efe52231e4550a62.tar.gz
nas: initial setup for navidrome
Diffstat (limited to '')
-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