aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.envrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index b383edd..89d8608 100644
--- a/.envrc
+++ b/.envrc
@@ -29,7 +29,7 @@ export VOLUME_HOME="/home/vps/volumes"
# https://discourse.nixos.org/t/inconsistent-hash-of-buildgomodule/3127/4
export NIX_PATH=nixpkgs=channel:nixos-unstable
-if [[ "$(file -b ./secrets/secret-envrc.sh)" = "data" ]];
+if [[ "$(file -b ./secrets/secret-envrc.sh 2> /dev/null)" = "data" ]];
then
echo 'The ./secrets/secret-envrc.sh is encrypted, not sourcing it.'
return