summaryrefslogtreecommitdiffstats
path: root/systems
diff options
context:
space:
mode:
Diffstat (limited to 'systems')
-rw-r--r--systems/qi/config.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/systems/qi/config.nix b/systems/qi/config.nix
index 3588ad62..ba9aa8c0 100644
--- a/systems/qi/config.nix
+++ b/systems/qi/config.nix
@@ -166,6 +166,8 @@
services.logind.powerKey = "ignore";
services.logind.powerKeyLongPress = "poweroff";
+ hardware.sensor.iio.enable = true;
+
security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if ((action.id.indexOf("org.freedesktop.login1.suspend") == 0
@@ -179,6 +181,14 @@
});
'';
+ programs.feedbackd.enable = true;
+
+ users.users.default.extraGroups = [
+ "feedbackd"
+ "input"
+ "video"
+ ];
+
security.rtkit.enable = true;
services.pipewire = {