fix: how specify groups
This commit is contained in:
parent
7b0472e3dd
commit
91ee547c48
1 changed files with 3 additions and 2 deletions
|
@ -3,8 +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" ];
|
||||
users.groups.uhid = {
|
||||
members = [ "ash" ];
|
||||
};
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="uhid", SUBSYSTEM=="misc", GROUP="uhid", MODE="0660"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue