mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 11:08:30 +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:
|
6. Use the secret in your config:
|
||||||
```nix
|
```nix
|
||||||
users.users.user1 = {
|
{
|
||||||
isNormalUser = true;
|
users.users.user1 = {
|
||||||
passwordFile = config.age.secrets.secret1.path;
|
isNormalUser = true;
|
||||||
};
|
passwordFile = config.age.secrets.secret1.path;
|
||||||
|
};
|
||||||
|
}
|
||||||
```
|
```
|
||||||
7. NixOS rebuild or use your deployment tool like usual.
|
7. NixOS rebuild or use your deployment tool like usual.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue