From 1e8e2921ba3ab4b1b58b97d458014d369970365c Mon Sep 17 00:00:00 2001 From: Joris Date: Thu, 2 May 2024 08:31:27 +0200 Subject: [PATCH] Remove unnecessary uinput usage --- application/power-management/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/application/power-management/default.nix b/application/power-management/default.nix index f6827e7c..c74c5bde 100644 --- a/application/power-management/default.nix +++ b/application/power-management/default.nix @@ -42,8 +42,6 @@ in { groups.${group} = {}; }; - hardware.uinput.enable = lib.mkDefault true; - # Allow user of power-button-shutdown.service to shutdown the service security.polkit = { enable = true; @@ -70,7 +68,7 @@ in { User = user; Group = group; - SupplementaryGroups = with config.users.groups; [ input.name uinput.name ]; + SupplementaryGroups = with config.users.groups; [ input.name ]; # Hardening, see https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/hardware/kanata.nix#L117 for inspiration. # Not using DeviceAllow and DevicePolicy, as this prevent listing devices otherwise.