diff --git a/nixos/modules/config/console.nix b/nixos/modules/config/console.nix index 571f723a823f..74653918f893 100644 --- a/nixos/modules/config/console.nix +++ b/nixos/modules/config/console.nix @@ -189,6 +189,9 @@ in "/etc/kbd/keymaps" = lib.mkIf (!cfg.earlySetup) { source = "${consoleEnv config.boot.initrd.systemd.package.kbd}/share/keymaps"; }; + "/etc/kbd/consolefonts" = lib.mkIf (!cfg.earlySetup && cfg.font != null) { + source = "${consoleEnv config.boot.initrd.systemd.package.kbd}/share/consolefonts"; + }; }; boot.initrd.systemd.additionalUpstreamUnits = [ "systemd-vconsole-setup.service"