about summary refs log tree commit diff
path: root/modules/emacs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/emacs/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/emacs/default.nix b/modules/emacs/default.nix
index 3e59ce8..1e575ed 100644
--- a/modules/emacs/default.nix
+++ b/modules/emacs/default.nix
@@ -227,6 +227,10 @@ in
                               (mu4e-drafts-folder       . "/${name}/${folders.drafts}")
                               (mu4e-trash-folder        . "/${name}/${folders.trash}")
                               (mu4e-refile-folder       . "/${name}/Archive")
+                              ${
+                                optionalString (signature.showSignature != "none")
+                                  ''(mu4e-compose-signature   . "${replaceStrings [ "\n" ] [ "\\n" ] signature.text}")''
+                              }
                               (+mu4e-personal-addresses . (${personalAddresses})))
                             t)
                         ''

Consider giving Nix/NixOS a try! <3