Moved to login shell

This commit is contained in:
Jan-Bulthuis 2025-04-16 18:33:26 +02:00
parent a7a4294195
commit 7c37e5d216
1 changed files with 1 additions and 5 deletions

View File

@ -46,13 +46,9 @@
unitConfig = {
ConditionUser = "mixer";
};
path = with pkgs; [
wprs
xwayland
];
serviceConfig = {
# ExecStart = "${pkgs.wprs}/bin/wprsd --enable-xwayland=true --xwayland-xdg-shell-path=${pkgs.wprs}/bin/xwayland-xdg-shell";
ExecStart = "echo $PATH && wprsd --enable-xwayland=true";
ExecStart = "${pkgs.bash}/bin/bash -l -c wprsd --enable-xwayland=true"; # Use login shell to inherit environment
Environment = "\"RUST_BACKTRACE=full\"";
Restart = "always";
RestartSec = 5;