update cross compile
This commit is contained in:
parent
cdea1e1884
commit
a336e43565
|
|
@ -66,8 +66,7 @@
|
|||
}
|
||||
// flakeLib.mkNixosConfiguration {
|
||||
inherit inputs outputs nixpkgs vars flakeLib overlays;
|
||||
#system = "aarch64-linux";
|
||||
system = "x86_64-linux";
|
||||
system = "aarch64-linux";
|
||||
hostName = "pi0";
|
||||
}
|
||||
// flakeLib.mkNixosConfiguration {
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@
|
|||
kernelPackages = pkgs.linuxPackages_rpi4;
|
||||
kernelParams = [ "snd_bcm2835.enable_headphones=1" "snd_bcm2835.enable_hdmi=1" "gpu_mem=128" ];
|
||||
initrd.availableKernelModules = lib.mkDefault [
|
||||
"vc4"
|
||||
"bcm2835_dma"
|
||||
"vc4" "bcm2835_dma"
|
||||
"i2c_bcm2835"
|
||||
|
||||
"xhci_pci"
|
||||
|
|
@ -90,5 +89,5 @@
|
|||
};
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
#nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue