mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 21:23:55 -05:00
24 lines
716 B
Nix
24 lines
716 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
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.";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|