From 76abe1d6fa40a777a7531e35b1cce6cad92bc8e9 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 21 Sep 2025 10:19:02 +0200 Subject: feat(ev): add navidrome --- nixos/hosts/ev/navidrome.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 nixos/hosts/ev/navidrome.nix (limited to 'nixos/hosts/ev/navidrome.nix') diff --git a/nixos/hosts/ev/navidrome.nix b/nixos/hosts/ev/navidrome.nix new file mode 100644 index 0000000..ea96341 --- /dev/null +++ b/nixos/hosts/ev/navidrome.nix @@ -0,0 +1,23 @@ +{ config, lib, pkgs, ... }: + +let + cfg = config.navidrome; +in +{ + options.navidrome = { + port = lib.mkOption { + type = lib.types.port; + }; + }; + + config = { + services.navidrome = { + enable = true; + settings = { + Address = "0.0.0.0"; + Port = cfg.port; + MusicFolder = "/mnt/personal/music"; + }; + }; + }; +} -- cgit v1.2.3