Crypto : Add GPG and Yubikey manager.

This commit is contained in:
Dmitry Voronin 2024-04-09 14:14:28 +03:00
parent c927e8ff63
commit ce54cac532
2 changed files with 16 additions and 0 deletions

View file

@ -113,6 +113,7 @@
./module/common/AutoUpdate.nix
./module/common/Bash.nix
./module/common/Bootloader.nix
./module/common/Crypto.nix
./module/common/Distrobox.nix
./module/common/Dotfiles.nix
./module/common/Filesystem.nix

15
module/common/Crypto.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, ... }: {
# GPG.
services.udev.packages = [ pkgs.yubikey-personalization ];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
# Extra packages.
environment.systemPackages = with pkgs; [
yubikey-manager # Yubikey Manager.
yubioath-desktop # OTP.
];
}