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.)
This commit is contained in:
Primrose 2025-11-29 20:42:44 +08:00
parent b293776da0
commit 018a8b66c7
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -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 = {