{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; services.logind = { lidSwitch = "ignore"; powerKey = "suspend"; }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.graphics = { enable = true; extraPackages = with pkgs; [ intel-media-driver vaapiIntel vpl-gpu-rt ]; }; services.udev.extraHwdb = '' evdev:input:b0011v0001p0001eAB83* KEYBOARD_KEY_d5=sysrq KEYBOARD_KEY_d4=leftmeta KEYBOARD_KEY_95=brightnessdown KEYBOARD_KEY_91=brightnessup ''; services.keyd = { enable = true; keyboards = { default = { ids = ["0001:0001"]; settings = { main = { camera = "brightnessdown"; prog1 = "brightnessup"; # home row mods a = "lettermod(alt, a, 200, 150)"; s = "lettermod(meta, s, 200, 150)"; d = "lettermod(control, d, 200, 150)"; f = "lettermod(shift, f, 200, 150)"; j = "lettermod(shift, j, 200, 150)"; k = "lettermod(control, k, 200, 150)"; l = "lettermod(meta, l, 200, 150)"; ";" = "lettermod(alt, ;, 200, 150)"; }; }; }; }; }; }