nixos/tpm2: define group, fix after NixOS#133166
This commit is contained in:
parent
1ae90c5118
commit
8b6fa3c821
1 changed files with 2 additions and 1 deletions
|
@ -146,6 +146,7 @@ in {
|
|||
# Create the tss user and group only if the default value is used
|
||||
users.users.${cfg.tssUser} = lib.mkIf (cfg.tssUser == "tss") {
|
||||
isSystemUser = true;
|
||||
group = "tss";
|
||||
};
|
||||
users.groups.${cfg.tssGroup} = lib.mkIf (cfg.tssGroup == "tss") {};
|
||||
|
||||
|
@ -172,7 +173,7 @@ in {
|
|||
BusName = "com.intel.tss2.Tabrmd";
|
||||
ExecStart = "${cfg.abrmd.package}/bin/tpm2-abrmd";
|
||||
User = "tss";
|
||||
Group = "nogroup";
|
||||
Group = "tss";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue