Fediversity/services/fediversity/peertube/options.nix

29 lines
582 B
Nix
Raw Normal View History

2025-02-14 18:44:35 +01:00
{ config, lib, ... }:
let
2025-02-14 19:21:31 +01:00
inherit (lib) mkOption;
2025-02-14 18:44:35 +01:00
inherit (lib.types) types;
in
{
2025-02-14 19:21:31 +01:00
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?
'';
};
2025-02-14 18:44:35 +01:00
};
}