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
28 lines
577 B
Nix
28 lines
577 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
inherit (lib) mkOption;
|
|
inherit (lib.types) types;
|
|
|
|
in
|
|
{
|
|
options.fediversity.peertube =
|
|
(import ../sharedOptions.nix {
|
|
inherit config lib;
|
|
serviceName = "peertube";
|
|
serviceDocName = "PeerTube";
|
|
})
|
|
//
|
|
|
|
{
|
|
secretsFile = mkOption {
|
|
type = types.path;
|
|
description = ''
|
|
Internal option — change at your own risk
|
|
|
|
FIXME: should it be provided by TF?
|
|
or maybe we should just ask for a main secret from which to derive all the others?
|
|
'';
|
|
};
|
|
};
|
|
}
|