diff --git a/home/default.nix b/home/default.nix index fa7f6ea..4c103a6 100644 --- a/home/default.nix +++ b/home/default.nix @@ -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)"; }; }