diff --git a/hosts/hydra/configuration.nix b/hosts/hydra/configuration.nix index 6e602ac..5596bb5 100644 --- a/hosts/hydra/configuration.nix +++ b/hosts/hydra/configuration.nix @@ -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"; }