Skip to content

Commit

Permalink
Remove unnecessary uinput usage
Browse files Browse the repository at this point in the history
  • Loading branch information
guyonvarch committed May 2, 2024
1 parent 066bb10 commit 1e8e292
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions application/power-management/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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.
Expand Down

0 comments on commit 1e8e292

Please sign in to comment.