diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2024-10-07 11:47:06 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2024-10-07 11:47:06 +0300 |
commit | 4547e75868cba2a265b78661ddc386b5e81c1bb0 (patch) | |
tree | 71924feb573c8af5030080fc007eee7bfbaabb20 /nixos/desktop/fonts.nix | |
download | nix-master.tar.gz nix-master.tar.bz2 nix-master.zip |
Diffstat (limited to 'nixos/desktop/fonts.nix')
-rw-r--r-- | nixos/desktop/fonts.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/nixos/desktop/fonts.nix b/nixos/desktop/fonts.nix new file mode 100644 index 0000000..38b3ca7 --- /dev/null +++ b/nixos/desktop/fonts.nix @@ -0,0 +1,42 @@ +{pkgs, ...}: { + fonts = { + enableDefaultPackages = true; + fontconfig = { + enable = true; + defaultFonts = { + emoji = ["Noto Color Emoji"]; + monospace = [ + "Liberation Mono" + ]; + sansSerif = [ + "Liberation Sans" + ]; + serif = [ + "Liberation Serif" + ]; + }; + hinting = { + enable = true; + style = "full"; + autohint = true; + }; + }; + fontDir.enable = true; + enableGhostscriptFonts = true; + packages = with pkgs; [ + fira + fira-mono + fira-code + hack-font + inter + iosevka + liberation_ttf + nerdfonts + noto-fonts + noto-fonts-color-emoji + roboto + roboto-mono + roboto-serif + ]; + }; +} |