diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2021-06-12 18:47:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-12 18:47:18 +0200 |
commit | ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493 (patch) | |
tree | 48aa10dd44ecc8fb1a1a37f21a31652b81d61ef4 /nixos | |
parent | 01654ddda18411725934d2ffb00b00677da24149 (diff) | |
parent | 39bc7363820157000a389e078808a1d553b9bf6b (diff) | |
download | nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.tar nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.tar.gz nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.tar.bz2 nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.tar.lz nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.tar.xz nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.tar.zst nixlib-ff4f74259a3d6d3dc9f2c3a904cefbce1a0f0493.zip |
Merge pull request #126658 from ncfavier/patch-2
nixos/console: allow console.font to be a path
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/config/console.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/config/console.nix b/nixos/modules/config/console.nix index 5be7f06c05d9..c5150305bd85 100644 --- a/nixos/modules/config/console.nix +++ b/nixos/modules/config/console.nix @@ -43,13 +43,14 @@ in options.console = { font = mkOption { - type = types.str; + type = with types; either str path; default = "Lat2-Terminus16"; example = "LatArCyrHeb-16"; description = '' The font used for the virtual consoles. Leave empty to use whatever the <command>setfont</command> program considers the default font. + Can be either a font name or a path to a PSF font file. ''; }; |