Jump to content

Nitrokey/en: Difference between revisions

From Official NixOS Wiki
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
FuzzyBot (talk | contribs)
Updating to match new version of source page
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article describes how you can use your [https://www.nitrokey.com Nitrokey] [[Wikipedia:Nitrokey|Nitrokey]] with NixOS
<languages/>
This article describes how you can use your [[Wikipedia:Nitrokey|Nitrokey]] with NixOS


==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
<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
Line 13: Line 16:
};
};
</syntaxHighlight>
</syntaxHighlight>
[[Category:Hardware]]
[[Category:Hardware]]

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