configure xdg portal

This commit is contained in:
Adithya 2023-11-25 17:00:58 +05:30
parent d0bca6ac68
commit 54a760e1d8
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -65,6 +65,15 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
config = {
common = {
default = [ "gtk" ];
};
Hyprland = {
default = [ "hyprland" "gtk" ];
};
};
xdgOpenUsePortal = true;
}; };
system.stateVersion = "23.11"; system.stateVersion = "23.11";