My personal NUR repository
I copied packages and modules from this
PR with the
rip-jitsi-meet-modules.sh
in this repo. At the time of writing this, it
depends on some changes to the prosody
module in nixpkgs-unstable
.
With niv:
niv add -n kollochNurPackages kolloch-nur-packages
{ config, pkgs, lib, ... }:
{
imports =
let sources = import ../nix/sources.nix;
kollochNurPackages = import sources.kollochNurPackages {};
kollochModules = kollochNurPackages.modules;
in
[
# ...
kollochModules.jitsi
];
# ...
}
Or look at the NUR documentation.
{ config, pkgs, lib, ... }:
{
# ...
services.jitsi-videobridge.openFirewall = true;
services.jitsi-meet = {
hostName = "meet.yourdomain.toplevel";
enable = true;
nginx.enable = true;
jicofo.enable = true;
videobridge.enable = true;
prosody.enable = true;
config = {
# Allow access from mobile without app.
disableDeepLinking = true;
};
interfaceConfig = {
APP_NAME = "Yor App Name";
SHOW_JITSI_WATERMARK = false;
SHOW_WATERMARK_FOR_GUESTS = false;
MOBILE_APP_PROMO = false;
DEFAULT_REMOTE_DISPLAY_NAME = "Fellow Mushroom";
};
};
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
virtualHosts = {
"${config.services.jitsi-meet.hostName}" = {
# permanent redirect from http to https
forceSSL = config.security.acme.acceptTerms;
# Use automatic let's encrypt certificate
enableACME = config.security.acme.acceptTerms;
};
};
};
}
See inline docs in rerun-fixed.nix.
nur.repos.kolloch.lib.runTest
exposes nix-test-runner
runTest.
Docs are at the nix-test-runner repository.