make fairfax hd detected as a monospace font

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-14 08:28:08 +01:00
parent 0307e5aeb5
commit 788a27a1f5
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 18 additions and 0 deletions

View file

@ -27,6 +27,21 @@ in {
(pkgs.callPackage ../packages/linja-nanpa.nix {})
nix-packages.packages.${system}.fairfax-hd
];
fonts.fontconfig.enable = true;
fonts.fontconfig.localConf = ''
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="scan">
<test name="family">
<string>Fairfax HD</string>
</test>
<edit name="spacing">
<int>100</int>
</edit>
</match>
</fontconfig>
'';
time.timeZone = "Etc/GMT-1"; # Confusing naming, it's 1 hour east of GMT
services.pcscd.enable = true;

View file

@ -6,5 +6,8 @@ _: {
disable_ligatures = "cursor";
shell_integration = "disabled";
};
extraConfig = ''
symbol_map U+F1900-U+F19FF Fairfax HD
'';
};
}