nixos-configs/modules/kmscon.nix
matt1432 6441ae6548
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update deprecated xserver option
2024-02-05 06:40:53 -05:00

16 lines
448 B
Nix

{config, ...}: let
inherit (config.services.xserver) xkb;
in {
services.kmscon = {
enable = true;
hwRender = false;
# FIXME: https://github.com/Aetf/kmscon/issues/18 // Icons not rendering properly
extraOptions = builtins.concatStringsSep " " [
"--font-size 12.5"
"--font-dpi 170"
"--xkb-layout ${xkb.layout}"
"--xkb-variant ${xkb.variant}"
"--font-name 'JetBrainsMono Nerd Font'"
];
};
}