nix/hosts/laptop-server/modules/display.nix
2024-12-12 15:16:57 -07:00

21 lines
429 B
Nix

{ 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;
}
];
};
}