Compare commits
4 Commits
2776098b8c
...
d6d923f422
Author | SHA1 | Date |
---|---|---|
Nathan van Doorn | d6d923f422 | |
Nathan van Doorn | 41426c6874 | |
Nathan van Doorn | 1ec4a70c1c | |
Nathan van Doorn | c99b72af18 |
11
README.md
11
README.md
|
@ -11,7 +11,7 @@ MicroSD card as boot and OS.
|
|||
|
||||
### Zeroth milestone
|
||||
|
||||
- [ ] SSH daemon
|
||||
- [X] SSH daemon
|
||||
- [ ] User who can act as a local admin
|
||||
|
||||
### First milestone
|
||||
|
@ -34,13 +34,22 @@ 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
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
networking.hostName = "chopper";
|
||||
networking.firewall.enable = true;
|
||||
system.stateVersion = "24.05";
|
||||
sdImage.firmwarePartitionOffset = 32;
|
||||
};
|
||||
# Configuration of individual users
|
||||
nixosModules.users = {...}: {
|
||||
|
@ -15,7 +16,7 @@
|
|||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIV9ymP4tpq11a8wfUvn8eEEwAPvZZSPZTbASLh7YxOw nvd1234@gmail.com"
|
||||
];
|
||||
hashedPassword = "$y$j9T$MWZj8eSLcR5nrSOCemh.U/$g9PN2cQ78F8aV2ZJP5YU7xYrEZasQ70VmO5DfQLhc90";
|
||||
hashedPassword = "$y$j9T$9pxQ4Zj7OirGMmgclhUb0/$YCfaYmIaaHRrkqiqdNbQSlJ7puX8bGrMCLavq6Pe1e3";
|
||||
};
|
||||
users.mutableUsers = false;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue