From cf5c933cf9d394e344a0bd0eabd6b6ddf0333514 Mon Sep 17 00:00:00 2001 From: aster <137767097+aster-void@users.noreply.github.com> Date: Tue, 24 Dec 2024 14:36:23 +0900 Subject: [PATCH] move it from example to description, because it may cause a misconception that the user is supposed to input list --- modules/input.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/modules/input.nix b/modules/input.nix index 00ee9081..34b7f7e2 100644 --- a/modules/input.nix +++ b/modules/input.nix @@ -43,16 +43,10 @@ let variant = lib.mkOption { type = with lib.types; nullOr str; default = null; - example = [ - "eng" - "mac" - "dvorak" - # these two examples below exists to tell that the spacer is not consistent (- or _). - "workman-intl" - "colemak_dh_wide_iso" - ]; + example = "eng"; description = '' Keyboard layout variant. + examples: "mac" "dvorak" "workman-intl" "colemak_dh_wide_iso" ''; apply = builtins.toString; };