File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
nixos/modules/services/security Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 } "
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 ] ;
You can’t perform that action at this time.
0 commit comments