Nitrokey: Difference between revisions

From NixOS Wiki
imported>Neutrocyte
No edit summary
Klinger (talk | contribs)
Tags: Mobile edit Mobile web edit
Line 2: Line 2:


==Installation==
==Installation==
You also want to add the nitrokey udev rules and enable the gpg agenent
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 ];

Revision as of 10:23, 4 May 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;
  };
};