mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-24 03:31:23 +02:00
Add KMSCON support
This change makes it possible to see Japanese and other exotic characters in the virtual console.
This commit is contained in:
parent
c45a96764f
commit
30ffc5cd4e
@ -7,6 +7,18 @@
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
services.xserver.displayManager.lightdm.enable = false;
|
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.hostName = "nixos";
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user