Commit 864ffcd1 authored by Kermina Awad's avatar Kermina Awad
Browse files

nixos/plasma6: fix autorotation when IIO module is enabled

Plasma 6 requires the `qtsensors` package to be installed in order
for autorotation to work correctly. Simply enabling the IIO module
is not sufficient, although it's also required. Both are required
for autorotation to work correctly.
parent d31a91c9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -176,6 +176,10 @@ in
            krdp
            xwaylandvideobridge # exposes Wayland windows to X11 screen capture
          ]
          ++ lib.optionals config.hardware.sensor.iio.enable [
            # This is required for autorotation in Plasma 6
            qtsensors
          ]
          ++ lib.optionals config.services.flatpak.enable [
            # Since PackageKit Nix support is not there yet,
            # only install discover if flatpak is enabled.