Jump to content

Nitrokey: Difference between revisions

From Official NixOS Wiki
Qweered (talk | contribs)
m remove unneeded link
Ardenet (talk | contribs)
m adjust translate tag
Line 6: Line 6:
<!--T:2-->
<!--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
</translate>
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
Line 17: Line 20:
};
};
</syntaxHighlight>
</syntaxHighlight>
<translate>
[[Category:Hardware]]
[[Category:Hardware]]
</translate>
</translate>

Revision as of 04:42, 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;
  };
};