mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -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
|
||||
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,
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ in rec {
|
|||
hostname = name;
|
||||
system = "aarch64-linux";
|
||||
})
|
||||
else mkSystem {hostname=name;})
|
||||
else mkSystem {hostname = name;})
|
||||
(readDir dir);
|
||||
|
||||
findModules = modulesPath: listToAttrs (findModulesList modulesPath);
|
||||
|
|
Loading…
Reference in a new issue