mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 13:29:15 +08:00
add cjktty
This commit is contained in:
parent
68c4d1001c
commit
7af6d500e8
@ -54,7 +54,19 @@ inputs:
|
||||
'';
|
||||
boot.kernelParams = [ "delayacct" "acpi_osi=Linux" "resume_offset=41696016" ];
|
||||
boot.resumeDevice = "/dev/mapper/root";
|
||||
boot.kernelPatches = [{ name = "hdmi"; patch = ./hdmi.patch; }];
|
||||
boot.kernelPatches =
|
||||
[
|
||||
{ name = "hdmi"; patch = ./hdmi.patch; }
|
||||
{
|
||||
name = "cjktty";
|
||||
patch = inputs.pkgs.fetchurl
|
||||
{
|
||||
url = "https://raw.githubusercontent.com/zhmars/cjktty-patches/master/v6.x/cjktty-6.3.patch";
|
||||
sha256 = "sha256-QnsWruzhtiZnqzTUXkPk9Hb19Iddr4VTWXyV4r+iLvE=";
|
||||
};
|
||||
extraStructuredConfig = { FONT_CJK_16x16 = inputs.lib.kernel.yes; FONT_CJK_32x32 = inputs.lib.kernel.yes; };
|
||||
}
|
||||
];
|
||||
|
||||
# grub
|
||||
boot.loader =
|
||||
|
Loading…
Reference in New Issue
Block a user