summaryrefslogtreecommitdiffstats
path: root/nixos/modules/programs/wayland/hyprland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/wayland/hyprland.nix')
-rw-r--r--nixos/modules/programs/wayland/hyprland.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix
index 98779ea7d03a..5a21bd153b63 100644
--- a/nixos/modules/programs/wayland/hyprland.nix
+++ b/nixos/modules/programs/wayland/hyprland.nix
@@ -56,6 +56,7 @@ in
services.displayManager.sessionPackages = [ cfg.package ];
xdg.portal = {
+ enable = true;
extraPortals = [ cfg.portalPackage ];
configPackages = lib.mkDefault [ cfg.package ];
};
@@ -70,7 +71,7 @@ in
(import ./wayland-session.nix {
inherit lib pkgs;
enableXWayland = cfg.xwayland.enable;
- enableWlrPortal = false; # Hyprland has its own portal, wlr is not needed
+ enableWlrPortal = lib.mkDefault false; # Hyprland has its own portal, wlr is not needed
})
]);