fix(chireiden): add trackpad driver workaround
This commit is contained in:
parent
8eedcbf3c2
commit
fd767921a2
1 changed files with 13 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{
|
{ pkgs, ... }: {
|
||||||
global = {
|
global = {
|
||||||
id = "5d3c16fe58444e12ad621600039f10af";
|
id = "5d3c16fe58444e12ad621600039f10af";
|
||||||
fs.esp.uuid = "32A5-6257";
|
fs.esp.uuid = "32A5-6257";
|
||||||
|
@ -30,6 +30,18 @@
|
||||||
nvidiaBusId = "PCI:5:0:0";
|
nvidiaBusId = "PCI:5:0:0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# trackpad driver resume workaround
|
||||||
|
systemd.services.trackpad-workaround = {
|
||||||
|
description = "Reload trackpad driver";
|
||||||
|
after = [ "suspend.target" ];
|
||||||
|
wantedBy = [ "suspend.target" ];
|
||||||
|
path = with pkgs; [ kmod ];
|
||||||
|
script = ''
|
||||||
|
modprobe -r psmouse
|
||||||
|
modprobe psmouse
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue