Moved to login shell
This commit is contained in:
parent
a7a4294195
commit
7c37e5d216
|
@ -46,13 +46,9 @@
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
ConditionUser = "mixer";
|
ConditionUser = "mixer";
|
||||||
};
|
};
|
||||||
path = with pkgs; [
|
|
||||||
wprs
|
|
||||||
xwayland
|
|
||||||
];
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# ExecStart = "${pkgs.wprs}/bin/wprsd --enable-xwayland=true --xwayland-xdg-shell-path=${pkgs.wprs}/bin/xwayland-xdg-shell";
|
# 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\"";
|
Environment = "\"RUST_BACKTRACE=full\"";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 5;
|
RestartSec = 5;
|
||||||
|
|
Loading…
Reference in New Issue