crypto: remove yubikey-agent, use gpg-agent

This commit is contained in:
Benjamin Yule Bädorf 2024-03-19 19:58:50 +01:00
parent 9f655984a0
commit b0159584c5
Signed by: b12f
GPG key ID: 729956E1124F8F26

View file

@ -9,21 +9,21 @@ with lib; let
in {
services.dbus.packages = [pkgs.gcr];
services.pcscd.enable = true;
services.udev.packages = [pkgs.yubikey-personalization];
services.yubikey-agent.enable = true;
hardware.gpgSmartcards.enable = true; # for yubikey
services.gnome.gnome-keyring.enable = true;
hardware.gpgSmartcards.enable = true; # for yubikey
users.users."${psCfg.user.name}".packages = with pkgs; [
libsecret
gnupg
];
programs.ssh.startAgent = false;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = false;
enableSSHSupport = true;
enableExtraSocket = true;
pinentryFlavor = "gnome3";
};