machines/smithers: Disable WakeOnAC
This commit is contained in:
parent
c375736076
commit
251aebd6d3
|
@ -14,6 +14,9 @@
|
||||||
# disable the include of TLP because we get the fancy AMD one from nixos-hardwware
|
# disable the include of TLP because we get the fancy AMD one from nixos-hardwware
|
||||||
my.includeTLP = false;
|
my.includeTLP = false;
|
||||||
|
|
||||||
|
# Don't wake from sleep if plugged into AC
|
||||||
|
hardware.framework.amd-7040.preventWakeOnAC = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
Loading…
Reference in a new issue