mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 17:50: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
|
@ -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 = {
|
users.users.user1 = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
passwordFile = config.age.secrets.secret1.path;
|
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