diff --git a/README.md b/README.md index 57e3cd4..9949fa7 100644 --- a/README.md +++ b/README.md @@ -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`