From e4fb67d8ebbe15d671a80882a93161843aac0f96 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Tue, 3 Oct 2023 22:14:50 +0300 Subject: [PATCH] secrets.nix: Edit secrets abort message Signed-off-by: Ivan Bushchik --- secrets.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secrets.nix b/secrets.nix index a189529..a85d20e 100644 --- a/secrets.nix +++ b/secrets.nix @@ -4,7 +4,7 @@ let expectedHash = "bc6f38a927602241c5e0996b61ebd3a90d5356ca76dc968ec14df3cd45c6612c"; in if (canaryHash != expectedHash && config.my.features.secrets) then - abort "Secrets are not readable. Have you run `git-crypt unlock`?" + abort "Secrets are enabled and not readable. Have you run `git-crypt unlock`?" else { hashed-password = builtins.readFile ./secrets/hashed-password; }