···3333 };
34343535 meta = {
3636+ # Don't edit the docbook xml directly, edit the md and generate it:
3737+ # `pandoc doc.md -t docbook --top-level-division=chapter --extract-media=media -f markdown-smart > doc.xml`
3638 doc = ./doc.xml;
3739 maintainers = with lib.maintainers; [ vidbina ];
3840 };
+47
nixos/modules/programs/digitalbitbox/doc.md
···11+# Digital Bitbox {#module-programs-digitalbitbox}
22+33+Digital Bitbox is a hardware wallet and second-factor authenticator.
44+55+The `digitalbitbox` programs module may be installed by setting
66+`programs.digitalbitbox` to `true` in a manner similar to
77+```
88+programs.digitalbitbox.enable = true;
99+```
1010+and bundles the `digitalbitbox` package (see [](#sec-digitalbitbox-package)),
1111+which contains the `dbb-app` and `dbb-cli` binaries, along with the hardware
1212+module (see [](#sec-digitalbitbox-hardware-module)) which sets up the necessary
1313+udev rules to access the device.
1414+1515+Enabling the digitalbitbox module is pretty much the easiest way to get a
1616+Digital Bitbox device working on your system.
1717+1818+For more information, see <https://digitalbitbox.com/start_linux>.
1919+2020+## Package {#sec-digitalbitbox-package}
2121+2222+The binaries, `dbb-app` (a GUI tool) and `dbb-cli` (a CLI tool), are available
2323+through the `digitalbitbox` package which could be installed as follows:
2424+```
2525+environment.systemPackages = [
2626+ pkgs.digitalbitbox
2727+];
2828+```
2929+3030+## Hardware {#sec-digitalbitbox-hardware-module}
3131+3232+The digitalbitbox hardware package enables the udev rules for Digital Bitbox
3333+devices and may be installed as follows:
3434+```
3535+hardware.digitalbitbox.enable = true;
3636+```
3737+3838+In order to alter the udev rules, one may provide different values for the
3939+`udevRule51` and `udevRule52` attributes by means of overriding as follows:
4040+```
4141+programs.digitalbitbox = {
4242+ enable = true;
4343+ package = pkgs.digitalbitbox.override {
4444+ udevRule51 = "something else";
4545+ };
4646+};
4747+```
+52-58
nixos/modules/programs/digitalbitbox/doc.xml
···11-<chapter xmlns="http://docbook.org/ns/docbook"
22- xmlns:xlink="http://www.w3.org/1999/xlink"
33- xmlns:xi="http://www.w3.org/2001/XInclude"
44- version="5.0"
55- xml:id="module-programs-digitalbitbox">
66- <title>Digital Bitbox</title>
77- <para>
88- Digital Bitbox is a hardware wallet and second-factor authenticator.
99- </para>
1010- <para>
1111- The <literal>digitalbitbox</literal> programs module may be installed by
1212- setting <literal>programs.digitalbitbox</literal> to <literal>true</literal>
1313- in a manner similar to
1414-<programlisting>
11+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="module-programs-digitalbitbox">
22+ <title>Digital Bitbox</title>
33+ <para>
44+ Digital Bitbox is a hardware wallet and second-factor authenticator.
55+ </para>
66+ <para>
77+ The <literal>digitalbitbox</literal> programs module may be
88+ installed by setting <literal>programs.digitalbitbox</literal> to
99+ <literal>true</literal> in a manner similar to
1010+ </para>
1111+ <programlisting>
1512programs.digitalbitbox.enable = true;
1613</programlisting>
1717- and bundles the <literal>digitalbitbox</literal> package (see
1818- <xref
1919- linkend="sec-digitalbitbox-package" />), which contains the
2020- <literal>dbb-app</literal> and <literal>dbb-cli</literal> binaries, along
2121- with the hardware module (see
2222- <xref
2323- linkend="sec-digitalbitbox-hardware-module" />) which sets up the
2424- necessary udev rules to access the device.
2525- </para>
2626- <para>
2727- Enabling the digitalbitbox module is pretty much the easiest way to get a
2828- Digital Bitbox device working on your system.
2929- </para>
3030- <para>
3131- For more information, see
3232- <link xlink:href="https://digitalbitbox.com/start_linux" />.
3333- </para>
3434- <section xml:id="sec-digitalbitbox-package">
3535- <title>Package</title>
3636-3714 <para>
3838- The binaries, <literal>dbb-app</literal> (a GUI tool) and
3939- <literal>dbb-cli</literal> (a CLI tool), are available through the
4040- <literal>digitalbitbox</literal> package which could be installed as
4141- follows:
4242-<programlisting>
1515+ and bundles the <literal>digitalbitbox</literal> package (see
1616+ <xref linkend="sec-digitalbitbox-package"></xref>), which contains
1717+ the <literal>dbb-app</literal> and <literal>dbb-cli</literal>
1818+ binaries, along with the hardware module (see
1919+ <xref linkend="sec-digitalbitbox-hardware-module"></xref>) which
2020+ sets up the necessary udev rules to access the device.
2121+ </para>
2222+ <para>
2323+ Enabling the digitalbitbox module is pretty much the easiest way to
2424+ get a Digital Bitbox device working on your system.
2525+ </para>
2626+ <para>
2727+ For more information, see
2828+ <link xlink:href="https://digitalbitbox.com/start_linux" role="uri">https://digitalbitbox.com/start_linux</link>.
2929+ </para>
3030+ <section xml:id="sec-digitalbitbox-package">
3131+ <title>Package</title>
3232+ <para>
3333+ The binaries, <literal>dbb-app</literal> (a GUI tool) and
3434+ <literal>dbb-cli</literal> (a CLI tool), are available through the
3535+ <literal>digitalbitbox</literal> package which could be installed
3636+ as follows:
3737+ </para>
3838+ <programlisting>
4339environment.systemPackages = [
4440 pkgs.digitalbitbox
4541];
4642</programlisting>
4747- </para>
4848- </section>
4949- <section xml:id="sec-digitalbitbox-hardware-module">
5050- <title>Hardware</title>
5151-5252- <para>
5353- The digitalbitbox hardware package enables the udev rules for Digital Bitbox
5454- devices and may be installed as follows:
5555-<programlisting>
4343+ </section>
4444+ <section xml:id="sec-digitalbitbox-hardware-module">
4545+ <title>Hardware</title>
4646+ <para>
4747+ The digitalbitbox hardware package enables the udev rules for
4848+ Digital Bitbox devices and may be installed as follows:
4949+ </para>
5050+ <programlisting>
5651hardware.digitalbitbox.enable = true;
5752</programlisting>
5858- </para>
5959-6060- <para>
6161- In order to alter the udev rules, one may provide different values for the
6262- <literal>udevRule51</literal> and <literal>udevRule52</literal> attributes
6363- by means of overriding as follows:
6464-<programlisting>
5353+ <para>
5454+ In order to alter the udev rules, one may provide different values
5555+ for the <literal>udevRule51</literal> and
5656+ <literal>udevRule52</literal> attributes by means of overriding as
5757+ follows:
5858+ </para>
5959+ <programlisting>
6560programs.digitalbitbox = {
6661 enable = true;
6762 package = pkgs.digitalbitbox.override {
6868- udevRule51 = "something else";
6363+ udevRule51 = "something else";
6964 };
7065};
7166</programlisting>
7272- </para>
7373- </section>
6767+ </section>
7468</chapter>