Add linja sike

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-20 11:28:25 +01:00
parent aeeaf6efa0
commit 9f215c77aa
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 13 additions and 0 deletions

View file

@ -14,6 +14,7 @@
dina-font
proggyfonts
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "Noto" ]; })
(import ../packages/linja-sike.nix pkgs)
];
zramSwap = {

12
packages/linja-sike.nix Normal file
View file

@ -0,0 +1,12 @@
{ stdenvNoCC, fetchurl, ... }:
let file = fetchurl {
url = "https://wyub.github.io/tokipona/linja-sike-5.otf";
sha256 = "12pxivj8dxkfk97zc6yq04dlxjl4wrs2ia1wzzyidj4vmqh0m5sc";
}; in
stdenvNoCC.mkDerivation {
pname = "linja-sike";
version = "5";
buildCommand = ''
install -m444 -Dt $out/share/fonts/opentype/linja-sike ${file}
'';
}