From 99c74427f2749407fe52d9927e9be8bbfb3c015c Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sun, 14 Jul 2024 20:45:57 -0600 Subject: fix obscure dbus errors --- modules/nixos/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/nixos/hyprland.nix') diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix index 4e7b9f6..ab74d38 100644 --- a/modules/nixos/hyprland.nix +++ b/modules/nixos/hyprland.nix @@ -2,6 +2,13 @@ xdg.portal = { enable = true; wlr.enable = true; + extraPortals = [ + pkgs.xdg-desktop-portal-gnome + (pkgs.xdg-desktop-portal-gtk.override { + # Do not build portals that we already have. + buildPortalsInGnome = false; + }) + ]; }; environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw -- cgit v1.2.3