From 518ba116c304ac277678c47cd65db2a19c28b750 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 23 May 2025 02:22:50 +0200 Subject: [PATCH] goodbye rdp-proxy --- nixos/machines/foxhut/machine.nix | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/nixos/machines/foxhut/machine.nix b/nixos/machines/foxhut/machine.nix index 9cefbb94..6bb6bbae 100644 --- a/nixos/machines/foxhut/machine.nix +++ b/nixos/machines/foxhut/machine.nix @@ -145,22 +145,4 @@ in { # Keymapp Flashing rules for the Voyager SUBSYSTEMS=="usb", ATTRS{idVendor}=="3297", MODE:="0666", SYMLINK+="ignition_dfu" ''; - - networking.extraHosts = - '' - 127.0.0.1 rds-gw.studat.chalmers.se - ''; - systemd.services.rdp-proxy = { - enable = true; - - after = [ "network.target" ]; - requires = [ "network.target" ]; - wantedBy = [ "multi-user.target" ]; - 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"; - Type = "simple"; - User = "root"; # to bind on :443 - Restart = "on-failure"; - }; - }; }