fix: how specify groups

This commit is contained in:
Ashhhleyyy 2023-10-08 20:37:02 +01:00
parent 7b0472e3dd
commit 91ee547c48
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -3,8 +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.groups.uhid = {
users.users.ash.extraGroups = [ "uhid" ]; members = [ "ash" ];
};
services.udev.extraRules = '' services.udev.extraRules = ''
KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="uhid", MODE="0660" KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="uhid", MODE="0660"
''; '';