meow
This commit is contained in:
parent
839eec811c
commit
0d9b47de93
|
@ -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;
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user