Skip to content

Commit c0f2a3c

Browse files
committed
nixos/endlessh-go: fix eval
1 parent 7bb552f commit c0f2a3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nixos/modules/services/security/endlessh-go.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ in
9494
Restart = "always";
9595
ExecStart =
9696
with cfg;
97-
concatStringsSep " " (
97+
lib.concatStringsSep " " (
9898
[
9999
(lib.getExe cfg.package)
100100
"-logtostderr"
101101
"-host=${listenAddress}"
102102
"-port=${toString port}"
103103
]
104-
++ optionals prometheus.enable [
104+
++ lib.optionals prometheus.enable [
105105
"-enable_prometheus"
106106
"-prometheus_host=${prometheus.listenAddress}"
107107
"-prometheus_port=${toString prometheus.port}"
@@ -149,7 +149,7 @@ in
149149
};
150150
};
151151

152-
networking.firewall.allowedTCPPorts = with cfg; optionals openFirewall [ port ];
152+
networking.firewall.allowedTCPPorts = with cfg; lib.optionals openFirewall [ port ];
153153
};
154154

155155
meta.maintainers = with lib.maintainers; [ azahi ];

0 commit comments

Comments
 (0)