mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[General+Boot] fix console font not being set-up properly when using systemdStage1
Copy fonts from what is set-up at /etc/kbd/consolefonts to /etc/kbd/consolefonts. Note: since we use builtins.storePath, it won't work without the --impure flag
This commit is contained in:
parent
bb08c18f92
commit
73b3014fb8
1 changed files with 4 additions and 0 deletions
|
|
@ -110,6 +110,10 @@ in
|
|||
font = "Lat2-Terminus16";
|
||||
};
|
||||
|
||||
boot.initrd.systemd.contents = mkIf (config.boot.initrd.systemd.enable && !config.console.earlySetup) {
|
||||
"/etc/kbd/consolefonts".source = "${pkgs.kbd}/share/consolefonts";
|
||||
};
|
||||
|
||||
aviallon.boot.cmdline = mkIf cfg.unsafeOptimizations {
|
||||
mitigations = "off";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue