mirror of
https://github.com/flynx/nixos.git
synced 2025-10-28 02:30:08 +00:00
refactoring...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7c31a57a2d
commit
a6c2ee678a
@ -5,7 +5,7 @@
|
||||
# - hibernation
|
||||
# - down works
|
||||
# - up broken
|
||||
# - suspend
|
||||
# - suspend (broken)
|
||||
# - split into logical components (OS, hardware, ...)
|
||||
#
|
||||
#
|
||||
@ -25,12 +25,6 @@
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# XXX move to hardware-specific-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.
|
||||
|
||||
|
||||
@ -35,4 +35,11 @@
|
||||
|
||||
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