2024-12-11 21:41:41 -07:00
|
|
|
{ pkgs, ... }:
|
2024-12-11 19:32:45 -07:00
|
|
|
{
|
|
|
|
# Set US keyboard
|
|
|
|
services.xserver.xkb = {
|
|
|
|
layout = "us";
|
|
|
|
variant = "";
|
|
|
|
};
|
2024-12-11 21:41:41 -07:00
|
|
|
|
|
|
|
# Enable KMSCon instead of default tty
|
|
|
|
services.kmscon = {
|
|
|
|
enable = true;
|
|
|
|
useXkbConfig = true;
|
2024-12-12 15:15:59 -07:00
|
|
|
hwRender = true;
|
2024-12-11 21:41:41 -07:00
|
|
|
fonts = [
|
|
|
|
{
|
2024-12-12 15:15:59 -07:00
|
|
|
name = "FiraCode Nerd Font";
|
2024-12-11 21:41:41 -07:00
|
|
|
package = pkgs.nerd-fonts.fira-code;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2024-12-12 15:33:50 -07:00
|
|
|
|
|
|
|
# Disable sleep on lid close (because server)
|
|
|
|
services.logind.lidSwitch = "ignore";
|
2024-12-12 15:15:59 -07:00
|
|
|
}
|