1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/modules/misc/deployment.nix

24 lines
582 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
with pkgs.lib;
{
options = {
deployment = mkOption {
description = ''
This option captures various custom attributes related to the configuration of the system, which
are not directly used for building a system configuration. Usually these attributes
are used by external tooling, such as the nixos-deploy-network tool or the Disnix Avahi
publisher.
'';
default = {};
example = {
description = "My production machine";
hostname = "my.test.org";
country = "NL";
};
};
};
}