Set up Haven as a distributed build target for aarch64
This commit is contained in:
parent
648c34c027
commit
655d909416
|
@ -59,12 +59,17 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable mdadm and Sapana (RAID 5 primary storage)
|
boot = {
|
||||||
boot.swraid = {
|
# Enable mdadm for Sapana (RAID 5 primary storage)
|
||||||
|
swraid = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# mdadmConf configured in nix-secrets
|
# mdadmConf configured in nix-secrets
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Allow Haven to be a build target for other architectures (mainly ARM64)
|
||||||
|
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
};
|
||||||
|
|
||||||
# Open port for OpenVPN
|
# Open port for OpenVPN
|
||||||
networking.firewall.allowedUDPPorts = [ 1194 ];
|
networking.firewall.allowedUDPPorts = [ 1194 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue