From 8876ba67c1b5054af5311f9b568e45bc775ae4d5 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Mon, 26 Aug 2019 23:16:14 +0200 Subject: [PATCH] add noto fonts with colour emoji support --- home-pc.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/home-pc.nix b/home-pc.nix index b458921..092fbb1 100644 --- a/home-pc.nix +++ b/home-pc.nix @@ -62,6 +62,17 @@ in unstable.libu2f-host ]; + # Use noto fonts with emoji support + fonts.fonts = with pkgs; [ + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + ]; + fonts.fontconfig.penultimate.enable = false; + fonts.fontconfig.defaultFonts.monospace = ["Noto Color Emoji"]; + fonts.fontconfig.defaultFonts.sansSerif = ["Noto Color Emoji"]; + fonts.fontconfig.defaultFonts.serif = ["Noto Color Emoji"]; + # Enable CUPS to print documents. services.printing.enable = true;