This commit is contained in:
xenia 2025-05-15 15:46:44 +02:00
parent 839eec811c
commit 0d9b47de93
2 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,7 @@ in rec {
spawn-at-startup = [
{ command = [ "${pkgs.xwayland-satellite}/bin/xwayland-satellite" XWAYLAND_DISPLAY ]; }
{ command = [ "${x-wayland-clipboard-daemon}" ]; }
{ command = [ "${pkgs.dbus}/bin/dbus-update-activation-environment" "--systemd" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" ]; }
{ command = [ "${pkgs.dbus}/bin/dbus-update-activation-environment" "--systemd" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" ]; } # needed for screen-sharing to work
];
environment.DISPLAY = XWAYLAND_DISPLAY;

View File

@ -154,11 +154,13 @@ in {
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";
};
};
}