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 e27bb46a33
commit d89b9dfa36
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 2 additions and 4 deletions

View file

@ -15,7 +15,6 @@
};
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
xdg-desktop-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
};

View file

@ -6,7 +6,6 @@
config,
pkgs,
hyprland,
xdg-desktop-portal-hyprland,
...
}:
@ -276,7 +275,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.
@ -285,7 +284,7 @@ in
config = {
common = {
default = [ "hyprland" ];
default = [ "wlr" ];
};
};
};