Move fonts config into home-manager

This commit is contained in:
Jimbo 2024-10-12 17:35:29 -04:00
parent 300c954fd7
commit c380052b0c
9 changed files with 23 additions and 18 deletions

19
home/misc/fonts.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
liberation_ttf
twitter-color-emoji
noto-fonts
sarasa-gothic
ubuntu_font_family
(nerdfonts.override { fonts = [ "UbuntuMono" ]; })
];
fonts.fontconfig = {
enable = true;
defaultFonts = {
sansSerif = [ "Ubuntu" ];
monospace = [ "UbuntuMono Nerd Font Mono" ];
emoji = [ "Twitter Color Emoji" ];
};
};
}