Fix gpg agent

This commit is contained in:
Pedro Rey Anca 2024-08-21 01:09:58 +02:00
parent 8ea13a7ec4
commit 7a657d84f1
3 changed files with 7 additions and 1 deletions

View file

@ -5,11 +5,17 @@
}: { }: {
programs.dconf.enable = true; programs.dconf.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
# pinentryFlavor = ""; # pinentryFlavor = "";
}; };
environment.shellInit = ''
gpg-connect-agent /bye
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
'';
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; []; programs.nix-ld.libraries = with pkgs; [];
programs.adb.enable = true; programs.adb.enable = true;

View file

@ -9,7 +9,6 @@
__GL_GSYNC_ALLOWED = "0"; __GL_GSYNC_ALLOWED = "0";
__GL_VRR_ALLOWED = "0"; __GL_VRR_ALLOWED = "0";
_JAVA_AWT_WM_NONEREPARENTING = "1"; _JAVA_AWT_WM_NONEREPARENTING = "1";
SSH_AUTH_SOCK = "/run/user/1000/keyring/ssh";
DISABLE_QT5_COMPAT = "0"; DISABLE_QT5_COMPAT = "0";
GDK_BACKEND = "wayland"; GDK_BACKEND = "wayland";
ANKI_WAYLAND = "1"; ANKI_WAYLAND = "1";

View file

@ -26,6 +26,7 @@
gtrash # rm replacement, put deleted files in system trash gtrash # rm replacement, put deleted files in system trash
imagemagick imagemagick
inkscape inkscape
kleopatra # Gpg GUI
lazygit lazygit
libreoffice libreoffice
cinnamon.nemo-with-extensions # file manager cinnamon.nemo-with-extensions # file manager