summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-07-14 20:45:57 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2024-07-14 20:45:57 -0600
commit99c74427f2749407fe52d9927e9be8bbfb3c015c (patch)
treee33b290ca819e395b9da4ef36101cd6b47136def
parentacdf34a8ba55983823799fcba49819ce6a923f09 (diff)
fix obscure dbus errors
-rw-r--r--modules/nixos/hyprland.nix7
1 files changed, 7 insertions, 0 deletions
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