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;