Merge pull request #189749 from ncfavier/console-colors-check
nixos/console: add format check to `console.colors`
This commit is contained in:
commit
e8e48a7a53
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ in
|
|||
};
|
||||
|
||||
colors = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
type = with types; listOf (strMatching "[[:xdigit:]]{6}");
|
||||
default = [ ];
|
||||
example = [
|
||||
"002b36" "dc322f" "859900" "b58900"
|
||||
"268bd2" "d33682" "2aa198" "eee8d5"
|
||||
|
|
Loading…
Reference in a new issue