~ruther/nixos-config

ref: 8c958d11ebb6459f08967f148354cc502a2f3a35 nixos-config/modules/desktop/default.nix -rw-r--r-- 433 bytes
8c958d11 — Frantisek Bohacek feat(qtile): add monitor hotplugging support and minor changes 1 year, 25 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, lib, pkgs, ... }:

{
  services = {
    xserver = {
      enable = true;

      xkb = {
        layout = "us,cz";                              # Keyboard layout & €-sign
        variant = ",qwerty";
        options = "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