Fediversity/services/fediversity/peertube/options.nix
2025-08-07 13:29:20 +02:00

30 lines
598 B
Nix

{ config, lib, ... }:
let
inherit (lib) mkOption;
inherit (lib.types) types;
in
{
_class = "nixos";
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?
'';
};
};
}