mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 01:30:48 +03:00
doc: fix tutorial syntax
This commit is contained in:
parent
5d802d251c
commit
68a8bc2951
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -232,10 +232,12 @@ but, if you want to (change the system based on your system):
|
|||
```
|
||||
6. Use the secret in your config:
|
||||
```nix
|
||||
users.users.user1 = {
|
||||
isNormalUser = true;
|
||||
passwordFile = config.age.secrets.secret1.path;
|
||||
};
|
||||
{
|
||||
users.users.user1 = {
|
||||
isNormalUser = true;
|
||||
passwordFile = config.age.secrets.secret1.path;
|
||||
};
|
||||
}
|
||||
```
|
||||
7. NixOS rebuild or use your deployment tool like usual.
|
||||
|
||||
|
|
Loading…
Reference in a new issue