mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
add warning if not using password_file
This commit is contained in:
parent
5edf9bd76f
commit
edb6b10966
@ -60,6 +60,17 @@ in
|
||||
isSystemUser = true;
|
||||
};
|
||||
users.groups.goeland = { };
|
||||
|
||||
warnings =
|
||||
if hasAttr "password" cfg.settings.email
|
||||
then [
|
||||
''
|
||||
It is not recommended to set the "services.goeland.settings.email.password"
|
||||
option as it will be in cleartext in the Nix store.
|
||||
Please use "services.goeland.settings.email.password_file" instead.
|
||||
''
|
||||
]
|
||||
else [ ];
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ sweenu ];
|
||||
|
Loading…
Reference in New Issue
Block a user