nixos-configs/modules/kmscon.nix

15 lines
443 B
Nix
Raw Normal View History

2023-12-15 10:44:06 -05:00
{config, ...}: {
2023-10-15 17:08:41 -04:00
services.kmscon = {
enable = true;
2023-10-15 23:23:23 -04:00
hwRender = false;
2023-10-15 17:08:41 -04:00
# FIXME: https://github.com/Aetf/kmscon/issues/18 // Icons not rendering properly
2023-12-15 10:44:06 -05:00
extraOptions = builtins.concatStringsSep " " [
"--font-size 12.5"
"--font-dpi 170"
"--xkb-layout ${config.services.xserver.layout}"
"--xkb-variant ${config.services.xserver.xkbVariant}"
"--font-name 'JetBrainsMono Nerd Font'"
];
2023-10-15 17:08:41 -04:00
};
}