feat: allow access to uhid

This commit is contained in:
Ashhhleyyy 2023-10-08 20:31:14 +01:00
parent 642a94830d
commit 7b0472e3dd
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -3,4 +3,9 @@
security.tpm2.pkcs11.enable = true;
security.tpm2.tctiEnvironment.enable = true;
users.users.ash.extraGroups = [ "tss" ];
users.groups.uhid = {};
users.users.ash.extraGroups = [ "uhid" ];
services.udev.extraRules = ''
KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="uhid", MODE="0660"
'';
}