updated hyprland.nix for xdg.portal

Signed-off-by: elwrcl <[email protected]>
This commit is contained in:
elwrcl committed 2026-04-22 19:27:31 +03:00
1 parent f03809bcb6
commit 4d8b7c5bc8
1 file changed
+13 -2
+13 -2
View File
@@ -16,8 +16,19 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
extraPortals = [ inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland ]; extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
config.common.default = "*"; config = {
common.default = "*";
hyprland = {
default = [
"hyprland"
"gtk"
];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
};
};
}; };
services = { services = {