diff --git a/nixos/modules/services/web-apps/vikunja.nix b/nixos/modules/services/web-apps/vikunja.nix index c273cccff1e5..f4fd912aed2a 100644 --- a/nixos/modules/services/web-apps/vikunja.nix +++ b/nixos/modules/services/web-apps/vikunja.nix @@ -45,6 +45,11 @@ in type = types.str; description = "The Hostname under which the frontend is running."; }; + address = mkOption { + type = types.str; + default = ""; + description = "The IP address to bind to."; + }; port = mkOption { type = types.port; default = 3456; @@ -105,7 +110,7 @@ in ; }; service = { - interface = ":${toString cfg.port}"; + interface = "${cfg.address}:${toString cfg.port}"; frontendurl = "${cfg.frontendScheme}://${cfg.frontendHostname}/"; }; files = {