17 lines
		
	
	
		
			431 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			431 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
let
 | 
						|
  nixos-version = "20.09";
 | 
						|
 | 
						|
  hosts = import ./lib/hosts.nix { inherit nixos-version; };
 | 
						|
  russell-host = ip: hostname: profile:
 | 
						|
    let
 | 
						|
      site = "russell";
 | 
						|
      domain = "rus.selby.ca";
 | 
						|
    in hosts.host-config ip { inherit hostname profile domain site; };
 | 
						|
 | 
						|
in {
 | 
						|
  network.description = "Russell home network.";
 | 
						|
 | 
						|
  clunk = russell-host "10.0.0.1" "clunk" "server";
 | 
						|
  plato = russell-host "10.0.0.102" "plato" "server";
 | 
						|
}
 |