mirror of
https://github.com/davegallant/nix-config
synced 2025-08-09 18:52:28 +00:00
Improve folder structure
This commit is contained in:
39
nix/main/fonts.nix
Normal file
39
nix/main/fonts.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Set system-wide fonts.
|
||||
fonts.fonts = with pkgs; [
|
||||
dejavu_fonts
|
||||
fira-code
|
||||
fira-code-symbols
|
||||
fira-mono
|
||||
font-awesome
|
||||
google-fonts
|
||||
liberation_ttf # Free replacement for MS Fonts.
|
||||
noto-fonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
noto-fonts-emoji
|
||||
noto-fonts-extra
|
||||
];
|
||||
|
||||
# Set default fonts.
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
sansSerif = [
|
||||
"Noto Sans"
|
||||
];
|
||||
serif = [
|
||||
"Noto Serif"
|
||||
];
|
||||
monospace = [
|
||||
"MesloLGS Nerd Font"
|
||||
"Noto Sans Mono"
|
||||
];
|
||||
emoji = [
|
||||
"Noto Color Emoji"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user