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