summary refs log tree commit diff stats
path: root/content/post/nixos-on-nanopi-r5s.md
diff options
context:
space:
mode:
authorAlan Pearce2023-08-01 19:13:07 +0200
committerAlan Pearce2023-08-01 19:13:07 +0200
commitc1acd068edb548eb8fb5ddb1266c23c37e311867 (patch)
tree2d173a64941b7c4affdcf7ec70f8286037ebf768 /content/post/nixos-on-nanopi-r5s.md
parent737630933b4cc5a0f6c18d8b51f9e42a4e8db45a (diff)
downloadwebsite-c1acd068edb548eb8fb5ddb1266c23c37e311867.tar.lz
website-c1acd068edb548eb8fb5ddb1266c23c37e311867.tar.zst
website-c1acd068edb548eb8fb5ddb1266c23c37e311867.zip
Minor text fixes
Diffstat (limited to 'content/post/nixos-on-nanopi-r5s.md')
-rw-r--r--content/post/nixos-on-nanopi-r5s.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/post/nixos-on-nanopi-r5s.md b/content/post/nixos-on-nanopi-r5s.md
index f6e3e75..83f25ef 100644
--- a/content/post/nixos-on-nanopi-r5s.md
+++ b/content/post/nixos-on-nanopi-r5s.md
@@ -7,7 +7,7 @@ tags = ["NixOS", "home-networking", "infrastructure"]
 
 I managed to get [NixOS](https://nixos.org) running on my [NanoPi R5S](https://www.friendlyelec.com/index.php?route=product/product&product_id=287) ([FriendlyElec Wiki](https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R5S)).
 
-Firstly, I flashed a pre-built stock Debian image from [inindev](https://github.com/inindev/nanopi-r5) to an SD card. This can be used as a rescue system later on.
+Firstly, I flashed a pre-built stock Debian image from [inindev](https://github.com/inindev/nanopi-r5) to an SD card. This can be used as a rescue system later on. 
 
 From that SD card, I then flashed the same system onto the internal <abbr title="embedded MultiMediaCard">eMMC</abbr> Storage. I only really needed to this to ensure UBoot was correctly installed; I think there will be an easier way to do it.
 
@@ -31,7 +31,7 @@ mount --bind /mnt/emmc /mnt/boot
 ```
 
 <aside>
-<p>One could <em>probably</em> delete everything else on the <abbr>eMMC</abbr> and move the contents of <code>/mnt/emmc/boot</code> to <code>/mnt/emmc</code>, thus obviating the need to bind-mount <code>/boot</code>
+One could <em>probably</em> delete everything else on the <abbr>eMMC</abbr> and move the contents of <code>/mnt/emmc/boot</code> to <code>/mnt/emmc</code>, thus obviating the need to bind-mount <code>/boot</code>
 </aside>
 
 I ran `nixos-generate-config` as usual, which set up the mount points in `hardware-configuration.nix` correctly. `configuration.nix` needed a bit of tweaking. My first booting configuration was something like this, mostly borrowed from [Artem Boldariev's comment](https://github.com/inindev/nanopi-r5/issues/11#issue-1789308883):
@@ -133,7 +133,7 @@ in
 Due to the custom kernel configuration, building takes a while. I set up a [distributed build](https://nixos.org/manual/nix/stable/advanced-topics/distributed-builds.html) to speed things up, using a [Hetzner Cloud](https://www.hetzner.com/cloud) CAX21 ARM64 instance (although I could have used an x86_64 system with one of the methods mentioned on the [NixOS on ARM NixOS wiki page](https://nixos.wiki/wiki/NixOS_on_ARM#Build_your_own_image_natively)). This made for a very long `nixos-install` command line:
 
 ```sh
-sudo env PATH=$PATH =nixos-install --root /mnt/internal --no-channel-copy --channel https://nixos.org/channels/nixos-23.05 --option builders'ssh://my-host aarch64-linux /root/.ssh/id_pappel_nixpkgs 4 2 big-parallel' --option builders-use-substitutes true --max-jobs 0
+sudo env PATH=$PATH =nixos-install --root /mnt --no-channel-copy --channel https://nixos.org/channels/nixos-23.05 --option builders'ssh://my-host aarch64-linux /root/.ssh/id_pappel_nixpkgs 4 2 big-parallel' --option builders-use-substitutes true --max-jobs 0
 ```
 
-I added `setenv bootmeths "extlinux"` to `/boot/boot.txt` and ran `/boot/mkscr.sh` as root to ensure that UBoot would search for the `extlinux.conf` file
\ No newline at end of file
+I added `setenv bootmeths "extlinux"` to `/boot/boot.txt` and ran `/boot/mkscr.sh` as root to ensure that UBoot would search for the `extlinux.conf` file