mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 10:36:12 +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";
|
|
};
|
|
}
|