mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos/wakapi: don't merge EnvironmentFile paths
This commit is contained in:
parent
0c53b7c1c8
commit
a8537d1198
1 changed files with 4 additions and 4 deletions
|
@ -142,10 +142,10 @@ in
|
|||
(mkIf (cfg.passwordSalt != null) "WAKAPI_PASSWORD_SALT=${cfg.passwordSalt}")
|
||||
(mkIf (cfg.smtpPassword != null) "WAKAPI_MAIL_SMTP_PASS=${cfg.smtpPassword}")
|
||||
];
|
||||
EnvironmentFile = [
|
||||
(optional (cfg.passwordSaltFile != null) cfg.passwordSaltFile)
|
||||
(optional (cfg.smtpPasswordFile != null) cfg.smtpPasswordFile)
|
||||
];
|
||||
|
||||
EnvironmentFile =
|
||||
(lib.optional (cfg.passwordSaltFile != null) cfg.passwordSaltFile)
|
||||
++ (lib.optional (cfg.smtpPasswordFile != null) cfg.smtpPasswordFile);
|
||||
|
||||
User = config.users.users.wakapi.name;
|
||||
Group = config.users.users.wakapi.group;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue