19 lines
260 B
Nix
19 lines
260 B
Nix
|
{ config, lib, ... } :
|
||
|
with lib;
|
||
|
{
|
||
|
options.local = with types; {
|
||
|
platform = mkOption {
|
||
|
type = str;
|
||
|
};
|
||
|
|
||
|
display = {
|
||
|
"0" = mkOption {
|
||
|
type = str;
|
||
|
};
|
||
|
|
||
|
"1" = mkOption {
|
||
|
type = nullOr str;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|