fix(home): Fix marleyos.theme settings

This commit is contained in:
punkfairie 2024-11-16 23:36:51 -08:00
parent 4dd4d4a1cf
commit 9a07f22743
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -10,6 +10,7 @@ let
cfg = config.marleyos.appearance.base; cfg = config.marleyos.appearance.base;
inherit (config.marleyos.theme) colors; inherit (config.marleyos.theme) colors;
inherit (config.marleyos) isDesktop;
in in
{ {
options.marleyos.appearance.base.enable = mkEnableOption "base"; options.marleyos.appearance.base.enable = mkEnableOption "base";
@ -22,22 +23,26 @@ in
rose-pine.pointerCursor = mkIf colors.isRosePine enabled; rose-pine.pointerCursor = mkIf colors.isRosePine enabled;
marleyos.theme = { marleyos.theme = {
default = "dark"; colors = {
default = "dark";
dark = { dark = {
base = "rose-pine"; base = "rose-pine";
flavor = "main"; flavor = "main";
};
light = {
base = "rose-pine";
flavor = "dawn";
};
}; };
light = { icons = {
base = "rose-pine"; package = pkgs.kora-icon-theme;
flavor = "dawn"; name = "kora";
}; };
};
marleyos.theme.icons = { pinentry = if isDesktop then pkgs.pinentry-gtk2 else pkgs.pinentry-curses;
package = pkgs.kora-icon-theme;
name = "kora";
}; };
# TODO: package font with harfbuzz features. # TODO: package font with harfbuzz features.