diff --git a/hosts/nixedo/configuration.nix b/hosts/nixedo/configuration.nix index c37d83bd..d55a2224 100644 --- a/hosts/nixedo/configuration.nix +++ b/hosts/nixedo/configuration.nix @@ -19,11 +19,6 @@ ../../users/opdavies.nix ]; - # TODO: why didn't it work when adding this to jitsi.nix? - nixpkgs.config.permittedInsecurePackages = [ - "jitsi-meet-1.0.8043" - ]; - services.logind.lidSwitchExternalPower = "ignore"; boot.loader = { diff --git a/hosts/nixedo/homelab.nix b/hosts/nixedo/homelab.nix index 5e747cc9..e752e874 100644 --- a/hosts/nixedo/homelab.nix +++ b/hosts/nixedo/homelab.nix @@ -10,7 +10,6 @@ audiobookshelf.enable = true; home-assistant.enable = true; homepage-dashboard.enable = true; - jitsi.enable = true; paperless.enable = true; peertube.enable = true; tubearchivist.enable = true; diff --git a/hosts/nixedo/modules/default.nix b/hosts/nixedo/modules/default.nix index 20a9d6cf..aaef0087 100644 --- a/hosts/nixedo/modules/default.nix +++ b/hosts/nixedo/modules/default.nix @@ -26,7 +26,6 @@ with lib; ./home-assistant.nix ./immich.nix ./jellyfin.nix - ./jitsi.nix ./nginx ./paperless.nix ./peertube.nix diff --git a/hosts/nixedo/modules/jitsi.nix b/hosts/nixedo/modules/jitsi.nix deleted file mode 100644 index fbe216e3..00000000 --- a/hosts/nixedo/modules/jitsi.nix +++ /dev/null @@ -1,41 +0,0 @@ -{ config, lib, ... }: - -let - cfg = config.homelab.services.${service}; - homelab = config.homelab; - service = "jitsi"; - - inherit (lib) mkEnableOption mkOption types; -in -{ - options.homelab.services.${service} = { - enable = mkEnableOption "Enable ${service}"; - - url = mkOption { - default = "meet.${homelab.domain}"; - type = types.str; - }; - }; - - config = lib.mkIf cfg.enable { - services = { - jitsi-meet = { - enable = false; - - hostName = cfg.url; - - secureDomain.enable = true; - }; - - nginx.virtualHosts.${cfg.url} = { - enableACME = false; - forceSSL = false; - }; - - cloudflared.tunnels.${homelab.cloudflared.tunnelId}.ingress = { - # TODO: is this the correct port? - ${cfg.url} = "http://localhost:5280"; - }; - }; - }; -}