portal and qt6 fixes

Signed-off-by: elwrcl <[email protected]>
This commit is contained in:
elwrcl committed 2026-04-22 10:34:11 +03:00
1 parent 8cd3c47c09
commit 179548c159
2 files changed
+6 -8

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ in
inputs.zen-browser.packages.${system}.default inputs.zen-browser.packages.${system}.default
inputs.noctalia.packages.${system}.default inputs.noctalia.packages.${system}.default
inputs.copetch.packages.${system}.default inputs.copetch.packages.${system}.default
pkgs.qt6.qtwebsockets pkgs.qt6Packages.qtwebsockets
]; ];
environment.pathsToLink = [ environment.pathsToLink = [
"/share/applications" "/share/applications"
+5 -7
View File
@@ -9,7 +9,7 @@
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland; package = inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = pkgs.xdg-desktop-portal-hyprland; portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
xwayland.enable = true; xwayland.enable = true;
}; };
@@ -17,21 +17,19 @@
enable = true; enable = true;
xdgOpenUsePortal = true; xdgOpenUsePortal = true;
extraPortals = with pkgs; [ extraPortals = with pkgs; [
kdePackages.xdg-desktop-portal-kde
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
]; ];
config = { config = {
common.default = [ common.default = [ "gtk" ];
"kde"
"gtk"
];
hyprland = { hyprland = {
default = [ default = [
"hyprland" "hyprland"
"kde" "gtk"
]; ];
"org.freedesktop.impl.portal.FileChooser" = "gtk";
"org.freedesktop.impl.portal.ScreenCast" = "hyprland"; "org.freedesktop.impl.portal.ScreenCast" = "hyprland";
"org.freedesktop.impl.portal.Screenshot" = "hyprland"; "org.freedesktop.impl.portal.Screenshot" = "hyprland";
"org.freedesktop.impl.portal.OpenURI" = "gtk";
}; };
}; };
}; };