32 lines
633 B
Nix
32 lines
633 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;
|
|
};
|
|
|
|
# audio controls and polybar module don't work on pipewire
|
|
hardware.pulseaudio = {
|
|
enable = true;
|
|
support32Bit = true;
|
|
};
|
|
services.pipewire.enable = false;
|
|
}
|