~ruther/nixos-config

ref: f7c5abff625885ed9479318040294d2a219d92f1 nixos-config/modules/desktop/default.nix -rw-r--r-- 410 bytes
f7c5abff — Frantisek Bohacek chore: update to nixos-unstable 2 years 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;
    };
  };
}