nixos-configs/modules/kmscon.nix

17 lines
448 B
Nix
Raw Normal View History

{config, ...}: let
inherit (config.services.xserver) xkb;
in {
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 ${xkb.layout}"
"--xkb-variant ${xkb.variant}"
2023-12-15 10:44:06 -05:00
"--font-name 'JetBrainsMono Nerd Font'"
];
2023-10-15 17:08:41 -04:00
};
}