46 lines
831 B
Nix
46 lines
831 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
inherit (lib.marleyos) mkEnableModule enabled;
|
|
|
|
cfg = config.marleyos.appearance.base;
|
|
inherit (config.marleyos.theme) colors;
|
|
in
|
|
{
|
|
options = mkEnableModule "appearance.base";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
maple-mono-NF
|
|
];
|
|
|
|
rose-pine.pointerCursor = mkIf colors.isRosePine enabled;
|
|
|
|
marleyos.theme = {
|
|
default = "dark";
|
|
|
|
dark = {
|
|
base = "rose-pine";
|
|
flavor = "main";
|
|
};
|
|
|
|
light = {
|
|
base = "rose-pine";
|
|
flavor = "dawn";
|
|
};
|
|
};
|
|
|
|
marleyos.theme.icons = {
|
|
package = pkgs.kora-icon-theme;
|
|
name = "kora";
|
|
};
|
|
|
|
# TODO: package font with harfbuzz features.
|
|
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
|
|
};
|
|
}
|