summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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