git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #67109 from 1000101/master

trezord: add docs

commit5dcc65a25b6d117a78579f4e3dc12e1c687c72be authorMarek Mahut <marek.mahut@gmail.com> dateTue 20 Aug 2019, 22:12 (7 years ago) parentcaa1f4a8033c66
2 files changed+32
nixos/modules/services/hardware/trezord.nix+6 nixos/modules/services/hardware/trezord.xml+26
nixos/modules/services/hardware/trezord.nix+6
@@ -4,6 +4,12 @@ with lib;
44let
55 cfg = config.services.trezord;
66in {
7+
8+ ### docs
9+
10+ meta = {
11+ doc = ./trezord.xml;
12+ };
713
814 ### interface
915
nixos/modules/services/hardware/trezord.xmlnew file+26
@@ -0,0 +1,26 @@
1+<chapter xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude"
4+ version="5.0"
5+ xml:id="trezor">
6+ <title>Trezor</title>
7+ <para>
8+ Trezor is an open-source cryptocurrency hardware wallet and security token
9+ allowing secure storage of private keys.
10+ </para>
11+ <para>
12+ It offers advanced features such U2F two-factor authorization, SSH login
13+ through
14+ <link xlink:href="https://wiki.trezor.io/Apps:SSH_agent">Trezor SSH agent</link>,
15+ <link xlink:href="https://wiki.trezor.io/GPG">GPG</link> and a
16+ <link xlink:href="https://wiki.trezor.io/Trezor_Password_Manager">password manager</link>.
17+ For more information, guides and documentation, see <link xlink:href="https://wiki.trezor.io"/>.
18+ </para>
19+ <para>
20+ To enable Trezor support, add the following to your <filename>configuration.nix</filename>:
21+<programlisting>
22+<xref linkend="opt-services.trezord.enable"/> = true;
23+</programlisting>
24+ This will add all necessary udev rules and start Trezor Bridge.
25+ </para>
26+</chapter>