nix-config/hosts/thinkpads/default.nix

25 lines
460 B
Nix

{ ... }:
{
imports = [ (import ./hardware-configuration.nix) ];
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
efiSupport = true;
device = "nodev";
};
};
# Use X11 caps lock to escape remap in TTY
console.useXkbConfig = true;
services.xserver.xkbOptions = "caps:escape";
services.xserver.libinput = {
enable = true;
touchpad.tapping = true;
};
}