From 51edc33c9763e486beacf6a066ae41a3c18827fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 9 Sep 2025 17:36:13 +0200 Subject: [PATCH] modules/output: add `waylandSupport` option --- modules/top-level/output.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/top-level/output.nix b/modules/top-level/output.nix index 81cdfd79..65480b5a 100644 --- a/modules/top-level/output.nix +++ b/modules/top-level/output.nix @@ -29,6 +29,13 @@ in ''; }; + waylandSupport = mkOption { + type = types.bool; + default = pkgs.stdenv.hostPlatform.isLinux; + defaultText = lib.literalExpression "pkgs.stdenv.hostPlatform.isLinux"; + description = "Enable additional wayland support, such as wl-clipboard for wayland clipboard syncing."; + }; + withRuby = mkOption { type = types.bool; default = true; @@ -199,6 +206,7 @@ in extraPython3Packages viAlias vimAlias + waylandSupport withRuby withNodeJs withPerl