check type of kernel config attrsets
This commit is contained in:
parent
1b1aa9de76
commit
f0024dcac5
@ -15,8 +15,15 @@ in {
|
|||||||
services = mkOption {
|
services = mkOption {
|
||||||
type = types.attrsOf type_service;
|
type = types.attrsOf type_service;
|
||||||
};
|
};
|
||||||
kernel = mkOption {
|
kernel = {
|
||||||
type = types.anything;
|
config = mkOption {
|
||||||
|
# mostly the values are y n or m, but sometimes
|
||||||
|
# other strings are also used
|
||||||
|
type = types.attrsOf types.nonEmptyStr;
|
||||||
|
};
|
||||||
|
checkedConfig = mkOption {
|
||||||
|
type = types.attrsOf types.nonEmptyStr;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user