diff --git a/systems/orangepihole/configuration.nix b/systems/orangepihole/configuration.nix index 469ba30..2ec8d0d 100644 --- a/systems/orangepihole/configuration.nix +++ b/systems/orangepihole/configuration.nix @@ -82,11 +82,19 @@ system.stateVersion = "23.11"; # Did you read the comment? system.autoUpgrade.allowReboot = false; - + nix.buildMachines = [ { + hostName = "zeus"; + systems = [ "x86_64-linux" "aarch64-linux" ]; + protocol = "ssh-ng"; + sshKey = "/root/.ssh/nixremote"; + sshUser = "nixremote"; + supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; + }]; + nix.distributedBuilds = true; + nix.extraOptions = "builders-use-substitutes = true"; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.gc.automatic = true; nix.gc.options = "--delete-older-than 7d"; nix.optimise.automatic = true; - }