diff options
author | Cleeyv <cleeyv@riseup.net> | 2021-10-15 11:00:24 -0700 |
---|---|---|
committer | tomberek <tomberek@users.noreply.github.com> | 2021-10-25 20:46:24 -0400 |
commit | 29f4cb4b0accf703f042bd3f5a54dd4225ae20c1 (patch) | |
tree | 85100317efab6798ba7d196f913dbb8efd0289ed /nixos/modules/services/networking | |
parent | 917c5fae70f9d8ec43653e5a6e3ea764ce7bd2c8 (diff) | |
download | nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.tar nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.tar.gz nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.tar.bz2 nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.tar.lz nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.tar.xz nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.tar.zst nixpkgs-29f4cb4b0accf703f042bd3f5a54dd4225ae20c1.zip |
nixos/jibri: add nixos test
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r-- | nixos/modules/services/networking/jibri/default.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/jibri/default.nix b/nixos/modules/services/networking/jibri/default.nix index 4aa60e31052..96832b0eb55 100644 --- a/nixos/modules/services/networking/jibri/default.nix +++ b/nixos/modules/services/networking/jibri/default.nix @@ -67,7 +67,10 @@ let "--enabled" "--disable-infobars" "--autoplay-policy=no-user-gesture-required" - ]; + ] + ++ lists.optional cfg.ignoreCert + "--ignore-certificate-errors"; + stats.enable-stats-d = true; webhook.subscribers = [ ]; @@ -138,6 +141,16 @@ in ''; }; + ignoreCert = mkOption { + type = bool; + default = false; + example = true; + description = '' + Whether to enable the flag "--ignore-certificate-errors" for the Chromium browser opened by Jibri. + Intended for use in automated tests or anywhere else where using a verified cert for Jitsi-Meet is not possible. + ''; + }; + xmppEnvironments = mkOption { description = '' XMPP servers to connect to. |