nixos/systemd: allow listenStreams to contain ports

This commit is contained in:
Robert Schütz
2026-07-10 10:34:47 -07:00
parent 0e6ff04fc5
commit aeba2fa7b6
+1 -1
View File
@@ -625,7 +625,7 @@ rec {
listenStreams = mkOption {
default = [ ];
type = types.listOf types.str;
type = types.listOf (types.coercedTo types.port toString types.str);
example = [
"0.0.0.0:993"
"/run/my-socket"