commit 4bd3666e0f921fa345c71a363da39fb0761ff5ff
parent 1655c7d2d87834d6fbab6c812f4020a4b55ecb34
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 4 Oct 2022 14:08:08 +0200
parent 1655c7d2d87834d6fbab6c812f4020a4b55ecb34
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 4 Oct 2022 14:08:08 +0200
secrets: fix wrong path
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/secrets/secrets b/secrets/secrets @@ -13,7 +13,7 @@ echo "$(pass agenix-privkey)" > $tempfile case $1 in "-e") - if [ -f "$HOME/proj/nix-secrets/flake.nix" ]; then + if [ -f "/tmp/nix-secrets/flake.nix" ]; then age -i $tempfile --encrypt --armor --output flake.nix.age /tmp/nix-secrets/flake.nix else echo "There is no 'flake.nix file!'"