Add my.isLaptop variable

This commit is contained in:
fleaz 2024-04-04 21:22:58 +02:00
parent ec7c98dcc8
commit 160952445a
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083
4 changed files with 23 additions and 13 deletions

View file

@ -14,6 +14,9 @@
# disable the include of TLP because we get the fancy AMD one from nixos-hardwware
my.includeTLP = false;
# Smithers is a laptop
my.isLaptop = true;
# Don't wake from sleep if plugged into AC
hardware.framework.amd-7040.preventWakeOnAC = true;