~ruther/nixos-config

ref: 509b41049b045885bde71c8eb68e4d665f7c00e8 nixos-config/modules/desktop/default.nix -rw-r--r-- 420 bytes
509b4104 — Frantisek Bohacek chore: remove unnecessary code, use modules instead of imports, split files 1 year, 3 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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