~ruther/nixos-config

ref: d4356a9e42ec3f7f5e04dc4631acb5b2e748bac9 nixos-config/modules/desktop/default.nix -rw-r--r-- 410 bytes
d4356a9e — Rutherther fix: correctly split options in xkbOptions 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, pkgs, ... }:

{
  services = {
    xserver = {
      enable = true;

      layout = "us,cz";                              # Keyboard layout & €-sign
      xkbVariant = ",qwerty";
      xkbOptions = "grp:alt_shift_toggle, ctrl:nocaps";
      libinput.enable = true;
      modules = [ pkgs.xf86_input_wacom ];        # Both needed for wacom tablet usage
      wacom.enable = true;
    };
  };
}
Do not follow this link