flakes/containers/emerald/configuration.nix
Cilly Leang 39418b8d39
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
containers/emerald: use correct shareurl format
navidrome always add /share at the end :(
2026-03-18 00:07:52 +11:00

22 lines
596 B
Nix

{ fqdn, shareFqdn, ... }: {
system.stateVersion = "25.11";
systemd.tmpfiles.rules = [
"d /persist/music 755 navidrome navidrome"
"d /persist/navidrome 755 navidrome navidrome"
];
networking.firewall.allowedTCPPorts = [ 4533 ];
networking.firewall.allowedUDPPorts = [ 4533 ];
services.navidrome = {
enable = true;
settings = {
Port = 4533;
Address = "[::]";
BaseUrl = "https://${fqdn}/";
ShareURL = "https://${shareFqdn}";
EnableSharing = true;
DataFolder = "/persist/navidrome";
MusicFolder = "/persist/music";
};
};
}