Nitrokey: Difference between revisions

From NixOS Wiki
Nicolas-goudry (talk | contribs)
No edit summary
Nicolas-goudry (talk | contribs)
Marked this version for translation
Line 1: Line 1:
<translate>
<translate>
<!--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 [https://www.nitrokey.com Nitrokey] [[Wikipedia:Nitrokey|Nitrokey]] with NixOS


<!--T:2-->
==Installation==
==Installation==
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

Revision as of 13:46, 12 July 2024

This article describes how you can use your Nitrokey 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;
  };
};