diff options
author | Timo Wilken | 2023-09-12 19:42:21 +0200 |
---|---|---|
committer | Timo Wilken | 2023-09-12 21:18:32 +0200 |
commit | d44b9efda2d387430e63c1d6cd426c88bcde2eda (patch) | |
tree | db7973a37a88c439362e7311148e7275d27352fa /tw/home/cern.scm | |
parent | 340d839c2c4ff47ce047e63969c43393b7a335dc (diff) |
Factor out proper Git and GnuPG service types
Diffstat (limited to 'tw/home/cern.scm')
-rw-r--r-- | tw/home/cern.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tw/home/cern.scm b/tw/home/cern.scm index f0dc7214..8c6ed7d5 100644 --- a/tw/home/cern.scm +++ b/tw/home/cern.scm @@ -30,6 +30,8 @@ #:use-module (tw packages catppuccin) #:use-module (tw packages xorg) #:use-module (tw gexp) + #:use-module (tw services git) + #:use-module (tw services gnupg) #:use-module (tw theme)) (use-package-modules calendar dav mail web-browsers xdisorg xorg) @@ -128,11 +130,18 @@ "/X11/ridge-view.jpg"))))))) ;; On my work machine, Git must always use my work PGP key. - (gitconfig "timo.wilken@cern.ch" "C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C") + (service home-git-service-type + (home-git-configuration + (default-email "timo.wilken@cern.ch") + (default-signing-key "C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C"))) (openssh-service #f) - (append %common-services %interactive-services pim-services - (gnupg-services "C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C" #:gui-pinentry? #t)))))) + (service home-gnupg-service-type + (home-gnupg-configuration + (default-key "C2249BBE5E8761C943A0CFA1B7B3914BF63ACD7C") + (gui-pinentry? #t))) + + (append %common-services %interactive-services pim-services))))) %cern-home |