From 94dfea66748f41479ea03c963904411bbed5f338 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 26 Jul 2024 12:00:29 +0200 Subject: [PATCH] thanks essie (: --- home/alacritty/alacritty.nix | 2 +- home/extras.nix | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/home/alacritty/alacritty.nix b/home/alacritty/alacritty.nix index 7925c024..65ffa170 100644 --- a/home/alacritty/alacritty.nix +++ b/home/alacritty/alacritty.nix @@ -54,7 +54,7 @@ esac"; }; mouse.hide_when_typing = stdenv.isDarwin; font = { - normal.family = "SAX2"; + normal.family = "uzura_font"; size = font-size; }; colors.primary = { diff --git a/home/extras.nix b/home/extras.nix index 79d8e6cd..8134f2af 100644 --- a/home/extras.nix +++ b/home/extras.nix @@ -95,8 +95,24 @@ rec { sha256 = "sha256-tZnDoxZnIrZkTwjOTUjGcqLaXtdZ2Tl6gcRXMclT6PY="; }; + uzura = pkgs.fetchurl { + name = "uzura"; + url = "http://azukifont.com/font/uzurafont100.zip"; + + downloadToTemp = true; + recursiveHash = true; + + postFetch = '' + mkdir -p $out/share/fonts/opentype + ${pkgs.unzip}/bin/unzip -j $downloadedFile 'uzurafont100/uzura.ttf' -d $out/share/fonts/opentype + ''; + + sha256 = "sha256-FXkb7JQ+CYAKnOgIkeOxPovjVfIOn3xUQHWUT2oCIEM="; + }; + + all = [ qr-generator qr-paste - sax2 manrope metrophobic cleanvertising stencila + sax2 manrope metrophobic cleanvertising stencila uzura ]; }