ghatanothoa: Neues Jitsi #17
2 changed files with 24 additions and 0 deletions
|
@ -3,6 +3,7 @@ flake-inputs:
|
|||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
(import ./jitsi.nix flake-inputs)
|
||||
nerf marked this conversation as resolved
Outdated
|
||||
../../roles
|
||||
./network.nix
|
||||
];
|
||||
|
|
23
nixos/machines/ghatanothoa/jitsi.nix
Normal file
23
nixos/machines/ghatanothoa/jitsi.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
flake-inputs:
|
||||
nerf marked this conversation as resolved
Outdated
nerf
commented
We never use this input, so why not scratch it We never use this input, so why not scratch it
|
||||
{pkgs, config, lib, modulesPath, ...}: {
|
||||
imports = [(modulesPath + "/services/web-apps/jitsi-meet.nix")];
|
||||
|
||||
services.jitsi-meet = {
|
||||
enable = true;
|
||||
hostName = "meet.mathebau.de";
|
||||
config = {
|
||||
defaultLang = "de";
|
||||
};
|
||||
};
|
||||
services.jitsi-videobridge = {
|
||||
openFirewall = true;
|
||||
nat = {
|
||||
publicAddress = "130.83.2.184";
|
||||
localAddress = "192.168.0.25";
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."meet.mathebau.de".enableACME = false;
|
||||
services.nginx.virtualHosts."meet.mathebau.de".forceSSL = false;
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedUDPPorts = [ 10000 ];
|
||||
nerf marked this conversation as resolved
Outdated
nerf
commented
isn't this handled by isn't this handled by `services.jitsi-videobridge.openFirewall = true;` If it is, I would not want to have that again explicitly. (or at least a comment why we want to set it explicitly again). (Or maybe I'm wrong)
|
||||
}
|
Loading…
Reference in a new issue
jitsi.nix does not use flake-inputs ever, why not scratch that parameter from the module and don't apply it here