···11+# Lemmy {#module-services-lemmy}
22+33+Lemmy is a federated alternative to reddit in rust.
44+55+## Quickstart {#module-services-lemmy-quickstart}
66+77+the minimum to start lemmy is
88+99+```nix
1010+services.lemmy = {
1111+ enable = true;
1212+ settings = {
1313+ hostname = "lemmy.union.rocks";
1414+ database.createLocally = true;
1515+ };
1616+ jwtSecretPath = "/run/secrets/lemmyJwt";
1717+ caddy.enable = true;
1818+}
1919+```
2020+2121+(note that you can use something like agenix to get your secret jwt to the specified path)
2222+2323+this will start the backend on port 8536 and the frontend on port 1234.
2424+It will expose your instance with a caddy reverse proxy to the hostname you've provided.
2525+Postgres will be initialized on that same instance automatically.
2626+2727+## Usage {#module-services-lemmy-usage}
2828+2929+On first connection you will be asked to define an admin user.
3030+3131+## Missing {#module-services-lemmy-missing}
3232+3333+- Exposing with nginx is not implemented yet.
3434+- This has been tested using a local database with a unix socket connection. Using different database settings will likely require modifications
···11+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-services-lemmy">
22+ <title>Lemmy</title>
33+ <para>
44+ Lemmy is a federated alternative to reddit in rust.
55+ </para>
66+ <section xml:id="module-services-lemmy-quickstart">
77+ <title>Quickstart</title>
88+ <para>
99+ the minimum to start lemmy is
1010+ </para>
1111+ <programlisting language="bash">
1212+services.lemmy = {
1313+ enable = true;
1414+ settings = {
1515+ hostname = "lemmy.union.rocks";
1616+ database.createLocally = true;
1717+ };
1818+ jwtSecretPath = "/run/secrets/lemmyJwt";
1919+ caddy.enable = true;
2020+}
2121+</programlisting>
2222+ <para>
2323+ (note that you can use something like agenix to get your secret
2424+ jwt to the specified path)
2525+ </para>
2626+ <para>
2727+ this will start the backend on port 8536 and the frontend on port
2828+ 1234. It will expose your instance with a caddy reverse proxy to
2929+ the hostname you’ve provided. Postgres will be initialized on that
3030+ same instance automatically.
3131+ </para>
3232+ </section>
3333+ <section xml:id="module-services-lemmy-usage">
3434+ <title>Usage</title>
3535+ <para>
3636+ On first connection you will be asked to define an admin user.
3737+ </para>
3838+ </section>
3939+ <section xml:id="module-services-lemmy-missing">
4040+ <title>Missing</title>
4141+ <itemizedlist spacing="compact">
4242+ <listitem>
4343+ <para>
4444+ Exposing with nginx is not implemented yet.
4545+ </para>
4646+ </listitem>
4747+ <listitem>
4848+ <para>
4949+ This has been tested using a local database with a unix socket
5050+ connection. Using different database settings will likely
5151+ require modifications
5252+ </para>
5353+ </listitem>
5454+ </itemizedlist>
5555+ </section>
5656+</chapter>
+4-2
pkgs/applications/graphics/gscan2pdf/default.nix
···10101111perlPackages.buildPerlPackage rec {
1212 pname = "gscan2pdf";
1313- version = "2.12.1";
1313+ version = "2.12.3";
14141515 src = fetchurl {
1616 url = "mirror://sourceforge/gscan2pdf/${version}/${pname}-${version}.tar.xz";
1717- sha256 = "0x20wpqqw6534rn73660zdfy4c3jpg2n31py566k0x2nd6g0mhg5";
1717+ sha256 = "tdXTcoI7DnrBsXtXR0r07hz0lDcAjZJad+o4wwxHcOk=";
1818 };
19192020 nativeBuildInputs = [ wrapGAppsHook ];
···111111 # # Looks like you failed 1 test of 1.
112112 # t/169_import_scan.t ........................... Dubious, test returned 1 (wstat 256, 0x100)
113113 rm t/169_import_scan.t
114114+ # t/1604_import_multipage_DjVu.t ................ Dubious, test returned 255 (wstat 65280, 0xff00)
115115+ rm t/1604_import_multipage_DjVu.t
114116115117 # Disable a test which passes but reports an incorrect status
116118 # t/0601_Dialog_Scan.t .......................... All 14 subtests passed
···156156 sha256 = "0qc62di5823r7ly2lxkclzj9rhg2z7ms81igz44nv0fzv3dszdab";
157157 })
158158159159- # These fix Firefox on sway and other non-Gnome wayland WMs. They should be
160160- # removed whenever the following two patches make it onto a release:
161161- # 1. https://hg.mozilla.org/mozilla-central/rev/51c13987d1b8
162162- # 2. https://hg.mozilla.org/integration/autoland/rev/3b856ecc00e4
163163- # This will probably happen in the next point release, but let's be careful
164164- # and double check whether it's working on sway on the next v bump.
165165- ++ lib.optionals (lib.versionAtLeast version "92") [
166166- (fetchpatch {
167167- url = "https://hg.mozilla.org/integration/autoland/raw-rev/3b856ecc00e4";
168168- sha256 = "sha256-d8IRJD6ELC3ZgEs1ES/gy2kTNu/ivoUkUNGMEUoq8r8=";
169169- })
170170- (fetchpatch {
171171- url = "https://hg.mozilla.org/mozilla-central/raw-rev/51c13987d1b8";
172172- sha256 = "sha256-C2jcoWLuxW0Ic+Mbh3UpEzxTKZInljqVdcuA9WjspoA=";
173173- })
174174- ]
175175-176159 ++ patches;
177160178161···265248 # this will run autoconf213
266249 configureScript="$(realpath ./mach) configure"
267250 export MOZCONFIG=$(pwd)/mozconfig
251251+ export MOZBUILD_STATE_PATH=$(pwd)/mozbuild
268252269253 # Set C flags for Rust's bindgen program. Unlike ordinary C
270254 # compilation, bindgen does not invoke $CC directly. Instead it