added aarch64-linux emulation to Anton
This commit is contained in:
		
							parent
							
								
									5f980fc193
								
							
						
					
					
						commit
						1b94cf91f4
					
				
					 2 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -4,7 +4,7 @@
 | 
				
			||||||
	nix.buildMachines = [ {
 | 
						nix.buildMachines = [ {
 | 
				
			||||||
	  hostName = "Anton";
 | 
						  hostName = "Anton";
 | 
				
			||||||
    sshUser = "builder";
 | 
					    sshUser = "builder";
 | 
				
			||||||
	  system = "x86_64-linux";
 | 
						  systems = [ "x86_64-linux" "aarch64-linux" ];
 | 
				
			||||||
    protocol = "ssh";
 | 
					    protocol = "ssh";
 | 
				
			||||||
	  # if the builder supports building for multiple architectures, 
 | 
						  # if the builder supports building for multiple architectures, 
 | 
				
			||||||
	  # replace the previous line by, e.g.
 | 
						  # replace the previous line by, e.g.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
{ ... }:
 | 
					{ config, ... }:
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  users.users.builder = {
 | 
					  users.users.builder = {
 | 
				
			||||||
    group = "builder";
 | 
					    group = "builder";
 | 
				
			||||||
| 
						 | 
					@ -8,4 +8,7 @@
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
  users.groups.builder = { };
 | 
					  users.groups.builder = { };
 | 
				
			||||||
  nix.settings.trusted-users = [ "builder" "willifan" ];
 | 
					  nix.settings.trusted-users = [ "builder" "willifan" ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
 | 
				
			||||||
 | 
					  nix.settings.extra-platforms = config.boot.binfmt.emulatedSystems;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue