Nitrokey: Difference between revisions

From NixOS Wiki
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
 
Line 13: Line 13:
};
};
</syntaxHighlight>
</syntaxHighlight>
[[Category:Hardware]]

Latest revision as of 10:26, 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;
  };
};