Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
font-lxgw-fasmartgothic # LXGW FasmartGothic
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
font-lxgw-fasmartgothic # LXGW FasmartGothic
];
} Package Definition
{
"pname": "font-lxgw-fasmartgothic",
"version": "1.201",
"src": {
"url": "https://github.com/lxgw/LxgwFasmartGothic/releases/download/v1.201/LXGWFasmartGothic.ttf",
"sha256": "46c06f85c75aa55b4450fa02c37a35f0f8a4efe8058ffcb6e48b9e2eccd764eb"
},
"installPhase": [
"mkdir -p \"$out/Library/Fonts/LXGWFasmartGothic.ttf\" && cp -r \"LXGWFasmartGothic.ttf\" \"$out/Library/Fonts\""
],
"meta": {
"homepage": "https://github.com/lxgw/LxgwNeoXiHei"
}
}