25 lines
459 B
Nix
25 lines
459 B
Nix
|
{ lib }:
|
||
|
with lib;
|
||
|
let
|
||
|
mkColorOption = import ./color.nix { inherit lib; };
|
||
|
in
|
||
|
types.submodule {
|
||
|
options = {
|
||
|
theme = mkOption {
|
||
|
type = types.submodule {
|
||
|
options = {
|
||
|
name = mkOption {
|
||
|
type = types.str;
|
||
|
default = "plain";
|
||
|
};
|
||
|
overrides = mkOption {
|
||
|
type = types.attrsOf types.str;
|
||
|
default = {};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
default = {};
|
||
|
};
|
||
|
};
|
||
|
}
|