Unverified Commit 421fb34c authored by Atemu's avatar Atemu Committed by GitHub
Browse files

Merge pull request #318759 from leon-erd/master

nixos/hyprland: enable xdg.portal by default + use lib.mkDefault for enableWlrPortal
parents 7894cf0c 5b216845
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
    })
  ]);