mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
14 lines
371 B
Nix
14 lines
371 B
Nix
inputs:
|
|
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, rlib }:
|
|
{ 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";
|
|
};
|
|
}
|