guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#54293] [WIP] home: Add home-git-service-type


From: Maxime Devos
Subject: [bug#54293] [WIP] home: Add home-git-service-type
Date: Mon, 07 Mar 2022 19:11:16 +0100
User-agent: Evolution 3.38.3-1

宋文武 schreef op ma 07-03-2022 om 22:51 [+0800]:
> Hello, with:
> --8<---------------cut here---------------start------------->8---
> (service home-git-service-type
>  (home-git-configuration
>   (options '((user (name "foo")
>                    (email "foo@bar.com")))))) [...]

How about providing an option for passwords?  E.g.,

 (home-git-configuration
   (user (git-user-info
           (name "Foobar")
           (e-mail "Foobar <foo@bar.com>")
           (signing-key "some PGP fingerprint)))
   (secrets-file "/home/foo/the-password")
   (smtp (git-smtp-configuration
           #;(password "12345") ; not recommended, use 'secrets-file' instead
           ...))

(with some appropriate documentation)

secrets-file (not interned in the store):
  
  # I don't remember the exact option name
  smtp.password = Foobaz

the produced .gitconfig would include a line

  [include]
    path = /home/foo/the-password

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]