Update gpg pinentry
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
enable = true;
|
||||
defaultCacheTtl = 31536000;
|
||||
maxCacheTtl = 31536000;
|
||||
pinentry.package = pkgs.pinentry-tty;
|
||||
};
|
||||
|
||||
systemd.user = {
|
||||
|
@@ -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 = {
|
||||
|
@@ -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;
|
||||
};
|
||||
}
|
||||
|
@@ -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;
|
||||
};
|
||||
|
@@ -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; };
|
||||
|
10
packages/vscode/extensions/gpg-indicator/default.nix
Normal file
10
packages/vscode/extensions/gpg-indicator/default.nix
Normal 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=";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user