mirror of
https://github.com/flynx/nixos.git
synced 2025-10-28 10:40: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
|
# - hibernation
|
||||||
# - down works
|
# - down works
|
||||||
# - up broken
|
# - up broken
|
||||||
# - suspend
|
# - suspend (broken)
|
||||||
# - split into logical components (OS, hardware, ...)
|
# - split into logical components (OS, hardware, ...)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
@ -25,12 +25,6 @@
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = 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.hostName = "yoga-nix";
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
|||||||
@ -35,4 +35,11 @@
|
|||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
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