Jump to content

Nitrokey: Difference between revisions

From NixOS Wiki
Nicolas-goudry (talk | contribs)
Marked this version for translation
Ardenet (talk | contribs)
Marked this version for translation
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<translate>
<translate>
<!--T:1-->
<!--T:1-->
This article describes how you can use your [https://www.nitrokey.com Nitrokey] [[Wikipedia:Nitrokey|Nitrokey]] with NixOS
This article describes how you can use your [[Wikipedia:Nitrokey|Nitrokey]] with NixOS


<!--T:2-->
==Installation== <!--T:2-->
==Installation==
 
<!--T:3-->
You also want to add the nitrokey udev rules and enable the gpg agent
You also want to add the nitrokey udev rules and enable the gpg agent
</translate>
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
Line 16: Line 20:
};
};
</syntaxHighlight>
</syntaxHighlight>
<translate>
<!--T:4-->
[[Category:Hardware]]
[[Category:Hardware]]
</translate>
</translate>

Latest revision as of 04:43, 7 November 2025

This article describes how you can use your Nitrokey with NixOS

Installation

You also want to add the nitrokey udev rules and enable the gpg agent

services.udev.packages = [ pkgs.nitrokey-udev-rules ];
programs = {
  ssh.startAgent = false;
  gnupg.agent = {
    enable = true;
    enableSSHSupport = true;
  };
};