forked from fediversity/fediversity
		
	Following Fediversity/Fediversity#478 (comment), here is a PR that plugs the infra's `vmOptions` and `nixosConfigurations` outputs into flake checks, instead of calling random Nix commands from the CI. There is still a bit of magic in the CI, but that's because we don't have yet a Nix-aware CI that exposes one job per flake check. Reviewed-on: Fediversity/Fediversity#488 Reviewed-by: kiara Grouwstra <kiara@procolix.eu> Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com> Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
		
			
				
	
	
		
			22 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			476 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  _class = "nixops4Resource";
 | 
						|
 | 
						|
  fediversityVm = {
 | 
						|
    name = "test04";
 | 
						|
    isFediversityVm = true;
 | 
						|
    vmId = 7004;
 | 
						|
 | 
						|
    hostPublicKey = builtins.readFile ./ssh_host_ed25519_key.pub;
 | 
						|
    unsafeHostPrivateKey = builtins.readFile ./ssh_host_ed25519_key;
 | 
						|
 | 
						|
    domain = "abundos.eu";
 | 
						|
    ipv4 = {
 | 
						|
      address = "95.215.187.54";
 | 
						|
      gateway = "95.215.187.1";
 | 
						|
    };
 | 
						|
    ipv6 = {
 | 
						|
      address = "2a00:51c0:13:1305::54";
 | 
						|
      gateway = "2a00:51c0:13:1305::1";
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |