mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Apply suggestion
Co-authored-by: Aaron Andersen <aaron@fosslib.net>
This commit is contained in:
parent
edb6b10966
commit
dbbb062d47
1 changed files with 7 additions and 10 deletions
|
@ -61,16 +61,13 @@ in
|
|||
};
|
||||
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 [ ];
|
||||
warnings = optionals (hasAttr "password" cfg.settings.email) [
|
||||
''
|
||||
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.
|
||||
''
|
||||
];
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ sweenu ];
|
||||
|
|
Loading…
Reference in a new issue