From e2408b449c4007a86de3758f77d01760e9bbddb8 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Mon, 5 Jul 2021 15:02:04 +0700 Subject: [PATCH] revert to cascadia-code 2102.25 i really can't handle the cursive anymore it's literally unreadable --- overlays/cascadia-code.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 overlays/cascadia-code.nix diff --git a/overlays/cascadia-code.nix b/overlays/cascadia-code.nix new file mode 100644 index 0000000..7cfcf64 --- /dev/null +++ b/overlays/cascadia-code.nix @@ -0,0 +1,12 @@ +self: super: { + cascadia-code = let version = "2102.25"; in super.fetchzip { + name = "cascadia-code-${version}"; + url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip"; + sha256 = "14qhawcf1jmv68zdfbi2zfqdw4cf8fpk7plxzphmkqsp7hlw9pzx"; + postFetch = '' + mkdir -p $out/share/fonts/ + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype + ''; + }; +}