mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
README: document how to install for raspberry pi
This commit is contained in:
parent
96f4a1aa85
commit
a3618b1902
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -36,6 +36,23 @@ This repo is managed with Nix + GNU stow
|
||||||
# profit
|
# profit
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Installation for Raspberry Pi
|
||||||
|
Raspberry Pi uses the same configuration as the installer.
|
||||||
|
The `(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")` allows this.
|
||||||
|
|
||||||
|
- Build the image `nixosConfigurations.<name>.config.system.build.sdImage`.
|
||||||
|
Disable stuff like Lix to build this.
|
||||||
|
You might want to use raw password once so you don't have agenix decryption
|
||||||
|
problem while trying to have wpa_supplicant have the right passwords.
|
||||||
|
|
||||||
|
- Burn the image to the sd card.
|
||||||
|
```bash
|
||||||
|
zstdcat result/sd-image/nixos-image-sd-card-<hash>-aarch64-linux.img.zst |
|
||||||
|
doas dd of=/dev/sdb status=progress
|
||||||
|
```
|
||||||
|
|
||||||
|
- profit
|
||||||
|
|
||||||
# Pitfalls
|
# Pitfalls
|
||||||
## `users.mutableUsers`
|
## `users.mutableUsers`
|
||||||
NEVER set this to true without declaratively setting the passwords.
|
NEVER set this to true without declaratively setting the passwords.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue