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