~ruther/nixos-config

ref: e55f782c73dd66646c8b20092d88533842bbf48c nixos-config/modules/desktop/default.nix -rw-r--r-- 409 bytes
e55f782c — Frantisek Bohacek feat: add natural scrolling, and map caps lock to ctrl 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