VC setup hook now runs during initrd init phase

This commit is contained in:
Emile Clark-Boman 2025-07-07 17:19:21 +10:00
parent cd56f7af93
commit 45ad6da23c
2 changed files with 25 additions and 6 deletions

View file

@ -59,12 +59,32 @@ in {
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
# Enable initrd hook for virtual console customisation
# aka cool colours when bootting yay!!
console = { console = {
font = "Lat2-Terminus16"; enable = true;
earlySetup = true; # initrd pre hook
keyMap = "us"; keyMap = "us";
#packages = with pkgs; [ font = "Lat2-Terminus16";
# nerdfonts # 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 ----- # ----- NETWORKING SECTION -----

View file

@ -200,7 +200,6 @@ in {
doggo doggo
tldr tldr
viddy viddy
#btop
tesseract # for my work with Agribit 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 = { thunar = {
enable = true; enable = true;
plugins = with pkgs.xfce; [ plugins = with pkgs.xfce; [