Enable localhost as buld machine for hydra

This commit is contained in:
fi 2024-11-20 05:46:39 +01:00
parent 045b6ad8e7
commit d1a9b3f082

View file

@ -1,8 +1,16 @@
{ ... }:
{
boot.loader.grub = {
enable = true;
device = "/dev/vda";
boot = {
loader.grub = {
enable = true;
device = "/dev/vda";
};
binfmt.emulatedSystems = [
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
];
};
networking = {
@ -10,5 +18,20 @@
firewall.enable = false;
};
nix = {
settings.allowed-uris = "http:// https://";
buildMachines = [
{
hostName = "localhost";
systems = [
"x86_64-linux"
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
];
}
];
};
system.stateVersion = "23.05";
}