summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2023-03-07 17:46:55 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2023-03-07 17:46:55 +0100
commit0471c01103e163fb3fbfa114200928e6ffaa2693 (patch)
treeca85913a95fb893c8e14228c9a5af319000cf613 /home-configuration.scm
parent3167ad6e1a20ea98f842bb98f9a9127899ad2eeb (diff)
Implement Git Send Email
This commit enables the Send Email functionality of Git in order to easily post patches to mailing lists. A Git configuration file constructor is prepared in order to compose its content from multiple Org blocks. The needed packages are declared in a service, and the initial sendemail configuration is defined. As a result, it is now possible to post patches directly from Git.
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 09c38a9..34c2c55 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -124,6 +124,21 @@
(default-value #f)))
(service
(service-type
+ (name 'git-sendemail-packages)
+ (extensions
+ (list
+ (service-extension home-profile-service-type
+ (lambda (_)
+ (map
+ (compose list
+ specification->package+output)
+ (list
+ "git"
+ "git:send-email"))))))
+ (description "Git Send Email")
+ (default-value #f)))
+ (service
+ (service-type
(name 'org-fc-tn-package)
(extensions
(list