1
0
Fork 0

Set up Haven as a distributed build target for aarch64

This commit is contained in:
Aires 2024-05-14 11:46:49 -04:00
parent 648c34c027
commit 655d909416

View file

@ -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 ];