{ pkgs, ... }: { # Set US keyboard services.xserver.xkb = { layout = "us"; variant = ""; }; # Enable KMSCon instead of default tty services.kmscon = { enable = true; useXkbConfig = true; hwRender = true; fonts = [ { name = "FiraCode Nerd Font"; package = pkgs.nerd-fonts.fira-code; } ]; }; # Disable sleep on lid close (because server) services.logind.lidSwitch = "ignore"; }