home: themes: move options to my.themes

This commit is contained in:
Antoine Martin 2021-04-21 10:30:05 +02:00
parent a25d5051d3
commit 6ff469e96f
3 changed files with 8 additions and 10 deletions

View file

@ -10,17 +10,15 @@ let
};
in
{
options.my.home = {
theme = mkOption {
options.my.theme = mkOption {
type = themeType;
};
themes = mkOption {
type = with types; attrsOf themeType;
};
};
config.my.home.themes = {
options.my.themes = mkOption {
type = with types; attrsOf themeType;
};
config.my.themes = {
solarizedLight = import ./solarizedLight;
};
}