From 9ee5eb9892fd25bfba8fbff26c68a0804e23abf9 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 07:55:03 -0700 Subject: profiles/workstation: add font configurations --- profiles/workstation.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'profiles') diff --git a/profiles/workstation.nix b/profiles/workstation.nix index fc888d3..2c7ee02 100644 --- a/profiles/workstation.nix +++ b/profiles/workstation.nix @@ -42,6 +42,37 @@ hardware.pulseaudio.enable = false; + fonts = { + enableDefaultFonts = true; + fontDir.enable = true; + fontconfig = { + enable = true; + defaultFonts = { + serif = [ "Bitstream Vera Serif" ]; + sansSerif = [ "Bitstream Vera Sans" ]; + monospace = [ "Bitstream Vera Sans Mono" ]; + }; + }; + fonts = with pkgs; [ + dejavu_fonts + ttf_bitstream_vera + + font-awesome_5 + + noto-fonts + noto-fonts-cjk # Chinese, Japanese, Korean + noto-fonts-emoji + noto-fonts-emoji + noto-fonts-extra + + cantarell-fonts + + source-code-pro + source-sans-pro + source-serif-pro + ]; + }; + # Misc packages useful on a workstation environment.systemPackages = with pkgs; [ # sound related -- cgit v1.2.3