From cd50ad37b13cda720b732f40af5ce490bc47f2cb Mon Sep 17 00:00:00 2001 From: Bad Date: Tue, 31 Aug 2021 23:20:46 +0200 Subject: [PATCH] Fix issues with dbus, fixes mako --- users/profiles/sway/desktop.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/users/profiles/sway/desktop.nix b/users/profiles/sway/desktop.nix index 157385c..b81a458 100644 --- a/users/profiles/sway/desktop.nix +++ b/users/profiles/sway/desktop.nix @@ -24,6 +24,14 @@ in trayOutput = "*"; }]; floating.criteria = [{ title = "Steam - Update News"; }]; + startup = [ + # Copied from https://git.sr.ht/~sumner/home-manager-config/tree/master/item/modules/window-manager/wayland.nix#L64 + # See https://github.com/nix-community/home-manager/issues/2028 + # Make all the pinentry stuff work + # See: https://github.com/NixOS/nixpkgs/issues/119445#issuecomment-820507505 + # and: https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-820512097 + { command = "dbus-update-activation-environment WAYLAND_DISPLAY"; } + ]; }; wrapperFeatures.gtk = true; systemdIntegration = true;