From 6f8c09023c4832ccd9c1ab3350790014be676e5d Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Fri, 25 Oct 2024 13:23:00 -0300 Subject: [PATCH] feat(nixos/desktop): move back to xdph --- flake.nix | 1 + modules/nixos/desktop.nix | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6cac292..5a8da01 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,7 @@ }; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; + xdph.url = "git+https://github.com/hyprwm/xdg-desktop-portal-hyprland?submodules=1"; }; outputs = diff --git a/modules/nixos/desktop.nix b/modules/nixos/desktop.nix index b5c385d..f883687 100644 --- a/modules/nixos/desktop.nix +++ b/modules/nixos/desktop.nix @@ -1,4 +1,9 @@ -{ pkgs, hyprland, ... }: +{ + pkgs, + hyprland, + xdph, + ... +}: let hyprland-pkgs = hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}; @@ -22,7 +27,7 @@ in enable = true; 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.