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,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
inherit (lib.snowfall.system) is-linux;
|
||||||
inherit (lib.marleyos) enabled;
|
inherit (lib.marleyos) enabled;
|
||||||
|
|
||||||
cfg = config.marleyos.appearance.base;
|
cfg = config.marleyos.appearance.base;
|
||||||
|
@ -17,6 +19,8 @@ in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# TODO: package font with harfbuzz features.
|
# TODO: package font with harfbuzz features.
|
||||||
maple-mono-NF
|
maple-mono-NF
|
||||||
|
dm-sans
|
||||||
|
eb-garamond
|
||||||
];
|
];
|
||||||
|
|
||||||
rose-pine.pointerCursor = mkIf colors.isRosePine enabled;
|
rose-pine.pointerCursor = mkIf colors.isRosePine enabled;
|
||||||
|
@ -47,9 +51,13 @@ in {
|
||||||
else pkgs.pinentry-curses;
|
else pkgs.pinentry-curses;
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts.fontconfig = mkIf (is-linux system) {
|
||||||
enable = true;
|
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