From f2c36a9d8a167f1c96982cde66a66fe06d52e7a1 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 31 Aug 2023 23:13:22 +0900 Subject: [PATCH] test --- home-manager/users/albert/default.nix | 5 +++++ nixos/common/services/gnupg-agent.nix | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/home-manager/users/albert/default.nix b/home-manager/users/albert/default.nix index fe7a3d95..0dd714fa 100644 --- a/home-manager/users/albert/default.nix +++ b/home-manager/users/albert/default.nix @@ -15,6 +15,11 @@ SOPS_PGP_FP = "D98BBC6C9A27324654C2D8C464F6C4EB46C4543A"; }; + home.file.".gnupg/gpg-agent.conf".text = '' + enable-ssh-support + pinentry-program /run/current-system/sw/bin/wayprompt + ''; + accounts = { email = { accounts."sysctl" = { diff --git a/nixos/common/services/gnupg-agent.nix b/nixos/common/services/gnupg-agent.nix index 4801a723..dff5a679 100644 --- a/nixos/common/services/gnupg-agent.nix +++ b/nixos/common/services/gnupg-agent.nix @@ -6,7 +6,6 @@ enableSSHSupport = true; enableBrowserSocket = true; enableExtraSocket = true; - pinentryFlavor = "tty"; }; environment.systemPackages = with pkgs; [