Update gpg pinentry

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-29 13:54:07 +00:00
parent 2292c5663c
commit 6883541678
6 changed files with 21 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
enable = true;
defaultCacheTtl = 31536000;
maxCacheTtl = 31536000;
pinentry.package = pkgs.pinentry-tty;
};
systemd.user = {

View File

@@ -25,6 +25,8 @@ in
ms-vsliveshare.vsliveshare
ms-vscode-remote.remote-ssh
naumovs.color-highlight
# FIXME: https://github.com/microsoft/vscode/issues/130415
wdhongtw.gpg-indicator
];
userSettings = {

View File

@@ -36,8 +36,5 @@ in
"Personal GPG Passphrase".source = hmConfig.sops.secrets."gpg/personal/pass".path;
"SAS GPG Passphrase".source = hmConfig.sops.secrets."gpg/sas/pass".path;
};
home.packages = [ pkgs.gcr ];
services.gpg-agent.pinentry.package = pkgs.pinentry-gnome3;
};
}

View File

@@ -86,6 +86,10 @@ final: prev:
gitlab = final.ssh-known-hosts-gitlab;
};
vscode-extensions = prev.vscode-extensions or { } // {
wdhongtw.gpg-indicator = final.vscode-extension-wdhongtw-gpg-indicator;
};
yaziPlugins = prev.yaziPlugins or { } // {
custom-shell = final.yazi-plugin-custom-shell;
};

View File

@@ -89,6 +89,10 @@
ssh-known-hosts-github = import ./ssh/known-hosts/github { inherit pkgs; };
ssh-known-hosts-gitlab = import ./ssh/known-hosts/gitlab { inherit pkgs; };
vscode-extension-wdhongtw-gpg-indicator = import ./vscode/extensions/gpg-indicator {
inherit pkgs;
};
wsl-wl-clipboard = import ./wsl-wl-clipboard { inherit pkgs; };
yazi-plugin-custom-shell = import ./yazi/plugins/custom-shell { inherit pkgs; };

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
# AUTO-UPDATE: nix-update --flake vscode-extension-wdhongtw-gpg-indicator
pkgs.vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "wdhongtw";
name = "gpg-indicator";
version = "0.7.5";
hash = "sha256-gRwpU/KQj/5eYIJe6BORERIkiLV8Chz7+gJMqb08+J0=";
};
}