test
This commit is contained in:
parent
829dfdd6f7
commit
9eb8be1793
2 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
# nix build .#nixosConfigurations.nixos-rpi4-img.config.system.build.sdImage
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
nixpkgs.buildPlatform.system = "x86_64-linux";
|
||||
nixpkgs.crossSystem.system = "armv7l-linux";
|
||||
networking.hostName = "nixos-rpi4-img";
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
|
@ -8,7 +8,10 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
|
||||
# For cross-architecture builds
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"aarch64-linux"
|
||||
"armv7l-linux"
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/ROOT";
|
||||
|
|
Loading…
Reference in a new issue