Hardware support for yoga

- Disable modem so we can do suspend
- Enable and install rotation indicators
This commit is contained in:
Natsu Kagami 2023-08-31 00:52:47 +02:00
parent 1cd5c82dc5
commit 00b0c19345
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 29 additions and 2 deletions

View file

@ -32,6 +32,13 @@
{ device = "/var/swapfile"; size = 32 * 1024; }
];
boot.blacklistedKernelModules = [
# Disable modem because it locks up suspend
"mtk_t7xx"
];
hardware.sensor.iio.enable = true; # Orientaion and ambient light sensors
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction