nixos-generate-config: i18n.consoleFont has been renamed to console.font

fixes #76391
This commit is contained in:
Pavol Rusnak 2019-12-25 15:02:21 +01:00
parent 788473c6db
commit 4899c6992c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -501,7 +501,7 @@ if (-f $fb_modes_file && -r $fb_modes_file) {
my $console_width = $1, my $console_height = $2;
if ($console_width > 1920) {
push @attrs, "# High-DPI console";
push @attrs, 'i18n.consoleFont = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";';
push @attrs, 'console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";';
}
}