mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
0b0b7cefcc
This commit: - Adds wlr-portal override of wayland-session module (enabled by default) - Disable it for hyprland module
24 lines
388 B
Nix
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;
|
|
}
|