mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(mail): msmtp passwordeval
This commit is contained in:
@@ -21,7 +21,8 @@ let
|
||||
}
|
||||
];
|
||||
|
||||
pass_ = file: "echo ${lib.escapeShellArg (lib.strings.fileContents file)}";
|
||||
# turns out we have to escape $ because, if the password contains a $, it will get interpolated as a variable by the msmtp `passwordeval` which does: `bash -c "COMMAND; echo"`
|
||||
pass_ = file: "echo ${lib.escape ["$"] (lib.escapeShellArg (lib.strings.fileContents file))}";
|
||||
|
||||
generateTaggingScript = filters:
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user