This repository has been archived on 2023-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
gpd-configurations/global/font-configuration.nix

40 lines
712 B
Nix
Raw Permalink Normal View History

2023-07-04 08:53:01 +00:00
{ pkgs, ... }: {
fonts = {
fontDir.enable = true;
2023-07-04 08:53:01 +00:00
fonts = with pkgs;[
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
source-han-sans
source-han-serif
source-han-mono
source-code-pro
font-awesome_5
powerline-fonts
powerline-symbols
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
];
2023-07-04 08:53:01 +00:00
fontconfig.cache32Bit = true;
2023-07-04 08:53:01 +00:00
fontconfig.defaultFonts = {
serif = [
"Source Han Serif SC"
];
2023-07-04 08:53:01 +00:00
sansSerif = [
"Source Han Sans SC"
];
monospace = [
"Fira Code"
"Source Han Mono SC"
];
};
2023-07-04 08:53:01 +00:00
};
}