From 018a8b66c7578b96eeee6abb6f34d6d9584d65d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 29 Nov 2025 20:42:44 +0800 Subject: [PATCH] vanadium: -last-resort https://news.ycombinator.com/item?id=24726008 > Not all systems will work with this, as the idea of font fallback is > not universal. The built-in terminal emulators in the FreeBSD kernel and > in Linux only load one font at any given time. (I've written a > user-space terminal emulator with the goal of providing a user-space > workalike for those terminal emulators, which does have font fallback > mechanisms, but kernel built-in terminal emulators forego the ability to > have multiple fonts and a lot of other things for obvious reasons.) --- nix/configurations/vanadium/home/misc.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nix/configurations/vanadium/home/misc.nix b/nix/configurations/vanadium/home/misc.nix index 23eea664..8337a00b 100644 --- a/nix/configurations/vanadium/home/misc.nix +++ b/nix/configurations/vanadium/home/misc.nix @@ -1,6 +1,5 @@ { pkgs, - lib, ... }: { @@ -9,7 +8,7 @@ # fonts.fontconfig = { enable = true; - defaultFonts = lib.mapAttrsRecursive (_: v: v ++ [ "Last Resort" ]) { + defaultFonts = { sansSerif = [ "Ubuntu" "Noto Sans CJK TC" @@ -28,7 +27,6 @@ pkgs.noto-fonts-emoji-blob-bin pkgs.ubuntu-classic pkgs.iosevka - pkgs.last-resort ]; home.file = {