mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-25 08:30:45 -06:00
WIP
This commit is contained in:
parent
d5d89947d0
commit
f896349d13
3 changed files with 11 additions and 5 deletions
|
@ -11,3 +11,5 @@ Downloaded pre-built image and wrote to microSD:
|
||||||
```sh
|
```sh
|
||||||
dd if=./nixos-sd-image-24.05pre579329.e92b60158819-aarch64-linux.img of=/dev/sdb status=progress
|
dd if=./nixos-sd-image-24.05pre579329.e92b60158819-aarch64-linux.img of=/dev/sdb status=progress
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- https://myme.no/posts/2022-12-01-nixos-on-raspberrypi.html -->
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
|
nixpkgs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
languages = {
|
imports = [
|
||||||
python = true;
|
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
||||||
};
|
];
|
||||||
cli.enable = true;
|
|
||||||
|
|
||||||
|
system = {
|
||||||
|
# Disable zstd compression
|
||||||
|
build.sdImage.compressImage = false;
|
||||||
|
};
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue