nixpkgs/nixos/modules/programs/wayland/wayland-session.nix
John Titor 0b0b7cefcc
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
2024-05-30 13:30:41 +05:30

24 lines
388 B
Nix

{
lib,
pkgs,
xwayland ? true,
wlr-portal ? true,
}:
{
security = {
polkit.enable = true;
pam.services.swaylock = {};
};
hardware.opengl.enable = lib.mkDefault true;
fonts.enableDefaultPackages = lib.mkDefault true;
programs = {
dconf.enable = lib.mkDefault true;
xwayland.enable = lib.mkDefault xwayland;
};
xdg.portal.wlr.enable = wlr-portal;
}