diff --git a/docs/Getting Started/NixOS/Root on ZFS/4-system-installation.rst b/docs/Getting Started/NixOS/Root on ZFS/4-system-installation.rst index d01dc0b..18f78fa 100644 --- a/docs/Getting Started/NixOS/Root on ZFS/4-system-installation.rst +++ b/docs/Getting Started/NixOS/Root on ZFS/4-system-installation.rst @@ -26,15 +26,14 @@ of declaratively configuring the system. #. Generate password hash:: - mkpasswd -m SHA-512 -s - #output: $6$DeHnzc + INST_ROOT_PASSWD=$(mkpasswd -m SHA-512 -s) #. Declare `initialHashedPassword `__ for root user:: - tee -a /mnt/etc/nixos/${INST_CONFIG_FILE} <<-'EOF' - users.users.root.initialHashedPassword = "$6$DeHnzc"; + tee -a /mnt/etc/nixos/${INST_CONFIG_FILE} <