tsuki/navidrome: conditional config
This commit is contained in:
parent
72e7626e9d
commit
d629eedaaf
|
@ -12,7 +12,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
local.socketActivation.navidrome = {
|
local.socketActivation.navidrome = {
|
||||||
enable = true;
|
enable = cfg.enable;
|
||||||
originalSocketAddress = "${cfg.settings.Address}:${toString cfg.settings.Port}";
|
originalSocketAddress = "${cfg.settings.Address}:${toString cfg.settings.Port}";
|
||||||
newSocketAddress = "/run/navidrome.sock";
|
newSocketAddress = "/run/navidrome.sock";
|
||||||
privateNamespace = false;
|
privateNamespace = false;
|
||||||
|
|
Loading…
Reference in New Issue