mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
secrets.nix: Edit secrets abort message
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
f916ffb2b4
commit
e4fb67d8eb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue