From cfca66a323985290dbf1be1e0706d83e31c46b09 Mon Sep 17 00:00:00 2001 From: xenia Date: Wed, 30 Apr 2025 23:31:16 +0200 Subject: [PATCH] make sure rdp-proxy actually lauches lol --- nixos/machines/foxhut/machine.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/machines/foxhut/machine.nix b/nixos/machines/foxhut/machine.nix index e914c5f3..2ed6ddce 100644 --- a/nixos/machines/foxhut/machine.nix +++ b/nixos/machines/foxhut/machine.nix @@ -142,6 +142,9 @@ in { ''; systemd.services.rdp-proxy = { enable = true; + + after = [ "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";