about summary refs log tree commit diff
path: root/nixos/doc/manual/installation/changing-config.chapter.md
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2024-03-27 19:10:27 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2024-03-28 09:28:12 +0100
commitfcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec (patch)
tree8de1a02f7d1624c97562c7736896a6c95c74ec04 /nixos/doc/manual/installation/changing-config.chapter.md
parentbc77c7a9730833c7668c92288c6af950e7270cb5 (diff)
downloadnixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.tar
nixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.tar.gz
nixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.tar.bz2
nixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.tar.lz
nixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.tar.xz
nixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.tar.zst
nixlib-fcc95ff8172cc68a0d2d52aa1e8ef2120d2904ec.zip
treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
Diffstat (limited to 'nixos/doc/manual/installation/changing-config.chapter.md')
-rw-r--r--nixos/doc/manual/installation/changing-config.chapter.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/changing-config.chapter.md b/nixos/doc/manual/installation/changing-config.chapter.md
index 9e56b15a880f..07a0074d17e7 100644
--- a/nixos/doc/manual/installation/changing-config.chapter.md
+++ b/nixos/doc/manual/installation/changing-config.chapter.md
@@ -87,7 +87,9 @@ set `mutableUsers = false`. Another way is to temporarily add the
 following to your configuration:
 
 ```nix
-users.users.your-user.initialHashedPassword = "test";
+{
+  users.users.your-user.initialHashedPassword = "test";
+}
 ```
 
 *Important:* delete the \$hostname.qcow2 file if you have started the