forked from Fediversity/Fediversity
28 lines
526 B
Nix
28 lines
526 B
Nix
# 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
|
|
'';
|
|
};
|
|
};
|
|
}
|