about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-03-01 21:47:50 +0100
committersternenseemann <sternenseemann@systemli.org>2022-03-01 21:47:50 +0100
commit4d4b98cd0e6d1d0046807178dbbf14bdfed21c25 (patch)
treed122bd575a856839ff94ed1c1f5794c02f193f55 /modules
parent84ef17f1b65313f50494c778d590710ea78b4710 (diff)
modules/sternenseemann/sway: don't use dbus-run-session
At some point this was required to fix some issue I don't remember, but
seems like starting a whole new dbus session now messes with the XDG
portals, breaking the settings and secrets portal at least
Diffstat (limited to 'modules')
-rw-r--r--modules/user/sternenseemann/services/sway.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/user/sternenseemann/services/sway.nix b/modules/user/sternenseemann/services/sway.nix
index 2c8f7854..5313b585 100644
--- a/modules/user/sternenseemann/services/sway.nix
+++ b/modules/user/sternenseemann/services/sway.nix
@@ -10,7 +10,6 @@ let
 
   bins = (getBins pkgs.pulseaudio [ "pactl" ])
       // (getBins pkgs.dbus [
-        "dbus-run-session"
         "dbus-update-activation-environment"
       ])
       // (getBins cfg.package [ "sway" ])
@@ -128,7 +127,7 @@ in {
     programs.fish.loginShellInit = lib.mkIf cfg.autolaunchFish ''
       if test -z "$DISPLAY"; and test -z "$WAYLAND_DISPLAY"; and test (tty) = "/dev/tty1"
         set -x SWAYSOCK "/run/user/"(id -u)"/sway.sock"
-        exec ${bins.dbus-run-session} -- ${bins.sway}
+        exec ${bins.sway}
       end
     '';