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