From 107f235ac2a7aa6965debe10388be62c8aab82aa Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sat, 4 Jun 2022 21:47:22 +0200 Subject: [PATCH] [home] Install `git`. This commit adds a guix-home service which installs `git` and its dotfile. See git(1) for explaination of the dotfile structure and its location. --- git/.config/git/config | 6 ++++++ home.scm | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 git/.config/git/config diff --git a/git/.config/git/config b/git/.config/git/config new file mode 100644 index 0000000..aab2cb2 --- /dev/null +++ b/git/.config/git/config @@ -0,0 +1,6 @@ +# Copyright (c) 2022 Jakub Czajka +# License: GPL-3.0 or later. + +[user] + name = Jakub Czajka + email = jakub@ekhem.eu.org diff --git a/home.scm b/home.scm index b271bb6..5912410 100644 --- a/home.scm +++ b/home.scm @@ -4,10 +4,13 @@ ;; home.scm - home directory configuration for GNU Guix. (use-modules (conf home bash) + (conf home program) (conf home symlink) (gnu home services) (gnu packages base) - (guix gexp)) + (gnu packages version-control) + (guix gexp) + (guix packages)) (home-environment (packages (list)) @@ -17,4 +20,8 @@ (bash-profile "bash/.bash_profile") (bashrc "bash/.bashrc"))) (service home-symlink-service-type - (list "bash/.config/profile.d/10-xdg.sh"))))) + (list "bash/.config/profile.d/10-xdg.sh")) + (service home-program-service-type + (home-program-configuration + (packages (list git)) + (dotfiles (list "git/.config/git/config"))))))) -- 2.39.5