Skip to content

Commit

Permalink
docs(readme): fix invalid source code block syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Nov 28, 2023
1 parent 6cabfbc commit b128a8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hosts/masterplan/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ To https://wiki.archlinux.org/title/Data-at-rest_encryption#Preparing_the_disk[
prepare the disk by overwriting it with a stream of random bytes],
https://wiki.archlinux.org/title/Securely_wipe_disk#shred[shred it] by running:

,bash]
[bash]
----
shred --random-source=/dev/urandom --verbose /dev/nvme0n1
----

Then, encrypt and format all disks for the `masterplan` host by running:

,bash]
[bash]
----
(
set -e
Expand Down Expand Up @@ -54,7 +54,7 @@ Then, encrypt and format all disks for the `masterplan` host by running:
To clone the latest flake of the `masterplan` host to `/mnt/etc/nixos`, run:
,bash]
[bash]
----
nix flake clone \
--dest /mnt/etc/nixos \
Expand All @@ -65,7 +65,7 @@ nix flake clone \
Optionally, update the hardware configuration of the `masterplan` host with:
,bash]
[bash]
----
nixos-generate-config \
--no-filesystems \
Expand All @@ -76,14 +76,14 @@ nixos-generate-config \
Then, install the `masterplan` host with:
,bash]
[bash]
----
nixos-install --flake /mnt/etc/nixos#masterplan
----
Finally, reboot the system with:
,bash]
[bash]
----
reboot
----

0 comments on commit b128a8d

Please sign in to comment.