options: use types.str instead of types.string
This commit is contained in:
parent
d92455cebf
commit
095d24b797
1 changed files with 2 additions and 2 deletions
|
|
@ -21,12 +21,12 @@ in {
|
|||
};
|
||||
|
||||
batteryDevice = mkOption {
|
||||
type = types.nullOr types.string;
|
||||
type = with types; nullOr (uniq str);
|
||||
default = null;
|
||||
};
|
||||
|
||||
kbBacklightDevice = mkOption {
|
||||
type = types.nullOr types.string;
|
||||
type = with types; nullOr (uniq str);
|
||||
default = null;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue