Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: caa1f4ab632b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5dcc65a25b6d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Aug 20, 2019

  1. trezord: add docs

    Jan Hrnko committed Aug 20, 2019
    Copy the full SHA
    8033c66 View commit details
  2. Merge pull request #67109 from 1000101/master

    trezord: add docs
    mmahut authored Aug 20, 2019
    Copy the full SHA
    5dcc65a View commit details
Showing with 32 additions and 0 deletions.
  1. +6 −0 nixos/modules/services/hardware/trezord.nix
  2. +26 −0 nixos/modules/services/hardware/trezord.xml
6 changes: 6 additions & 0 deletions nixos/modules/services/hardware/trezord.nix
Original file line number Diff line number Diff line change
@@ -4,6 +4,12 @@ with lib;
let
cfg = config.services.trezord;
in {

### docs

meta = {
doc = ./trezord.xml;
};

### interface

26 changes: 26 additions & 0 deletions nixos/modules/services/hardware/trezord.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<chapter xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="trezor">
<title>Trezor</title>
<para>
Trezor is an open-source cryptocurrency hardware wallet and security token
allowing secure storage of private keys.
</para>
<para>
It offers advanced features such U2F two-factor authorization, SSH login
through
<link xlink:href="https://wiki.trezor.io/Apps:SSH_agent">Trezor SSH agent</link>,
<link xlink:href="https://wiki.trezor.io/GPG">GPG</link> and a
<link xlink:href="https://wiki.trezor.io/Trezor_Password_Manager">password manager</link>.
For more information, guides and documentation, see <link xlink:href="https://wiki.trezor.io"/>.
</para>
<para>
To enable Trezor support, add the following to your <filename>configuration.nix</filename>:
<programlisting>
<xref linkend="opt-services.trezord.enable"/> = true;
</programlisting>
This will add all necessary udev rules and start Trezor Bridge.
</para>
</chapter>