make sure rdp-proxy actually lauches lol

This commit is contained in:
xenia 2025-04-30 23:31:16 +02:00
parent e07d46d61e
commit cfca66a323

View File

@ -142,6 +142,9 @@ in {
''; '';
systemd.services.rdp-proxy = { systemd.services.rdp-proxy = {
enable = true; enable = true;
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.sshpass}/bin/sshpass -f /home/xenia/wireguard-keys/cid.pw ${pkgs.openssh}/bin/ssh -o StrictHostKeychecking=no -vNL 443:rds-gw.studat.chalmers.se:443 loovj@remote11.chalmers.se"; ExecStart = "${pkgs.sshpass}/bin/sshpass -f /home/xenia/wireguard-keys/cid.pw ${pkgs.openssh}/bin/ssh -o StrictHostKeychecking=no -vNL 443:rds-gw.studat.chalmers.se:443 loovj@remote11.chalmers.se";
Type = "simple"; Type = "simple";