fix activate-secrets script
This commit is contained in:
parent
01c347b7b7
commit
76f6e930e0
@ -47,7 +47,7 @@ let
|
|||||||
|
|
||||||
activate-secrets = pkgs.writeShellScriptBin "activate-secrets" ''
|
activate-secrets = pkgs.writeShellScriptBin "activate-secrets" ''
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
export PATH="${with pkgs; lib.makeBinPath [ gnupg git coreutils ]}:/run/wrappers/bin/:$PATH"
|
export PATH="${with pkgs; lib.makeBinPath [ openssh gnupg git coreutils ]}:/run/wrappers/bin/:$PATH"
|
||||||
export SHELL=${pkgs.runtimeShell}
|
export SHELL=${pkgs.runtimeShell}
|
||||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
if [ -d "${password-store}/.git" ]; then
|
if [ -d "${password-store}/.git" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user