From 7b3bd6d82f6d60f92c2a8087efe52231e4550a62 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 28 Mar 2022 08:21:57 -0700 Subject: nas: initial setup for navidrome --- hosts/common/server/navidrome.nix | 8 ++++++++ hosts/profiles/nas.nix | 1 + 2 files changed, 9 insertions(+) create mode 100644 hosts/common/server/navidrome.nix 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 -- cgit 1.4.1