fix(kmscon): set correct kb layout
This commit is contained in:
parent
55b700dc77
commit
75b464e9f5
1 changed files with 8 additions and 4 deletions
|
@ -1,10 +1,14 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
services.kmscon = {
|
||||
enable = true;
|
||||
hwRender = false;
|
||||
# FIXME: https://github.com/Aetf/kmscon/issues/18 // Icons not rendering properly
|
||||
# FIXME: https://github.com/Aetf/kmscon/issues/56 // Mouse cursor stays
|
||||
# FIXME: wrong keyboard layout
|
||||
extraOptions = "--font-size 12.5 --font-dpi 170 --font-name 'JetBrainsMono Nerd Font'";
|
||||
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'"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue