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

fixes #76391
wip/yesman
Pavol Rusnak 5 years ago
parent 788473c6db
commit 4899c6992c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
  1. 2
      nixos/modules/installer/tools/nixos-generate-config.pl

@ -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";';
}
}

Loading…
Cancel
Save