aboutsummaryrefslogtreecommitdiff
path: root/modules/gpg/default.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-03-06 16:44:47 -0500
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-03-06 16:44:47 -0500
commit5b72fc95b02b2d650239d1b678f09ce3ef296eb7 (patch)
treeb976bf88641610169d50901b8c8e6a9a131b2d78 /modules/gpg/default.nix
parentf1480abf77a14d1427722c99604f34d37b5c45b6 (diff)
downloadhome-5b72fc95b02b2d650239d1b678f09ce3ef296eb7.tar.gz
fix issue with password-store
Diffstat (limited to 'modules/gpg/default.nix')
-rw-r--r--modules/gpg/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/gpg/default.nix b/modules/gpg/default.nix
index 37e8b04..59323f3 100644
--- a/modules/gpg/default.nix
+++ b/modules/gpg/default.nix
@@ -10,6 +10,11 @@ in
};
config = mkIf cfg.enable {
+# home.packages = with pkgs; [
+# pinentry-bemenu
+# (writeShellScriptBin "pinentry-menu" ''
+# exec ${pkgs.pinentry-bemenu}/bin/pinentry-bemenu -l 10 --nf "#4c4c4c" --nb "#0f0f0f" --af "#4c4c4c" --ab "#0f0f0f" --tb "#0f0f0f" --tf "#8aac8b" --sb "#0f0f0f" --sf "#8aac8b"--hb "#0f0f0f" --hf "#8aac8b" --fn "ComicShannsMono Nerd Font Mono 12"
+# '')];
services.gpg-agent = {
enable = true;
# TODO: look into forwarding and extra socket, seems useful
@@ -19,7 +24,7 @@ in
enableSshSupport = true;
noAllowExternalCache = true;
pinentryPackage = pkgs.pinentry-qt;
-# sshKeys = [ "36663E191B00E51513F90FA5CF2BCE8461C297CD" ];
+ #sshKeys = [ "36663E191B00E51513F90FA5CF2BCE8461C297CD" ];
};
home.file.".gnupg/pinentry-dmenu.conf" = {