mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 20:16:17 +01:00
12 lines
302 B
Nix
12 lines
302 B
Nix
|
{ pkgs, config, ... }:
|
||
|
let
|
||
|
mkIf = pkgs.lib.mkIf;
|
||
|
xserver-enable = config.services.xserver.enable;
|
||
|
in {
|
||
|
services.xserver = {
|
||
|
layout = mkIf xserver-enable "us,sk";
|
||
|
xkbVariant = mkIf xserver-enable ",qwerty";
|
||
|
xkbOptions = mkIf xserver-enable "grp:lalt_lshift_toggle ctrl:nocaps";
|
||
|
};
|
||
|
}
|