blob: 4760fbafbe7b6d1bed60e0b932f30f28ff6095e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ pkgs, config, ... }:
let
xcfg = config.services.xserver;
in
{
console.useXkbConfig = true;
services.xserver.xkbVariant = "dvorak";
services.xserver.xkbOptions = "caps:escape,compose:menu,compose:prsc";
environment.variables.XKB_DEFAULT_LAYOUT = xcfg.layout;
environment.variables.XKB_DEFAULT_VARIANT = xcfg.xkbVariant;
environment.variables.XKB_DEFAULT_OPTIONS = xcfg.xkbOptions;
}
|