Add KMSCON support

This change makes it possible to see Japanese and other exotic
characters in the virtual console.
This commit is contained in:
Donovan Glover 2023-05-11 13:46:09 -04:00
parent c45a96764f
commit 30ffc5cd4e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -7,6 +7,18 @@
boot.loader.efi.canTouchEfiVariables = true;
services.xserver.displayManager.lightdm.enable = false;
services.kmscon.enable = true;
services.kmscon.extraOptions = "--no-drm";
services.kmscon.fonts = [
{
name = "MapleMono";
package = pkgs.maple-mono;
}
{
name = "Noto Sans CJK JP";
package = pkgs.noto-fonts-cjk-sans;
}
];
networking.hostName = "nixos";
networking.networkmanager.enable = true;