forked from Fediversity/Fediversity
28 lines
582 B
Nix
28 lines
582 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 NixOps4?
|
|
or maybe we should just ask for a main secret from which to derive all the others?
|
|
'';
|
|
};
|
|
};
|
|
}
|