diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-09-12 10:34:55 +0200 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2022-09-12 18:39:54 -0400 |
commit | 5519e1b89bf02443b056fac9acf5f6d607bb622f (patch) | |
tree | 144982564ebcc2185321b0144f2bd8826f549865 /nixos/modules/services/web-apps/lemmy.xml | |
parent | fdabbea239e9bbe723df31fb93adb3fdb0bf3f9a (diff) |
nixos/lemmy: remove `services.lemmy.jwtSecretPath`
Co-authored-by: Ctem <c@ctem.me> Co-authored-by: Brian Leung <leungbk@posteo.net> Co-authored-by: Shahar Dawn Or <mightyiampresence@gmail.com> Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
Diffstat (limited to 'nixos/modules/services/web-apps/lemmy.xml')
-rw-r--r-- | nixos/modules/services/web-apps/lemmy.xml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/web-apps/lemmy.xml b/nixos/modules/services/web-apps/lemmy.xml index 0be9fb8aefa98..f04316b3c5159 100644 --- a/nixos/modules/services/web-apps/lemmy.xml +++ b/nixos/modules/services/web-apps/lemmy.xml @@ -8,22 +8,17 @@ <para> the minimum to start lemmy is </para> - <programlisting language="bash"> + <programlisting language="nix"> services.lemmy = { enable = true; settings = { hostname = "lemmy.union.rocks"; database.createLocally = true; }; - jwtSecretPath = "/run/secrets/lemmyJwt"; caddy.enable = true; } </programlisting> <para> - (note that you can use something like agenix to get your secret - jwt to the specified path) - </para> - <para> this will start the backend on port 8536 and the frontend on port 1234. It will expose your instance with a caddy reverse proxy to the hostname you’ve provided. Postgres will be initialized on that |