nixos/plasma5: Add iio sensors proxy for Plasma Mobile

This makes autorotate actually work.
This commit is contained in:
Samuel Dionne-Riel
2022-11-30 17:12:30 -05:00
parent a115bb9bd5
commit 471e42794c
@@ -577,6 +577,8 @@ in
hardware.bluetooth.enable = true;
hardware.pulseaudio.enable = true;
networking.networkmanager.enable = true;
# Required for autorotate
hardware.sensor.iio.enable = lib.mkDefault true;
# Recommendations can be found here:
# - https://invent.kde.org/plasma-mobile/plasma-phone-settings/-/tree/master/etc/xdg