nixos-config/home/themes/i3bar.nix

29 lines
493 B
Nix
Raw Normal View History

2021-04-22 02:33:39 +02:00
{ lib }:
let
2022-01-11 16:08:21 +01:00
inherit (lib)
mkOption
types
;
2021-04-22 02:33:39 +02:00
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 = {};
};
};
}