From d5a73f4734f21ac15b9ade3ec71162f00ae746c4 Mon Sep 17 00:00:00 2001 From: Nox Date: Wed, 1 Jul 2026 14:23:41 +0200 Subject: home: services: Add GnuPG home directory configuration. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/home/services/gnupg.scm (home-gpg-agent-configuration) [home]: New field. (home-gpg-agent-files): Use it. (gpg-agent-activation): Use it (edited into a procedure). (home-gpg-agent-service-type): Use it. (sanitize-home): New procedure. * doc/guix.texi: Update it. Signed-off-by: Ludovic Courtès Merges: #9655 --- doc/guix.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 19be19c6d20..b30237e21ce 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -54909,6 +54909,10 @@ Pinentry program to use. Pinentry is a small user interface that passphrase or @acronym{PIN,personal identification number} (@pxref{Top,,, pinentry,Using the PIN-Entry}). +@item @code{home} (default: @code{"~/.gnupg"}) (type: string) +The GnuPG home directory, relative to @var{$HOME}. Defaults to +@file{~/.gnupg}. + @item @code{ssh-support?} (default: @code{#f}) (type: boolean) Whether to enable @acronym{SSH,secure shell} support. When true, @command{gpg-agent} acts as a drop-in replacement for OpenSSH's @@ -54929,9 +54933,9 @@ Time a cache entry for SSH keys is valid, in seconds. Maximum time a cache entry for SSH keys is valid, in seconds. @item @code{extra-content} (default: @code{""}) (type: raw-configuration-string) -Raw content to add to the end of @file{~/.gnupg/gpg-agent.conf}. +Raw content to add to the end of @file{gpg-agent.conf}. -@item @code{shepherd-requirement} (default: @code{'()}) (type: list-of-symbols) +@item @code{shepherd-requirement} (default: @code{()}) (type: list-of-symbols) List of services that should be started before this service. @end table -- cgit v1.2.3