Extend the README

This commit is contained in:
Andreas Zweili 2022-09-06 19:43:47 +02:00
parent a390a50444
commit 4d6b021e6f
1 changed files with 10 additions and 1 deletions

View File

@ -17,7 +17,16 @@ However this requires some prerequisites.
2. Provide the required information and wait until the script is finished.
3. Reboot and profit!
## Hardware installation
## Raspberry Pi installation
1. Download the image from: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.sd_image.aarch64-linux
2. Extract it with: `unzstd nixos-sd-image-*-aarch64-linux.img.zst`
3. Flash it to the SD card with `sudo dd if=$(ls nixos-sd-image-*-aarch64-linux.img) of=/dev/mmcblk0 bs=4M`
4. `curl https://git.2li.ch/Nebucatnetzer/nixos/archive/master.tar.gz | tar xz`
5. `sudo cp nixos/systems/raspi4/init_config.nix /etc/nixos/configuration.nix`
6. `sudo nixos-rebuild switch`
## x86 installation
1. `curl https://git.2li.ch/Nebucatnetzer/nixos/archive/master.tar.gz | tar xz`
2. `cd nixos && nix-shell`