modules/output: improve waylandSupport

(cherry picked from commit d14252433d)
This commit is contained in:
Heitor Augusto 2025-11-28 09:45:45 -03:00 committed by Austin Horstman
parent 684cad64bf
commit a4a84e5252

View file

@ -30,8 +30,8 @@ in
waylandSupport = mkOption {
type = types.bool;
default = pkgs.stdenv.hostPlatform.isLinux;
defaultText = lib.literalExpression "pkgs.stdenv.hostPlatform.isLinux";
default = lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.wayland;
defaultText = lib.literalExpression "lib.meta.availableOn pkgs.stdenv.hostPlatform pkgs.wayland";
description = "Enable additional wayland support, such as wl-clipboard for wayland clipboard syncing.";
};