doc: fix tutorial syntax

This commit is contained in:
Ryan Mulligan 2022-09-03 14:47:54 -07:00
parent 5d802d251c
commit 68a8bc2951
1 changed files with 6 additions and 4 deletions

View File

@ -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.