tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/websockify: use python3 websockify
lelgenio
2 years ago
4f802070
9dbe5687
+1
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
networking
websockify.nix
+1
-1
nixos/modules/services/networking/websockify.nix
···
38
38
description = "Service to forward websocket connections to TCP connections (from port:to port %I)";
39
39
script = ''
40
40
IFS=':' read -a array <<< "$1"
41
41
-
${pkgs.pythonPackages.websockify}/bin/websockify --ssl-only \
41
41
+
${pkgs.python3Packages.websockify}/bin/websockify --ssl-only \
42
42
--cert=${cfg.sslCert} --key=${cfg.sslKey} 0.0.0.0:''${array[0]} 0.0.0.0:''${array[1]}
43
43
'';
44
44
scriptArgs = "%i";