lemmy
Lemmy is an ActivityPub alternative to Reddit
Declared in: projects/lemmy/default.nix
Demo
Implement missing demoOptions
services.lemmy
-
File which contains the value of
setup.admin_password.- Type:
null or absolute path- Default:
null- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Whether to enable exposing lemmy with the caddy reverse proxy.
- Type:
boolean- Default:
false- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Whether to enable creation of database on the instance.
- Type:
boolean- Default:
false- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
The connection URI to use. Takes priority over the configuration file if set.
- Type:
null or string- Default:
null- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
File which contains the database uri.
- Type:
null or absolute path- Default:
null- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Whether to enable lemmy a federated alternative to reddit in rust.
- Type:
boolean- Default:
false- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Whether to enable exposing lemmy with the nginx reverse proxy.
- Type:
boolean- Default:
false- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
File which contains the value of
pictrs.api_key.- Type:
null or absolute path- Default:
null- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
The lemmy-server package to use.
- Type:
package- Default:
pkgs.lemmy-server- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Lemmy configuration
- Type:
open submodule of (JSON value)- Default:
{ }- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
The difficultly of the captcha to solve.
- Type:
one of "easy", "medium", "hard"- Default:
"medium"- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Enable Captcha.
- Type:
boolean- Default:
true- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
The domain name of your instance (eg 'lemmy.ml').
- Type:
string- Default:
null- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Port where lemmy should listen for incoming requests.
- Type:
16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default:
8536- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
File which contains the value of
email.smtp_password.- Type:
null or absolute path- Default:
null- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
The lemmy-ui package to use.
- Type:
package- Default:
pkgs.lemmy-ui- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
-
Port where lemmy-ui should listen for incoming requests.
- Type:
16 bit unsigned integer; between 0 and 65535 (both inclusive)- Default:
1234- Declared in:
- nixos/modules/services/web-apps/lemmy.nix
services.lemmy.adminPasswordFile
services.lemmy.caddy.enable
services.lemmy.database.createLocally
services.lemmy.database.uri
services.lemmy.database.uriFile
services.lemmy.enable
services.lemmy.nginx.enable
services.lemmy.pictrsApiKeyFile
services.lemmy.server.package
services.lemmy.settings
services.lemmy.settings.captcha.difficulty
services.lemmy.settings.captcha.enabled
services.lemmy.settings.hostname
services.lemmy.settings.port
services.lemmy.smtpPasswordFile
services.lemmy.ui.package
services.lemmy.ui.port
Examples
Enable lemmy
{ ... }: { services.lemmy = { enable = true; ui.port = 3000; database.createLocally = true; settings = { hostname = "http://nixlemmy.com"; port = 8000; setup = { admin_username = "admin"; site_name = "Nix is Awesome Lemmy"; admin_email = "lemmyadmin@example.com"; }; }; adminPasswordFile = "/etc/lemmy-admin-password.txt"; nginx.enable = true; }; }
Declared in: projects/lemmy/services/lemmy/examples/basic.nix
Metadata
This project is funded by NLnet through these subgrants:
- Core
- Lemmy-Scale
- Entrust
- Lemmy-PrivateCommunities
- Review
- Lemmy
- LemmyFed-AP
Related links: