aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-03-10 09:17:21 -0700
committerGravatar Tom Willemse2026-03-30 10:27:49 -0700
commitdcba0c25291dcc87f44d9b15d884d2b0c3482ca8 (patch)
tree14c0518d851b0f6112b3005f40f43c6f16d373c5
parentff354ccd3777b2ab6b474e060ab1948a9540829c (diff)
downloadnew-dotfiles-dcba0c25291dcc87f44d9b15d884d2b0c3482ca8.tar.gz
new-dotfiles-dcba0c25291dcc87f44d9b15d884d2b0c3482ca8.zip
pop-os: Add git service
-rw-r--r--oni/home/config/pop-os.scm19
1 files changed, 18 insertions, 1 deletions
diff --git a/oni/home/config/pop-os.scm b/oni/home/config/pop-os.scm
index 608640f..ab6add4 100644
--- a/oni/home/config/pop-os.scm
+++ b/oni/home/config/pop-os.scm
@@ -32,6 +32,7 @@
#:select (home-environment-service))
#:use-module ((oni home services flameshot)
#:select (home-flameshot-service-type))
+ #:use-module (oni home services git)
#:use-module (oni home services herbstluftwm)
#:use-module ((oni home services mail)
#:select (home-mbsync-service-type))
@@ -321,4 +322,20 @@
(home-gpg-agent-configuration
(ssh-support? #t)
(extra-content
- "allow-emacs-pinentry\n"))))))))
+ "allow-emacs-pinentry\n")))
+
+ (service home-git-service-type
+ (home-git-configuration
+ (user-name "Tom Willemse")
+ (user-email "tom@ryuslash.org")
+ (sendemail-sendmailcmd "/usr/bin/msmtp")
+ (init-default-branch "main")
+ (init-default-branchname "main")
+ (advice-detached-head #f)
+ (extra "
+[diff \"org\"]
+ xfuncname = \"^\\\\*+ +(.+)\"
+[diff \"lisp\"]
+ xfuncname = \"^[[:space:]]*?\\\\(def\\\\w+? ((\\\\w|-|'|:|=|<|>)+)\"
+")
+ (ignore-patterns '("GPATH" "GTAGS" "GRTAGS")))))))))