feat: allow access to uhid
This commit is contained in:
parent
642a94830d
commit
7b0472e3dd
1 changed files with 5 additions and 0 deletions
|
@ -3,4 +3,9 @@
|
||||||
security.tpm2.pkcs11.enable = true;
|
security.tpm2.pkcs11.enable = true;
|
||||||
security.tpm2.tctiEnvironment.enable = true;
|
security.tpm2.tctiEnvironment.enable = true;
|
||||||
users.users.ash.extraGroups = [ "tss" ];
|
users.users.ash.extraGroups = [ "tss" ];
|
||||||
|
users.groups.uhid = {};
|
||||||
|
users.users.ash.extraGroups = [ "uhid" ];
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="uhid", MODE="0660"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue