diff --git a/home/extras.nix b/home/extras.nix index 52de437c..584af1cd 100644 --- a/home/extras.nix +++ b/home/extras.nix @@ -65,5 +65,38 @@ rec { sha256 = "sha256-ASDT1T+6/n4HR0ubgkn0qwdijY91VVL2Y9OUkKQMKKc="; }; - all = [ qr-generator qr-paste sax2 manrope metrophobic ]; + cleanvertising = pkgs.fetchurl { + name = "cleanvertising"; + url = "https://dl.dafont.com/dl/?f=cleanvertising_nl"; + + downloadToTemp = true; + recursiveHash = true; + + postFetch = '' + mkdir -p $out/share/fonts/opentype + ${pkgs.unzip}/bin/unzip -j $downloadedFile 'Cleanvertising Black.ttf' -d $out/share/fonts/opentype + ''; + + sha256 = "sha256-kBrEt8mnSgHwEkqiRNkCtB7y0Tw8RGCuQ8LG0vw9t9k="; + }; + + stencila = pkgs.fetchurl { + name = "stencilia"; + url = "https://dl.dafont.com/dl/?f=stencilia"; + + downloadToTemp = true; + recursiveHash = true; + + postFetch = '' + mkdir -p $out/share/fonts/opentype + ${pkgs.unzip}/bin/unzip -j $downloadedFile 'Stencilia-A.ttf' 'Stencilia-Bold.ttf' -d $out/share/fonts/opentype + ''; + + sha256 = "sha256-tZnDoxZnIrZkTwjOTUjGcqLaXtdZ2Tl6gcRXMclT6PY="; + }; + + all = [ + qr-generator qr-paste + sax2 manrope metrophobic cleanvertising stencila + ]; }