2024-11-15 21:32:51 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib) mkIf;
|
2024-11-16 22:34:40 -08:00
|
|
|
inherit (lib.marleyos) mkEnableModule enabled;
|
2024-11-15 21:32:51 -08:00
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.appearance.base;
|
|
|
|
inherit (config.marleyos.theme) colors;
|
2024-11-15 21:32:51 -08:00
|
|
|
in
|
|
|
|
{
|
2024-11-16 11:39:47 -08:00
|
|
|
options = mkEnableModule "appearance.base";
|
2024-11-15 21:32:51 -08:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
maple-mono-NF
|
|
|
|
];
|
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
"${colors.base}".pointerCursor = enabled;
|
2024-11-15 21:32:51 -08:00
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
marleyos.theme = {
|
2024-11-15 21:32:51 -08:00
|
|
|
default = "dark";
|
|
|
|
|
|
|
|
dark = {
|
|
|
|
base = "rose-pine";
|
|
|
|
flavor = "main";
|
|
|
|
};
|
|
|
|
|
|
|
|
light = {
|
|
|
|
base = "rose-pine";
|
|
|
|
flavor = "dawn";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
marleyos.theme.icons = {
|
2024-11-15 21:32:51 -08:00
|
|
|
package = pkgs.kora-icon-theme;
|
|
|
|
name = "kora";
|
|
|
|
};
|
|
|
|
|
|
|
|
# TODO: package font with harfbuzz features.
|
|
|
|
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
|
|
|
|
};
|
|
|
|
}
|