nixcfg/modules/homelab/nix_containers.nix

24 lines
586 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
2024-03-24 19:44:09 -04:00
containers.navidrome = {
autoStart = true;
bindMounts."/Music".hostPath = "/mnt/Media/Music";
config = { config, pkgs, lib, ... }: {
system.stateVersion = "24.05";
services.navidrome = {
enable = true;
openFirewall = true;
settings = {
Address = "0.0.0.0";
Port = 4533;
MusicFolder = "/Music";
DefaultTheme = "Auto";
SubsonicArtistParticipations = true;
UIWelcomeMessage = "Welcome to Navidrome @ raffauflabs.com.";
};
2024-03-24 19:44:09 -04:00
};
};
2024-03-24 19:44:09 -04:00
};
}