mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nixos/wayland-session: cleanup
xwayland, wlr-portal ->
enable-xwayland, enable-wlr-portal
(cherry picked from commit de77718887
)
This commit is contained in:
parent
ad1684cd48
commit
898641392c
@ -69,8 +69,8 @@ in
|
||||
|
||||
(import ./wayland-session.nix {
|
||||
inherit lib pkgs;
|
||||
xwayland = cfg.xwayland.enable;
|
||||
wlr-portal = false; # Hyprland has its own portal, wlr is not needed
|
||||
enableXWayland = cfg.xwayland.enable;
|
||||
enableWlrPortal = false; # Hyprland has its own portal, wlr is not needed
|
||||
})
|
||||
]);
|
||||
|
||||
|
@ -57,7 +57,7 @@ in
|
||||
|
||||
(import ./wayland-session.nix {
|
||||
inherit lib pkgs;
|
||||
xwayland = cfg.xwayland.enable;
|
||||
enableXWayland = cfg.xwayland.enable;
|
||||
})
|
||||
]);
|
||||
|
||||
|
@ -140,7 +140,7 @@ in
|
||||
|
||||
(import ./wayland-session.nix {
|
||||
inherit lib pkgs;
|
||||
xwayland = cfg.xwayland.enable;
|
||||
enableXWayland = cfg.xwayland.enable;
|
||||
})
|
||||
]);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
xwayland ? true,
|
||||
wlr-portal ? true,
|
||||
enableXWayland ? true,
|
||||
enableWlrPortal ? true,
|
||||
}:
|
||||
|
||||
{
|
||||
@ -16,10 +16,10 @@
|
||||
|
||||
programs = {
|
||||
dconf.enable = lib.mkDefault true;
|
||||
xwayland.enable = lib.mkDefault xwayland;
|
||||
xwayland.enable = lib.mkDefault enableXWayland;
|
||||
};
|
||||
|
||||
xdg.portal.wlr.enable = wlr-portal;
|
||||
xdg.portal.wlr.enable = enableWlrPortal;
|
||||
|
||||
# Window manager only sessions (unlike DEs) don't handle XDG
|
||||
# autostart files, so force them to run the service
|
||||
|
Loading…
Reference in New Issue
Block a user