changed hyprland portal

Signed-off-by: elwrcl <[email protected]>
This commit is contained in:
elwrcl committed 2026-04-19 01:01:35 +03:00
1 parent 461f5707a4
commit 098d64f168
1 file changed
+11 -5
+11 -5
View File
@@ -9,11 +9,18 @@
xdg.portal = { xdg.portal = {
enable = true; enable = true;
xdgOpenUsePortal = true; xdgOpenUsePortal = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; extraPortals = with pkgs; [
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk
];
config.hyprland = lib.mkForce { config.hyprland = lib.mkForce {
default = "gtk"; default = [
"org.freedesktop.impl.portal.Screenshot" = "hyprland"; "hyprland"
"org.freedesktop.impl.portal.ScreenCast" = "hyprland"; "gtk"
];
"org.freedesktop.impl.portal.Screenshot" = [ "hyprland" ];
"org.freedesktop.impl.portal.ScreenCast" = [ "hyprland" ];
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
}; };
}; };
@@ -31,7 +38,6 @@
}; };
security.polkit.enable = true; security.polkit.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
glib glib
dconf dconf