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 setfont program considers the default font. + Can be either a font name or a path to a PSF font file. ''; };