This commit is contained in:
Daylin Morgan 2024-02-05 13:48:12 -06:00
parent d5d89947d0
commit f896349d13
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
3 changed files with 11 additions and 5 deletions

View file

@ -11,3 +11,5 @@ Downloaded pre-built image and wrote to microSD:
```sh
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 -->

View file

@ -1,12 +1,16 @@
{
inputs,
nixpkgs,
pkgs,
...
}: {
languages = {
python = true;
};
cli.enable = true;
imports = [
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
];
system = {
# Disable zstd compression
build.sdImage.compressImage = false;
};
security.sudo.wheelNeedsPassword = false;
}