Remote Build test

This commit is contained in:
iFargle 2023-10-07 17:47:18 +09:00
parent 85a5b1a0ec
commit fc62ec49d4
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{ {
nix.trustedUsers = [ "albert" ]; nix.trusted-users = [ "albert" ];
nix.buildMachines = [ nix.buildMachines = [
{ {
hostName = "nixos-vm-01"; # Only availalbe on the Headscale network hostName = "nixos-vm-01"; # Only availalbe on the Headscale network

View file

@ -7,6 +7,9 @@
boot.kernelModules = [ ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# Testing remote builldings
users.users.root.openssh.authorizedKeys.keyFiles = [ ../../../ssh/keys/builder-keys.txt ];
# For cross-architecture builds # For cross-architecture builds
boot.binfmt.emulatedSystems = [ boot.binfmt.emulatedSystems = [
"aarch64-linux" "aarch64-linux"