mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-31 04:14:37 +00:00
README: make adding users to keys group consistent
This commit is contained in:
parent
99ed276eb4
commit
b7ce70d49e
1 changed files with 3 additions and 1 deletions
|
@ -319,7 +319,9 @@ For systemd services this can be achieved as following:
|
|||
For login or system users this can be done like this:
|
||||
|
||||
```nix
|
||||
users.users.example-user.extraGroups = [ "keys" ];
|
||||
{
|
||||
users.users.example-user.extraGroups = [ config.users.groups.keys.name ];
|
||||
}
|
||||
```
|
||||
|
||||
The following example configures secrets for buildkite, a CI agent
|
||||
|
|
Loading…
Add table
Reference in a new issue