tsuki/navidrome: conditional config

This commit is contained in:
Oystein Kristoffer Tveit 2024-01-23 05:31:26 +01:00
parent 72e7626e9d
commit d629eedaaf
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -12,7 +12,7 @@ in {
};
local.socketActivation.navidrome = {
enable = true;
enable = cfg.enable;
originalSocketAddress = "${cfg.settings.Address}:${toString cfg.settings.Port}";
newSocketAddress = "/run/navidrome.sock";
privateNamespace = false;