From c41d9b7d8a6f8452f9dfb2650acb0926fef0d212 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 6 Apr 2022 07:31:56 -0700 Subject: refactor navidrome to a module --- hosts/profiles/nas.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'hosts/profiles/nas.nix') diff --git a/hosts/profiles/nas.nix b/hosts/profiles/nas.nix index dcc73e2..aaeee75 100644 --- a/hosts/profiles/nas.nix +++ b/hosts/profiles/nas.nix @@ -9,7 +9,6 @@ ../common/server/unifi.nix ../common/server/gitea.nix ../common/server/rclone.nix - ../common/server/navidrome.nix ]; users.groups.nas.gid = 5000; @@ -19,9 +18,15 @@ isSystemUser = true; }; - my.services.samba = { - enable = true; - publicShares = [ "/data/fast/music" "/data/fast/videos" ]; + my.services = { + samba = { + enable = true; + publicShares = [ "/data/fast/music" "/data/fast/videos" ]; + }; + navidrome = { + enable = true; + musicFolder = "/data/fast/music"; + }; }; services.restic.backups = { -- cgit v1.2.3