nixos/console: add format check to console.colors
This commit is contained in:
parent
1134c6d957
commit
cb40619996
@ -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 New Issue
Block a user