mirror of
https://github.com/flynx/nixos.git
synced 2025-10-28 02:30:08 +00:00
oops...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a6c2ee678a
commit
7cc79e3e0d
@ -25,6 +25,13 @@
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# fix touchpad not working after resume on ThinkPad Yoga S1...
|
||||
# XXX move to device-specific config file...
|
||||
powerManagement.resumeCommands = ''
|
||||
${pkgs.kmod}/bin/modprobe -r i2c_i801
|
||||
${pkgs.kmod}/bin/modprobe i2c_i801
|
||||
'';
|
||||
|
||||
networking.hostName = "yoga-nix";
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
|
||||
@ -36,10 +36,4 @@
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
# fix touchpad not working after resume on ThinkPad Yoga S1...
|
||||
powerManagement.resumeCommands = ''
|
||||
${pkgs.kmod}/bin/modprobe -r i2c_i801
|
||||
${pkgs.kmod}/bin/modprobe i2c_i801
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user