fix(home): Fix marleyos.theme settings
This commit is contained in:
parent
4dd4d4a1cf
commit
9a07f22743
1 changed files with 16 additions and 11 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue