nixos/hyprland: disable wlr-portal for Hyprland
This commit: - Adds wlr-portal override of wayland-session module (enabled by default) - Disable it for hyprland module
This commit is contained in:
parent
63aceac766
commit
0b0b7cefcc
@ -70,6 +70,7 @@ in
|
||||
(import ./wayland-session.nix {
|
||||
inherit lib pkgs;
|
||||
xwayland = cfg.xwayland.enable;
|
||||
wlr-portal = false; # Hyprland has its own portal, wlr is not needed
|
||||
})
|
||||
]);
|
||||
|
||||
|
@ -1,4 +1,9 @@
|
||||
{ lib, pkgs, xwayland ? true }:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
xwayland ? true,
|
||||
wlr-portal ? true,
|
||||
}:
|
||||
|
||||
{
|
||||
security = {
|
||||
@ -14,5 +19,5 @@
|
||||
xwayland.enable = lib.mkDefault xwayland;
|
||||
};
|
||||
|
||||
xdg.portal.wlr.enable = lib.mkDefault true;
|
||||
xdg.portal.wlr.enable = wlr-portal;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user