PinePhone: Difference between revisions
imported>Tom m →Recommended applications: Add a TOTP application |
imported>Tom Add section on sensors |
||
Line 84: | Line 84: | ||
services.geoclue2.enable = true; | services.geoclue2.enable = true; | ||
users.users.geoclue.extraGroups = [ "networkmanager" ]; | users.users.geoclue.extraGroups = [ "networkmanager" ]; | ||
</syntaxhighlight> | |||
=== Sensors === | |||
The acceleration, compass, and ambient light sensors provide working auto-rotation, compass, and auto-brightness, when you: | |||
* {{pull|131094|iio-sensor-proxy: new service}} | |||
* and the following: | |||
<syntaxhighlight lang="nix"> | |||
services.iio-sensor-proxy.enable = true; | |||
</syntaxhighlight> | </syntaxhighlight> | ||