Jump to content

Nitrokey/en: Difference between revisions

From 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
 
Line 3: Line 3:


==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 14: 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;
  };
};