From 448c97665b611e9684218508cb071b4aa0055814 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 20 Feb 2023 20:02:21 -0500 Subject: [PATCH] move public-keys to root directory --- apps/encrypt-secret.nix | 2 +- apps/reencrypt-secrets.nix | 2 +- hosts/public-keys => public-keys | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename hosts/public-keys => public-keys (100%) diff --git a/apps/encrypt-secret.nix b/apps/encrypt-secret.nix index 325d942..7e83cba 100644 --- a/apps/encrypt-secret.nix +++ b/apps/encrypt-secret.nix @@ -11,7 +11,7 @@ tmpfile=$(mktemp) echo "''${secret}" > ''${tmpfile} ${pkgs.age}/bin/age --encrypt --armor --recipients-file ${ - builtins.toString ../hosts/public-keys + builtins.toString ../public-keys } $tmpfile rm $tmpfile ''); diff --git a/apps/reencrypt-secrets.nix b/apps/reencrypt-secrets.nix index f1c2c2d..24c21c9 100644 --- a/apps/reencrypt-secrets.nix +++ b/apps/reencrypt-secrets.nix @@ -17,7 +17,7 @@ --identity ~/.ssh/id_ed25519 $encryptedfile > $tmpfile echo "Encrypting ''${encryptedfile}..." ${pkgs.age}/bin/age --encrypt --armor --recipients-file ${ - builtins.toString ../hosts/public-keys + builtins.toString ../public-keys } $tmpfile > $encryptedfile rm $tmpfile done diff --git a/hosts/public-keys b/public-keys similarity index 100% rename from hosts/public-keys rename to public-keys