Difference between revisions of "Nitrokey"

From NixOS Wiki
Jump to: navigation, search
m (rollback unauthorized mass edits)
Tag: Rollback
m (Minor text changes)
 
Line 1: Line 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|Wikipedia]]) with NixOS
  
 
==Installation==
 
==Installation==
You also want to add the nitrokey udev rules and enable the gpg agenent
+
You must add the nitrokey udev rules and enable the gpg agent
 
<syntaxHighlight lang=nix>
 
<syntaxHighlight lang=nix>
 
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
 
services.udev.packages = [ pkgs.nitrokey-udev-rules ];

Latest revision as of 13:33, 1 February 2026

This article describes how you can use your Nitrokey (Wikipedia) with NixOS

Installation

You must 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;
  };
};