Compare commits

..

No commits in common. "d6d923f422380a5943c48b8740ff3f19cbb49e95" and "2776098b8c3a04983d497ffe42894b86ca67e3f8" have entirely different histories.

2 changed files with 2 additions and 12 deletions

View File

@ -11,7 +11,7 @@ MicroSD card as boot and OS.
### Zeroth milestone
- [X] SSH daemon
- [ ] SSH daemon
- [ ] User who can act as a local admin
### First milestone
@ -34,22 +34,13 @@ MicroSD card as boot and OS.
To build the SD image:
```bash
# building the NixOS portions
nix build .#nixosConfigurations.chopper.config.system.build.sdImage
cp result/sd-image/*.zst . # note it will be write-protected
nix-shell -p zstd --run "unzstd *.zst"
sudo dd if=$(echo -n *img) of=/dev/sda status=progress bs=4096
# build uboot
nix-build '<nixpkgs>' --argstr system aarch64-linux -A ubootRockPro64 --out-link ubootRockPro64
sudo dd if=ubootRockPro64/idbloader.img of=/dev/sda conv=fsync,notrunc bs=512 seek=64
sudo dd if=ubootRockPro64/u-boot.itb of=/dev/sda conv=fsync,notrunc bs=512 seek=16384
```
Further instructions can be found on these pages:
[NixOS Wiki/NixOS on ARM/PINE64 RockPro64](https://wiki.nixos.org/wiki/NixOS_on_ARM/PINE64_ROCKPro64)
[NixOS Wiki/NixOS on ARM/Installation](https://wiki.nixos.org/wiki/NixOS_on_ARM/Installation)
[Pine64/RockPro64/Installing Arch Linux ARM](https://pine64.org/documentation/ROCKPro64/Software/Installing_Arch_Linux_ARM/)
## Notes

View File

@ -6,7 +6,6 @@
networking.hostName = "chopper";
networking.firewall.enable = true;
system.stateVersion = "24.05";
sdImage.firmwarePartitionOffset = 32;
};
# Configuration of individual users
nixosModules.users = {...}: {
@ -16,7 +15,7 @@
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIV9ymP4tpq11a8wfUvn8eEEwAPvZZSPZTbASLh7YxOw nvd1234@gmail.com"
];
hashedPassword = "$y$j9T$9pxQ4Zj7OirGMmgclhUb0/$YCfaYmIaaHRrkqiqdNbQSlJ7puX8bGrMCLavq6Pe1e3";
hashedPassword = "$y$j9T$MWZj8eSLcR5nrSOCemh.U/$g9PN2cQ78F8aV2ZJP5YU7xYrEZasQ70VmO5DfQLhc90";
};
users.mutableUsers = false;
};