Enable XDG desktop portal

This commit is contained in:
Kiana Sheibani 2024-02-09 18:27:44 -05:00
parent 10189645cf
commit 6c1d0151fe
3 changed files with 18 additions and 8 deletions

View file

@ -1,10 +1,16 @@
{ ... }:
{ pkgs, ... }:
{
home.sessionVariables = {
MOZ_ENABLE_WAYLAND = "1";
MOZ_USE_XINPUT2 = "1";
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
config.common.default = [ "gtk" ];
};
imports = [
./hyprland.nix
./wltools.nix