2024-11-15 21:32:51 -08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
2025-01-06 20:44:48 -08:00
|
|
|
}: let
|
2024-11-16 23:29:38 -08:00
|
|
|
inherit (lib) mkEnableOption mkIf;
|
2024-11-15 21:32:51 -08:00
|
|
|
|
2024-11-16 22:34:40 -08:00
|
|
|
cfg = config.marleyos.appearance.base;
|
2024-11-16 23:36:51 -08:00
|
|
|
inherit (config.marleyos) isDesktop;
|
2025-01-06 20:44:48 -08:00
|
|
|
in {
|
2024-11-16 23:29:38 -08:00
|
|
|
options.marleyos.appearance.base.enable = mkEnableOption "base";
|
2024-11-15 21:32:51 -08:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2025-01-12 15:29:50 -08:00
|
|
|
rose-pine = {
|
|
|
|
enable = true;
|
|
|
|
flavor = "main";
|
|
|
|
};
|
2024-11-15 21:32:51 -08:00
|
|
|
|
2025-01-12 15:29:50 -08:00
|
|
|
rose-pine.pointerCursor.enable = mkIf config.rose-pine.enable true;
|
2024-11-15 21:32:51 -08:00
|
|
|
|
2025-01-12 09:44:58 -08:00
|
|
|
marleyos = {
|
|
|
|
theme = {
|
|
|
|
icons = {
|
|
|
|
package = pkgs.kora-icon-theme;
|
|
|
|
name = "kora";
|
2024-11-16 23:36:51 -08:00
|
|
|
};
|
2025-01-12 12:12:40 -08:00
|
|
|
|
|
|
|
fonts = {
|
|
|
|
monospace = {
|
|
|
|
package = pkgs.maple-mono-NF;
|
|
|
|
name = "Maple Mono NF";
|
2025-01-12 15:29:50 -08:00
|
|
|
# TODO: package font with harfbuzz features.
|
2025-01-12 12:12:40 -08:00
|
|
|
ligatures = [
|
|
|
|
"cv02"
|
|
|
|
"ss01"
|
|
|
|
"ss02"
|
|
|
|
"ss03"
|
|
|
|
"ss04"
|
|
|
|
"ss05"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-11-15 21:32:51 -08:00
|
|
|
};
|
2025-01-12 09:44:58 -08:00
|
|
|
apps = {
|
|
|
|
pinentry =
|
|
|
|
if isDesktop
|
|
|
|
then pkgs.pinentry-gtk2
|
|
|
|
else pkgs.pinentry-curses;
|
2024-11-15 21:32:51 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|