nichts/modules/services/kmscon.nix

26 lines
429 B
Nix
Raw Normal View History

2024-10-25 12:35:14 +02:00
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkIf;
cfg = config.modules.usrEnv.services.kmscon;
in {
services.kmscon = mkIf cfg.enable {
enable = false;
hwRender = true;
fonts = [
{
name = "Iosevka";
package = pkgs.iosevka;
}
];
extraOptions = "--term xterm-256color";
extraConfig = ''
font-size=18
xkb-layout=${config.console.keyMap}
'';
};
}