From aabb1914b745b9d60f52894beecf9d66e539e712 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 18 Aug 2024 20:43:13 -0300 Subject: system.scm: Make /srv/git home directory of git service --- src/guix/system.scm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/guix/system.scm b/src/guix/system.scm index f0f3852..31900f1 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -253,18 +253,10 @@ (group group) (system? #t) (comment "External SSH Git service user") - (home-directory "/var/empty") - (create-home-directory? #f) + (home-directory "/srv/git") (shell (file-append git "/bin/git-shell")))))) -(define (git-activation config) - (match-record config - (base-path) - #~(begin - (use-modules (guix build utils)) - (and=> #$base-path mkdir-p)))) - (define git-service-type (service-type @@ -275,8 +267,6 @@ git-shepherd-services) (service-extension account-service-type git-accounts) - (service-extension activation-service-type - git-activation) (service-extension profile-service-type (compose list git-configuration-package)))) (default-value (git-configuration)) -- cgit v1.2.3