diff options
author | jakobrs <jakobrs100@gmail.com> | 2020-04-06 15:49:54 +0200 |
---|---|---|
committer | jakobrs <jakobrs100@gmail.com> | 2020-04-15 14:21:42 +0200 |
commit | 34f242c13d6aa02e21caeeb74d2c6016c53ca863 (patch) | |
tree | faafc69ea402c99b04c158f76c9cc45218c00e81 | |
parent | 2e5672920ed57c5418e6f039072342be7101bf8c (diff) |
nixos/installer: Add terminus_font to installation_iso_base
-rw-r--r-- | nixos/doc/manual/installation/installing.xml | 5 | ||||
-rw-r--r-- | nixos/modules/installer/cd-dvd/installation-cd-base.nix | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/installing.xml b/nixos/doc/manual/installation/installing.xml index 0dbfb39c32b22..673df8f2e4c4e 100644 --- a/nixos/doc/manual/installation/installing.xml +++ b/nixos/doc/manual/installation/installing.xml @@ -41,6 +41,11 @@ neo</command>!) </para> + <para> + If the text is too small to be legible, try <command>setfont ter-132n</command> + to increase the font size. + </para> + <section xml:id="sec-installation-booting-networking"> <title>Networking in the installer</title> diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix index 24070a786945a..cfd06a2b3b1e4 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix @@ -1,7 +1,7 @@ # This module contains the basic configuration for building a NixOS # installation CD. -{ config, lib, pkgs, ... }: +{ config, lib, options, pkgs, ... }: with lib; @@ -15,6 +15,9 @@ with lib; ../../profiles/installation-device.nix ]; + # Adds terminus_font for people with HiDPI displays + console.packages = options.console.packages.default ++ [ pkgs.terminus_font ]; + # ISO naming. isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}.iso"; |