diff --git a/nixos/modules/services/web-apps/lemmy.nix b/nixos/modules/services/web-apps/lemmy.nix index 97be4a96f219..383aa7f5aeb7 100644 --- a/nixos/modules/services/web-apps/lemmy.nix +++ b/nixos/modules/services/web-apps/lemmy.nix @@ -49,7 +49,7 @@ in }; options.federation = { - enabled = mkEnableOption (lib.mdDoc "activitypub federation"); + enabled = (mkEnableOption (lib.mdDoc "activitypub federation")) // { visible = false; }; }; options.captcha = { @@ -71,6 +71,10 @@ in config = lib.mkIf cfg.enable { + warnings = lib.optional (cfg.settings.federation.enabled) '' + This option was removed in 0.17.0 and no longer has any effect. + ''; + services.lemmy.settings = (mapAttrs (name: mkDefault) { bind = "127.0.0.1";