nixpkgs/modules/misc/deployment.nix
Sander van der Burg b3c4444c26 The targetHost property defaults to the hostName of the system if not defined
svn path=/nixos/trunk/; revision=25057
2010-12-10 15:39:41 +00:00

18 lines
355 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.
'';
};
};
};
}