From b0159584c5ffec93e6638d788105044b0712c6df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Tue, 19 Mar 2024 19:58:50 +0100 Subject: [PATCH] crypto: remove yubikey-agent, use gpg-agent --- modules/crypto/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/crypto/default.nix b/modules/crypto/default.nix index 3580765..94902ba 100644 --- a/modules/crypto/default.nix +++ b/modules/crypto/default.nix @@ -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"; };