summary refs log tree commit diff
path: root/nixos/modules/programs/ssmtp.nix
diff options
context:
space:
mode:
authorsjau <github.com@sjau.ch>2021-07-01 09:40:50 +0200
committersjau <github.com@sjau.ch>2021-07-01 09:40:50 +0200
commit1f207718de9ead172950f0adb022a007b42f1f44 (patch)
treedf40ea2045a3059f92185e5187418f2132e97c32 /nixos/modules/programs/ssmtp.nix
parent9b24799b112c57c356a3681e6ed857b024402e4a (diff)
downloadnixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.tar
nixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.tar.gz
nixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.tar.bz2
nixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.tar.lz
nixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.tar.xz
nixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.tar.zst
nixpkgs-1f207718de9ead172950f0adb022a007b42f1f44.zip
ssmtp: give example to create authPassFile
Diffstat (limited to 'nixos/modules/programs/ssmtp.nix')
-rw-r--r--nixos/modules/programs/ssmtp.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/programs/ssmtp.nix b/nixos/modules/programs/ssmtp.nix
index 8039763facc..8b500f0383f 100644
--- a/nixos/modules/programs/ssmtp.nix
+++ b/nixos/modules/programs/ssmtp.nix
@@ -124,7 +124,8 @@ in
         example = "/run/keys/ssmtp-authpass";
         description = ''
           Path to a file that contains the password used for SMTP auth. The file
-          should not contain a trailing newline, if the password does not contain one.
+          should not contain a trailing newline, if the password does not contain one
+          (e.g. use <command>echo -n "password" > file</command>).
           This file should be readable by the users that need to execute ssmtp.
         '';
       };