From 7c37e5d21694ab926565ebdc1d3dc25d9ba84036 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Wed, 16 Apr 2025 18:33:26 +0200 Subject: [PATCH] Moved to login shell --- machines/vm-audio.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/machines/vm-audio.nix b/machines/vm-audio.nix index 995b0a0..52e187c 100644 --- a/machines/vm-audio.nix +++ b/machines/vm-audio.nix @@ -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;