nixpkgs-suyu/modules/misc/deployment.nix
Eelco Dolstra 37a9ffffb0 * Provide a default hostname and deployment target equal to the
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
2010-12-14 13:36:54 +00:00

15 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.
'';
};
};
}