nixos-config/home/themes/default.nix

27 lines
425 B
Nix
Raw Normal View History

2021-04-21 04:05:19 +02:00
{ config, lib, ... }:
with lib;
let
themeType = types.submodule {
options = {
i3Theme = mkOption {
type = import ./i3.nix { inherit lib; };
};
};
};
in
{
options.my.home = {
theme = mkOption {
type = themeType;
};
themes = mkOption {
type = with types; attrsOf themeType;
};
};
2021-04-21 04:06:51 +02:00
config.my.home.themes = {
solarizedLight = import ./solarizedLight;
};
2021-04-21 04:05:19 +02:00
}