diff --git a/shell.nix b/shell.nix index 0219c6a..67b9c19 100644 --- a/shell.nix +++ b/shell.nix @@ -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 '';