xdg: drop xdph and use xdg-desktop-portal-wlr

This commit is contained in:
Alexandre Cavalheiro 2024-09-01 17:35:17 -03:00
parent 50ba10c1d5
commit 4dbc05b889
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -6,7 +6,6 @@
config,
pkgs,
hyprland,
xdg-desktop-portal-hyprland,
...
}:
@ -233,7 +232,7 @@ in
enable = true;
package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = xdg-desktop-portal-hyprland.packages.${pkgs.stdenv.hostPlatform.system}.default;
portalPackage = pkgs.xdg-desktop-portal-wlr;
};
# Enable XDG Desktop Portals.
@ -242,7 +241,7 @@ in
config = {
common = {
default = [ "hyprland" ];
default = [ "wlr" ];
};
};
};