marleyos/modules/home/appearance/base/default.nix
punkfairie 15372b7726
feat: ${namespace} -> marleyos
There was little point to doing this anyway as project-wide find &
replace is trivial.
2024-11-16 22:36:34 -08:00

46 lines
815 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
];
"${colors.base}".pointerCursor = 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" ];
};
}