feat(home): Set sans-serif & serif fonts
This commit is contained in:
parent
41e9b57b6f
commit
6644a549d1
1 changed files with 10 additions and 2 deletions
|
@ -2,9 +2,11 @@
|
|||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
inherit (lib.snowfall.system) is-linux;
|
||||
inherit (lib.marleyos) enabled;
|
||||
|
||||
cfg = config.marleyos.appearance.base;
|
||||
|
@ -17,6 +19,8 @@ in {
|
|||
home.packages = with pkgs; [
|
||||
# TODO: package font with harfbuzz features.
|
||||
maple-mono-NF
|
||||
dm-sans
|
||||
eb-garamond
|
||||
];
|
||||
|
||||
rose-pine.pointerCursor = mkIf colors.isRosePine enabled;
|
||||
|
@ -47,9 +51,13 @@ in {
|
|||
else pkgs.pinentry-curses;
|
||||
};
|
||||
|
||||
fonts.fontconfig = {
|
||||
fonts.fontconfig = mkIf (is-linux system) {
|
||||
enable = true;
|
||||
defaultFonts.monospace = ["Maple Mono NF"];
|
||||
defaultFonts = {
|
||||
monospace = ["Maple Mono NF"];
|
||||
sansSerif = ["DeepMind Sans"]; # dm-sans
|
||||
serif = ["EB Garamond"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue