From b3c4444c26680683e839a8baf6ab67c25ab77f47 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Fri, 10 Dec 2010 15:39:41 +0000 Subject: [PATCH] The targetHost property defaults to the hostName of the system if not defined svn path=/nixos/trunk/; revision=25057 --- modules/misc/deployment.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/misc/deployment.nix b/modules/misc/deployment.nix index 2e0d9d2d082..eead0f40bec 100644 --- a/modules/misc/deployment.nix +++ b/modules/misc/deployment.nix @@ -7,6 +7,7 @@ with pkgs.lib; 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.