home: setup ssh_auth_sock
This commit is contained in:
parent
3227363b37
commit
7bd7c0a44f
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
./alacritty.nix
|
||||
./bat.nix
|
||||
|
@ -25,7 +25,10 @@
|
|||
|
||||
home.username = "alarsyo";
|
||||
|
||||
home.sessionVariables = {
|
||||
home.sessionVariables = let
|
||||
gpgPackage = config.programs.gpg.package;
|
||||
in {
|
||||
BROWSER = "firefox";
|
||||
SSH_AUTH_SOCK = "$(${gpgPackage}/bin/gpgconf --list-dirs agent-ssh-socket)";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue