Move ssh socket configuration to client config
This commit is contained in:
parent
52dc8c6373
commit
e80c2d58e6
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
{ pkgs, pkgsUnstable, ... }: {
|
||||
#TODO: ENV variabls for agent
|
||||
home.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh";
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
package = pkgsUnstable.gnupg;
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
};
|
||||
"github.com" = forceIdentityPrivate // { user = "git"; };
|
||||
};
|
||||
extraConfig = ''
|
||||
IdentityAgent /run/user/1000/gnupg/S.gpg-agent.ssh
|
||||
'';
|
||||
#TODO: Authorized keys implementation, see https://github.com/nix-community/home-manager/pull/9
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,7 +36,6 @@ in rec {
|
|||
export XDG_CURRENT_DESKTOP=sway
|
||||
export XDG_SESSION_TYPE="wayland"
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh # TODO: Migrate
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
||||
# TODO: QTpie
|
||||
|
|
Loading…
Add table
Reference in a new issue