feat(home): Properly regenerate font cache
This commit is contained in:
parent
86259e05db
commit
7f98390592
1 changed files with 11 additions and 7 deletions
|
@ -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"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue