From d89b9dfa36ed41c2b3522b3b7f40f5cbf61e0d1a Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Sun, 1 Sep 2024 17:35:17 -0300 Subject: [PATCH] xdg: drop xdph and use xdg-desktop-portal-wlr --- flake.nix | 1 - nixos.nix | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 44f9e8d..cd5b946 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; diff --git a/nixos.nix b/nixos.nix index 3626cd0..dd83ec9 100644 --- a/nixos.nix +++ b/nixos.nix @@ -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" ]; }; }; };