nixos/services/navidrome.nix

16 lines
376 B
Nix
Raw Permalink Normal View History

2024-01-30 14:21:50 +00:00
{pkgs, ...}: {
imports = [./caddy.nix];
environment.systemPackages = with pkgs; [ffmpeg];
services = {
navidrome = {
enable = true;
settings = {
Address = "127.0.0.1";
Port = 4533;
MusicFolder = "/media/music";
};
};
2024-01-30 14:21:50 +00:00
caddy.virtualHosts."music.xenia.me.uk".extraConfig = "reverse_proxy http://localhost:4533";
};
}