Rename mailserver.loginAccounts to mailserver.accounts
The "login" prefix makes this option more confusing rather than clearer, because what other account types are there? LDAP ones for example, but you can login with those too, so the prefix is pointless.
This commit is contained in:
@@ -51,12 +51,12 @@ rec {
|
||||
builtins.toString (mkHashFile name value.hashedPassword)
|
||||
else
|
||||
value.passwordFile
|
||||
) cfg.loginAccounts;
|
||||
) cfg.accounts;
|
||||
|
||||
# Collect accounts with plain text passwords that require hashing
|
||||
accountsWithPlaintextPasswordFiles = lib.filter (
|
||||
name: cfg.loginAccounts.${name}.passwordFile != null
|
||||
) (builtins.attrNames cfg.loginAccounts);
|
||||
accountsWithPlaintextPasswordFiles = lib.filter (name: cfg.accounts.${name}.passwordFile != null) (
|
||||
builtins.attrNames cfg.accounts
|
||||
);
|
||||
|
||||
# Appends the LDAP bind password to files to avoid writing this
|
||||
# password into the Nix store.
|
||||
|
||||
Reference in New Issue
Block a user