Disable gnome-keyring ssh-agent within gnome

This commit is contained in:
GHOSCHT 2023-12-11 15:37:13 +01:00
parent 835f113f12
commit 9485016df5
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -16,5 +16,15 @@
enableZshIntegration = true;
pinentryFlavor = "gnome3";
};
# Prevent clobbering SSH_AUTH_SOCK
home.sessionVariables.GSM_SKIP_SSH_AGENT_WORKAROUND = "1";
# Disable gnome-keyring ssh-agent
xdg.configFile."autostart/gnome-keyring-ssh.desktop".text = ''
${lib.fileContents "${pkgs.gnome3.gnome-keyring}/etc/xdg/autostart/gnome-keyring-ssh.desktop"}
Hidden=true
'';
};
}