From 142dad8f688494bd92c9d02b473418dff46cbee6 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 10 Jul 2025 21:57:46 +1000 Subject: [PATCH] Computer now has VC modified by initrd --- hosts/myputer/default.nix | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/hosts/myputer/default.nix b/hosts/myputer/default.nix index 4cd836c..ad2cec1 100755 --- a/hosts/myputer/default.nix +++ b/hosts/myputer/default.nix @@ -54,9 +54,32 @@ in { # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; + # Enable initrd hook for virtual console customisation + # aka cool colours when bootting yay!! console = { - font = "Lat2-Terminus16"; + enable = true; + earlySetup = true; # initrd pre hook keyMap = "us"; + font = "Lat2-Terminus16"; + # ANSI 24-bit color definitions (theme: dracula) + colors = [ + "21222c" + "ff5555" + "50fa7b" + "f1fa8c" + "bd93f9" + "ff79c6" + "8be9fd" + "f8f8f2" + "6272a4" + "ff6e6e" + "69ff94" + "ffffa5" + "d6acff" + "ff92df" + "a4ffff" + "ffffff" + ]; }; # ----- NETWORKING SECTION -----