diff options
Diffstat (limited to 'modules/user/devhell/profiles/base.nix')
-rw-r--r-- | modules/user/devhell/profiles/base.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/user/devhell/profiles/base.nix b/modules/user/devhell/profiles/base.nix index 238c9eb1..3a4afe70 100644 --- a/modules/user/devhell/profiles/base.nix +++ b/modules/user/devhell/profiles/base.nix @@ -119,6 +119,16 @@ in { }; environment = { + sessionVariables = { + XDG_SESSION_TYPE = "wayland"; + XDG_CURRENT_DESKTOP = "sway"; + MOZ_ENABLE_WAYLAND = "1"; + MOZ_USE_XINPUT2 = "1"; + SDL_VIDEODRIVER = "wayland"; + QT_QPA_PLATFORM = "wayland-egl"; + QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; + XKB_DEFAULT_LAYOUT = "gb"; + }; shellInit = '' export GPG_AGENT_INFO=$HOME/.gnupg/S.gpg-agent export LIBVIRT_DEFAULT_URI=qemu:///system @@ -135,6 +145,11 @@ in { shells = [ pkgs.zsh ]; }; + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ xdg-desktop-portal-wlr xdg-desktop-portal-gtk ]; + }; + fonts = { fontconfig = { enable = true; |