From fb1613bc72e5e87561927a6fadd6a4cff9d57444 Mon Sep 17 00:00:00 2001 From: Frank LoTurco Date: Tue, 15 Sep 2026 12:40:43 -0400 Subject: [PATCH] nixos-pc: add KMSCON as primary TTY --- hosts/shared/nixos-pc.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hosts/shared/nixos-pc.nix b/hosts/shared/nixos-pc.nix index 8bdd8bd..c68a25e 100644 --- a/hosts/shared/nixos-pc.nix +++ b/hosts/shared/nixos-pc.nix @@ -124,6 +124,24 @@ in # Completely disable xserver support (RIP X11). xserver.enable = false; + # Enable KMSCON DRM TTY. + kmscon = { + enable = true; + hwRender = true; + term = "xterm-256color"; + + fonts = [ + { + name = "Hack"; + package = pkgs.hack-font; + } + { + name = "Hack Nerd Font Mono"; + package = pkgs.nerd-fonts.hack; + } + ]; + }; + # Configure pipewire. Disables 32Bit ALSA since it causes build errors # and is largely vestigial. pipewire = {