feat(nixos/desktop): move back to xdph

This commit is contained in:
Alexandre Cavalheiro 2024-10-25 13:23:00 -03:00
parent 4695031940
commit 6f8c09023c
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 8 additions and 2 deletions

View file

@ -20,6 +20,7 @@
}; };
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
xdph.url = "git+https://github.com/hyprwm/xdg-desktop-portal-hyprland?submodules=1";
}; };
outputs = outputs =

View file

@ -1,4 +1,9 @@
{ pkgs, hyprland, ... }: {
pkgs,
hyprland,
xdph,
...
}:
let let
hyprland-pkgs = hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}; hyprland-pkgs = hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
@ -22,7 +27,7 @@ in
enable = true; enable = true;
package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = pkgs.xdg-desktop-portal-wlr; portalPackage = xdph.packages.${pkgs.stdenv.hostPlatform.system}.default;
}; };
# Enable XDG Desktop Portals. # Enable XDG Desktop Portals.