From ef0125f6b2b3630ae654e6394b9243d1481f1845 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Wed, 11 Dec 2024 21:41:41 -0700 Subject: [PATCH] Kmscon --- hosts/laptop-server/modules/display.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/hosts/laptop-server/modules/display.nix b/hosts/laptop-server/modules/display.nix index 892ccc0..0613361 100644 --- a/hosts/laptop-server/modules/display.nix +++ b/hosts/laptop-server/modules/display.nix @@ -1,8 +1,20 @@ -{ ... }: +{ pkgs, ... }: { # Set US keyboard services.xserver.xkb = { layout = "us"; variant = ""; }; + + # Enable KMSCon instead of default tty + services.kmscon = { + enable = true; + useXkbConfig = true; + fonts = [ + { + name = "FiraMono Nerd Font Mono"; + package = pkgs.nerd-fonts.fira-code; + } + ]; + }; } \ No newline at end of file