Try do manage gpg dependencies
This commit is contained in:
parent
06b78fbadf
commit
30069de16f
|
|
@ -18,6 +18,14 @@ pkgs.mkShell {
|
|||
# Reload the gpg-agent to apply changes
|
||||
gpg-connect-agent reloadagent /bye
|
||||
|
||||
# Import public key
|
||||
|
||||
curl $(gpg --card-status | grep URL | cut -d' ' -f6) | gpg --import
|
||||
touch dummy
|
||||
gpg -r hans --encrypt dummy
|
||||
gpg --decrypt dummy.gpg
|
||||
|
||||
|
||||
# Clone the repository
|
||||
git clone ssh://git@git.cluster.gay:2222/hans/nix.git
|
||||
'';
|
||||
|
|
|
|||
Loading…
Reference in New Issue