Enable localhost as buld machine for hydra

This commit is contained in:
yuri 2023-07-24 01:48:40 +02:00
parent 2f7620458b
commit bd159f7535

View file

@ -1,8 +1,16 @@
{ ... }: { ... }:
{ {
boot.loader.grub = { boot = {
enable = true; loader.grub = {
device = "/dev/vda"; enable = true;
device = "/dev/vda";
};
binfmt.emulatedSystems = [
"armv6l-linux"
"armv7l-linux"
"aarch64-linux"
];
}; };
networking = { networking = {
@ -10,5 +18,20 @@
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";
} }