Nitrokey/ru: Difference between revisions

From NixOS Wiki
Unabomberlive (talk | contribs)
Created page with "Nitrokey"
 
Unabomberlive (talk | contribs)
Created page with "==Установка== Вам также нужно добавить правила nitrokey udev и включить gpg-агент <syntaxHighlight lang=nix> services.udev.packages = [ pkgs.nitrokey-udev-rules ]; programs = { ssh.startAgent = false; gnupg.agent = { enable = true; enableSSHSupport = true; }; }; </syntaxHighlight> Category:Hardware"
 
Line 4: Line 4:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
==Установка==
==Installation==
Вам также нужно добавить правила nitrokey udev и включить gpg-агент
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 18: Line 17:
</syntaxHighlight>
</syntaxHighlight>
[[Category:Hardware]]
[[Category:Hardware]]
</div>

Latest revision as of 17:31, 20 July 2024

This article describes how you can use your Nitrokey Nitrokey with NixOS

Установка

Вам также нужно добавить правила nitrokey udev и включить gpg-агент

services.udev.packages = [ pkgs.nitrokey-udev-rules ];
programs = {
  ssh.startAgent = false;
  gnupg.agent = {
    enable = true;
    enableSSHSupport = true;
  };
};