-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add terminus_font to installation isos' console.packages #84476
Conversation
How about we just use a better default console font in general @jakobrs? It's best not to deviate from user experience in the representative media, and then have it be different on an actual installation. |
I believe we already use Lat2-Terminus16 by default (8x16 terminus font). This just makes the higher-DPI versions available on the installation media. I should probably mention that the terminus-font package uses a completely different naming scheme:
The reason for doing this is pretty much only because of very-high-DPI screens like those found on MacBooks, because having to This doesn't actually tell the user that the fonts are available. The login motd could be modified to tell the user that
or mention it in the manual. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good; Should be mentioned in the manual as well.
Should I include a list of all terminus font sizes, or just |
Just mention one good one for HiDpi. Less choices makes it less confusing for the reader. |
d696d9e
to
34f242c
Compare
For reference, the names of the Terminus fonts are described in |
@GrahamcOfBorg test installer |
Motivation for this change
On some modern HiDPI laptop displays (in particular, Apple's Retina displays), the default font is absolutely tiny due to the high DPI. This adds
pkgs.terminus_font
toconsole.packages
ininstallation-cd-base.nix
to make more font sizes of the default Terminus font available.Things done
Built using
nix build -f nixos/release.nix iso_image_new_kernel.x86_64-linux
.Note: I have tested the changes on nixpkgs-channels:nixos-20.03 (specifically, 0bb3515) instead of master not to have to compile the entire Linux kernel.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
Tested execution of all binary files (usually in(N/A)./result/bin/
)nix path-info -S
before and after)