From 4547e75868cba2a265b78661ddc386b5e81c1bb0 Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 7 Oct 2024 11:47:06 +0300 Subject: init --- nixos/desktop/fonts.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 nixos/desktop/fonts.nix (limited to 'nixos/desktop/fonts.nix') 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 + ]; + }; +} -- cgit v1.2.3