From 45ad6da23c1faa6b88e9ca6cbe0e31a3f442dbdf Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Mon, 7 Jul 2025 17:19:21 +1000 Subject: [PATCH] VC setup hook now runs during initrd init phase --- hosts/lolcathost/default.nix | 28 ++++++++++++++++++++++++---- hosts/myputer/default.nix | 3 +-- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/hosts/lolcathost/default.nix b/hosts/lolcathost/default.nix index e9805da..b788661 100755 --- a/hosts/lolcathost/default.nix +++ b/hosts/lolcathost/default.nix @@ -59,12 +59,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"; - #packages = with pkgs; [ - # nerdfonts - #]; + 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 ----- diff --git a/hosts/myputer/default.nix b/hosts/myputer/default.nix index 27b6799..a666027 100755 --- a/hosts/myputer/default.nix +++ b/hosts/myputer/default.nix @@ -200,7 +200,6 @@ in { doggo tldr viddy - #btop tesseract # for my work with Agribit @@ -289,7 +288,7 @@ in { ''; }; - # Thunar also users: `services.tumbler` & `services.gvfs` + # Thunar also (optionally) requires: `services.tumbler` & `services.gvfs` thunar = { enable = true; plugins = with pkgs.xfce; [