abstract away architectures

This commit is contained in:
Reid 2025-12-31 22:36:01 -08:00
parent 8ebf7b68df
commit 9414398f68
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
8 changed files with 80 additions and 33 deletions

View file

@ -25,7 +25,7 @@
# needed for initial framebuffer logs to appear on raspberry pi
# i think. this fixes it but idk if they are all required
boot.kernelParams = [
boot.kernelParams = [
"8250.nr_uarts=1"
"cma=128M"
"console=tty0"
@ -44,6 +44,4 @@
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.end0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
}

View file

@ -0,0 +1,3 @@
{
system = "aarch64-linux";
}