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,14 +1,37 @@
{ ... }: { ... }:
{ {
boot.loader.grub = { boot = {
loader.grub = {
enable = true; enable = true;
device = "/dev/vda"; device = "/dev/vda";
}; };
binfmt.emulatedSystems = [
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
];
};
networking = { networking = {
hostName = "hydra"; hostName = "hydra";
firewall.enable = false; 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"; system.stateVersion = "23.05";
} }