mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 22:24:59 +08:00
Merge pull request #171 from teto/fix-readme
doc: fix path towards the nobody user
This commit is contained in:
commit
c2614c4fe6
1 changed files with 2 additions and 2 deletions
|
|
@ -503,10 +503,10 @@ Consider the following nixos configuration example:
|
|||
sops.secrets.example-secret.mode = "0440";
|
||||
# Either a user id or group name representation of the secret owner
|
||||
# It is recommended to get the user name from `config.users.<?name>.name` to avoid misconfiguration
|
||||
sops.secrets.example-secret.owner = config.users.nobody.name;
|
||||
sops.secrets.example-secret.owner = config.users.users.nobody.name;
|
||||
# Either the group id or group name representation of the secret group
|
||||
# It is recommended to get the group name from `config.users.<?name>.group` to avoid misconfiguration
|
||||
sops.secrets.example-secret.group = config.users.nobody.group;
|
||||
sops.secrets.example-secret.group = config.users.users.nobody.group;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue