diff options
Diffstat (limited to 'users/fcuny/desktop')
-rw-r--r-- | users/fcuny/desktop/sway/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/fcuny/desktop/sway/default.nix b/users/fcuny/desktop/sway/default.nix index 2836ed1..1efc10e 100644 --- a/users/fcuny/desktop/sway/default.nix +++ b/users/fcuny/desktop/sway/default.nix @@ -15,10 +15,20 @@ pkgs.wofi ]; + # Variables I want to be loaded by sway when started (this requires + # `systemdIntegration` to be set to `true`). + systemd.user.sessionVariables = { + # Without it, firefox stays blurry, no matter where I define that variable + MOZ_ENABLE_WAYLAND = 1; + # Without it, I can't get the pinentry prompt + WAYLAND_DISPLAY = "wayland-1"; + }; + home.sessionVariables = { LIBSEAT_BACKEND = "logind"; MOZ_ENABLE_WAYLAND = true; XDG_CURRENT_DESKTOP = "sway"; + XDG_SESSION_TYPE = "wayland"; }; wayland.windowManager.sway = { |