From 30069de16f361ff908044efcd8bdacee63d606fa Mon Sep 17 00:00:00 2001 From: Hans Muendelein Date: Sat, 2 Nov 2024 21:36:03 +0100 Subject: [PATCH] Try do manage gpg dependencies --- shell.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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 '';