Skip to content

Commit 8ea8ad0

Browse files
vikunja: add address option (NixOS#481406)
2 parents 4bc1a06 + b7786d9 commit 8ea8ad0

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

nixos/modules/services/web-apps/vikunja.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ in
4545
type = types.str;
4646
description = "The Hostname under which the frontend is running.";
4747
};
48+
address = mkOption {
49+
type = types.str;
50+
default = "";
51+
description = "The IP address to bind to.";
52+
};
4853
port = mkOption {
4954
type = types.port;
5055
default = 3456;
@@ -105,7 +110,7 @@ in
105110
;
106111
};
107112
service = {
108-
interface = ":${toString cfg.port}";
113+
interface = "${cfg.address}:${toString cfg.port}";
109114
frontendurl = "${cfg.frontendScheme}://${cfg.frontendHostname}/";
110115
};
111116
files = {

0 commit comments

Comments
 (0)