diff options
author | ene <ene@sils.li> | 2023-03-18 17:12:34 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-18 17:33:52 +0100 |
commit | 414ad162bc5ecdf71e3c5d674c18c6d65bd03a45 (patch) | |
tree | d96cc43e71378c77b7698290f5f71a6cecad2f35 | |
parent | Fix(system/users): Remove unneeded root ssh login keys (diff) | |
download | nixos-server-414ad162bc5ecdf71e3c5d674c18c6d65bd03a45.tar.gz nixos-server-414ad162bc5ecdf71e3c5d674c18c6d65bd03a45.zip |
Fix(system/mail): Declare the password directly
As outlined in commit 19f0808, placing a password hash in the world readable nix-store is perfectly safe as long as the hashing function is not reversible, which should be a necessity for a password hash.
Diffstat (limited to '')
-rw-r--r-- | system/mail/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/mail/default.nix b/system/mail/default.nix index 67531af..2f58c03 100644 --- a/system/mail/default.nix +++ b/system/mail/default.nix @@ -24,7 +24,7 @@ in { loginAccounts = { "sils@vhack.eu" = { - hashedPasswordFile = "/srv/mail/.secrets/silsmailpswd"; + hashedPassword = "$2b$05$RW/Svgk7iGxvP5W7ZwUZ1e.a3fj4fteevb2MtfFYYD0d1DQ17y9Fm"; }; }; |