Fonts module

This commit is contained in:
Nathan McCarty 2024-11-29 11:14:23 +00:00
parent 9461568a50
commit e8df479f12
2 changed files with 40 additions and 0 deletions

View file

@ -27,6 +27,7 @@
../../modules/programs/devel.nix
../../modules/programs/ssh.nix
(import ../../modules/programs/emacs.nix { })
../../modules/programs/fonts.nix
];
home.username = "nathan";
home.homeDirectory = "/home/nathan/";

View file

@ -0,0 +1,39 @@
{
config,
lib,
pkgs,
...
}:
{
fonts.fontconfig = {
enable = true;
defaultFonts = {
emoji = [
"Noto Emoji"
"Noto Color Emoji"
];
monospace = [ "JetBrainsMono-NF-Regular" ];
sansSerif = [ "Roboto" ];
};
};
home.packages = with pkgs; [
# Font viewer
gnome-font-viewer
fontpreview
# Fonts
noto-fonts
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-color-emoji
noto-fonts-monochrome-emoji
roboto
(nerdfonts.override {
fonts = [
"ZedMono"
"JetBrainsMono"
];
})
];
}