Fonts module
This commit is contained in:
parent
9461568a50
commit
e8df479f12
|
@ -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/";
|
||||
|
|
39
home-manager/modules/programs/fonts.nix
Normal file
39
home-manager/modules/programs/fonts.nix
Normal 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"
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue