diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix index 7e979f017c98..98779ea7d03a 100644 --- a/nixos/modules/programs/wayland/hyprland.nix +++ b/nixos/modules/programs/wayland/hyprland.nix @@ -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 }) ]); diff --git a/nixos/modules/programs/wayland/river.nix b/nixos/modules/programs/wayland/river.nix index 0980bd28cf82..6391f00e2f62 100644 --- a/nixos/modules/programs/wayland/river.nix +++ b/nixos/modules/programs/wayland/river.nix @@ -57,7 +57,7 @@ in (import ./wayland-session.nix { inherit lib pkgs; - xwayland = cfg.xwayland.enable; + enableXWayland = cfg.xwayland.enable; }) ]); diff --git a/nixos/modules/programs/wayland/sway.nix b/nixos/modules/programs/wayland/sway.nix index 31821a84a5bd..e3e32aa7a56a 100644 --- a/nixos/modules/programs/wayland/sway.nix +++ b/nixos/modules/programs/wayland/sway.nix @@ -140,7 +140,7 @@ in (import ./wayland-session.nix { inherit lib pkgs; - xwayland = cfg.xwayland.enable; + enableXWayland = cfg.xwayland.enable; }) ]); diff --git a/nixos/modules/programs/wayland/wayland-session.nix b/nixos/modules/programs/wayland/wayland-session.nix index 49b078d34a02..877b10668470 100644 --- a/nixos/modules/programs/wayland/wayland-session.nix +++ b/nixos/modules/programs/wayland/wayland-session.nix @@ -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