From b7786d98437402888599667bdba0876cc6f39500 Mon Sep 17 00:00:00 2001 From: Petr Krutov Date: Sun, 18 Jan 2026 20:32:47 +0100 Subject: [PATCH] vikunja: add address option --- nixos/modules/services/web-apps/vikunja.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 = {