~ruther/nixos-config

ref: 6c1624e26d0fa405ad39c8f2f6a6b0c1a3e4cb86 nixos-config/modules/desktop/default.nix -rw-r--r-- 410 bytes
6c1624e2 — Frantisek Bohacek feat: add windows 10 entry to systemd boot 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;
    };
  };
}