mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Finish migration to NixOS modules
This commit is contained in:
parent
aef5eabce5
commit
d944e36197
21 changed files with 1071 additions and 1151 deletions
|
|
@ -1,8 +1,14 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
services.jitsi-meet = {
|
||||
enable = true;
|
||||
hostName = "jitsi.froidmont.org";
|
||||
interfaceConfig = { RECENT_LIST_ENABLED = false; };
|
||||
{ pkgs, config, lib, ... }:
|
||||
let cfg = config.custom.services.jitsi;
|
||||
in {
|
||||
options.custom.services.jitsi = { enable = lib.mkEnableOption "jitsi"; };
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.jitsi-meet = {
|
||||
enable = true;
|
||||
hostName = "jitsi.froidmont.org";
|
||||
interfaceConfig = { RECENT_LIST_ENABLED = false; };
|
||||
};
|
||||
services.jitsi-videobridge.openFirewall = true;
|
||||
};
|
||||
services.jitsi-videobridge.openFirewall = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue