Support de SSH par gnupg
This commit is contained in:
parent
5fb8107771
commit
a79f6dd335
4
.bashrc
4
.bashrc
|
@ -36,3 +36,7 @@ export GUIX_PACKAGE_PATH=~/.config/guix/packages/defs
|
||||||
|
|
||||||
source ~/.bash_secrets
|
source ~/.bash_secrets
|
||||||
|
|
||||||
|
unset SSH_AGENT_PID
|
||||||
|
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||||
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
|
fi
|
||||||
|
|
|
@ -7,27 +7,32 @@
|
||||||
(use-modules (gnu home)
|
(use-modules (gnu home)
|
||||||
(gnu services)
|
(gnu services)
|
||||||
(gnu packages)
|
(gnu packages)
|
||||||
|
(gnu packages gnupg)
|
||||||
(guix gexp)
|
(guix gexp)
|
||||||
(gnu home services shells))
|
(gnu home services shells)
|
||||||
|
(gnu home services gnupg))
|
||||||
|
|
||||||
(home-environment
|
(home-environment
|
||||||
(services
|
(services
|
||||||
(list (service home-bash-service-type
|
(list (service home-bash-service-type
|
||||||
(home-bash-configuration
|
(home-bash-configuration
|
||||||
(aliases '(
|
(aliases '(
|
||||||
("clear" . "printf '\\033c'")
|
("clear" . "printf '\\033c'")
|
||||||
("dir" . "dir --color=auto")
|
("dir" . "dir --color=auto")
|
||||||
("egrep" . "egrep --color=auto")
|
("egrep" . "egrep --color=auto")
|
||||||
("fgrep" . "fgrep --color=auto")
|
("fgrep" . "fgrep --color=auto")
|
||||||
("grep" . "grep --color=auto")
|
("grep" . "grep --color=auto")
|
||||||
("la" . "ls -A")
|
("la" . "ls -A")
|
||||||
("ll" . "ls -l")
|
("ll" . "ls -l")
|
||||||
("l" . "ls -CF")
|
("l" . "ls -CF")
|
||||||
("ls" . "ls -p --color=auto")
|
("ls" . "ls -p --color=auto")
|
||||||
("vdir" . "vdir --color=auto")
|
("vdir" . "vdir --color=auto")))
|
||||||
))
|
(bashrc (list (local-file "/home/neox/.config/guix//.bashrc" "bashrc")))
|
||||||
(bashrc (list (local-file
|
(bash-profile (list (local-file
|
||||||
"/home/neox/.config/guix//.bashrc" "bashrc")))
|
"/home/neox/.config/guix//.bash_profile"
|
||||||
(bash-profile (list (local-file
|
"bash_profile")))))
|
||||||
"/home/neox/.config/guix//.bash_profile"
|
(service home-gpg-agent-service-type
|
||||||
"bash_profile"))))))))
|
(home-gpg-agent-configuration
|
||||||
|
(pinentry-program
|
||||||
|
(file-append pinentry-gnome3 "/bin/pinentry-gnome3"))
|
||||||
|
(ssh-support? #t))))))
|
||||||
|
|
Loading…
Reference in New Issue