1 import ./make-test-python.nix ({ lib, ... }:
3 name = "fontconfig-default-fonts";
5 meta.maintainers = with lib.maintainers; [
9 nodes.machine = { config, pkgs, ... }: {
10 fonts.enableDefaultPackages = true; # Background fonts
11 fonts.packages = with pkgs; [
12 noto-fonts-color-emoji
18 fonts.fontconfig.defaultFonts = {
19 serif = [ "Gentium Plus" ];
20 sansSerif = [ "Cantarell" ];
21 monospace = [ "Source Code Pro" ];
22 emoji = [ "Twitter Color Emoji" ];
27 machine.succeed("fc-match serif | grep '\"Gentium Plus\"'")
28 machine.succeed("fc-match sans-serif | grep '\"Cantarell\"'")
29 machine.succeed("fc-match monospace | grep '\"Source Code Pro\"'")
30 machine.succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'")