attribute name of the machine in the model. This allows networking.hostName and deployment.targetHost to be omitted for typical networks. svn path=/nixos/trunk/; revision=25125
		
			
				
	
	
		
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ config, pkgs, ... }:
 | 
						|
 | 
						|
with pkgs.lib;
 | 
						|
 | 
						|
{
 | 
						|
  options = {
 | 
						|
    deployment.targetHost = mkOption {
 | 
						|
      default = config.networking.hostName;
 | 
						|
      description = ''
 | 
						|
        This option specifies a hostname or IP address which can be used by nixos-deploy-network
 | 
						|
        to execute remote deployment operations.
 | 
						|
      '';
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |