Skip to content

Commit

Permalink
move it from example to description, because it may cause a misconcep…
Browse files Browse the repository at this point in the history
…tion that the user is supposed to input list
  • Loading branch information
aster-void committed Dec 24, 2024
1 parent 8ed51a5 commit cf5c933
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions modules/input.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit cf5c933

Please sign in to comment.