mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2026-07-06 07:05:21 +02:00
feat: add common font configuration and packages for home environment
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
ubuntu_font_family
|
||||
zpix-pixel-font
|
||||
font-awesome
|
||||
font-awesome_5
|
||||
font-awesome_4
|
||||
|
||||
]++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues nerd-fonts);
|
||||
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
emoji = ["noto-fonts-emoji font-awesome"];
|
||||
monospace = ["0xproto" "zpix" "fira-code"];
|
||||
serif = [ "Noto Serif" "Source Han Serif" ];
|
||||
sansSerif = [ "Noto Sans" "Source Han Sans" ];
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user