forked from Fediversity/Fediversity
pass in description fix syntax configure proxmox provider typo add doc comment in existing modules add comment allow insecure proxmox connection for use in dev wip proxmox progress use service configurations moved to machine-independent location wire settings directly without option block terraform adjust cwd try tf on null input update .envrc.sample with sample proxmox credentials
29 lines
572 B
Nix
29 lines
572 B
Nix
# nix options expected to be set from TF here
|
|
# TODO: could (part of) this be generated somehow? c.f #275
|
|
{
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) types mkOption;
|
|
inherit (types) str enum;
|
|
in
|
|
{
|
|
options.terraform = {
|
|
domain = mkOption {
|
|
type = enum [
|
|
"fediversity.net"
|
|
];
|
|
description = ''
|
|
Apex domain under which the services will be deployed.
|
|
'';
|
|
default = "fediversity.net";
|
|
};
|
|
hostname = mkOption {
|
|
type = str;
|
|
description = ''
|
|
Internal name of the host, e.g. test01
|
|
'';
|
|
};
|
|
};
|
|
}
|