feat(home): Properly regenerate font cache

This commit is contained in:
punkfairie 2025-01-06 20:44:48 -08:00
parent 86259e05db
commit 7f98390592
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -3,20 +3,19 @@
config,
pkgs,
...
}:
let
}: let
inherit (lib) mkEnableOption mkIf;
inherit (lib.marleyos) enabled;
cfg = config.marleyos.appearance.base;
inherit (config.marleyos.theme) colors;
inherit (config.marleyos) isDesktop;
in
{
in {
options.marleyos.appearance.base.enable = mkEnableOption "base";
config = mkIf cfg.enable {
home.packages = with pkgs; [
# TODO: package font with harfbuzz features.
maple-mono-NF
];
@ -42,10 +41,15 @@ in
name = "kora";
};
pinentry = if isDesktop then pkgs.pinentry-gtk2 else pkgs.pinentry-curses;
pinentry =
if isDesktop
then pkgs.pinentry-gtk2
else pkgs.pinentry-curses;
};
# TODO: package font with harfbuzz features.
fonts.fontconfig.defaultFonts.monospace = [ "Maple Mono NF" ];
fonts.fontconfig = {
enable = true;
defaultFonts.monospace = ["Maple Mono NF"];
};
};
}