Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-04-05 20:29:13 +03:00
parent fa6e2f9e21
commit da8e2c9efa
4 changed files with 16 additions and 9 deletions

View File

@ -35,6 +35,13 @@ in {
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
services = {
logind = {
lidSwitch = "ignore";
powerKey = "suspend";
};
};
# physically broken touchscreen
services.udev.extraRules = "ACTION==\"add|change\", KERNELS==\"input[0-9]*\", SUBSYSTEMS==\"input\", ATTRS{id/vendor}==\"27c6\", ATTRS{id/product}==\"0e84\", ENV{LIBINPUT_IGNORE_DEVICE}=\"1\"";