2022-04-18 12:27:54 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.udev.packages = [ pkgs.yubikey-personalization ];
|
2022-04-20 17:38:49 +02:00
|
|
|
environment.shellInit = ''
|
|
|
|
export GPG_TTY="$(tty)"
|
|
|
|
gpg-connect-agent /bye
|
|
|
|
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
|
|
|
'';
|
2022-04-18 12:27:54 +02:00
|
|
|
home-manager.users.moritz.home.packages = with pkgs; [
|
|
|
|
# cli
|
|
|
|
yubikey-manager
|
|
|
|
yubikey-personalization
|
|
|
|
paperkey
|
|
|
|
# graphical
|
|
|
|
yubikey-manager-qt
|
|
|
|
yubikey-personalization-gui
|
|
|
|
];
|
|
|
|
}
|