diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2025-06-01 12:34:24 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-12-01 17:20:55 +0900 |
| commit | 17fdce75eceda5e16074ea56e1bdfd5535e90d4d (patch) | |
| tree | 01e2b15f03793c40b21410e41f5d4bca501556c9 /doc | |
| parent | 285229d06ad81c17f674ea6d89a4f2dc4d626627 (diff) | |
gnu: Add home-gcr-ssh-agent-service-type.
GNOME Keyring used to be able to act as a wrapper over ssh-agent.
It would display a GUI password entry dialog, including a checkbox to remember
the password, which, if selected, would allow fully passwordless use of that key.
The SSH functionality is disabled by default in gnome-keyring-daemon
builds since version 1.46
(commit 25c5a1982467802fa12c6852b03c57924553ba73).
It has been moved
(https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67)
into gcr-ssh-agent, which is part of the gcr package.
* gnu/home/services/gnome.scm: New file.
(gcr-ssh-agent-log-file,gcr-ssh-agent-shepherd-services): New public
procedures.
(gcr-ssh-agent-configuration): New configuration record.
(home-gcr-ssh-agent-service-type): New service type.
* gnu/local.mk: Add it.
* doc/guix.texi: Document it.
Change-Id: Idd3e40f544d40bb4c6682255f877cb79f0c70850
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Reviewed-by: Dariqq <dariqq@posteo.net>
Reviewed-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 67156cbfa4f..a83219a9fd0 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -51897,6 +51897,50 @@ API. | |||
| 51897 | @end table | 51897 | @end table |
| 51898 | @end deftp | 51898 | @end deftp |
| 51899 | 51899 | ||
| 51900 | @defvar home-gcr-ssh-agent-service-type | ||
| 51901 | |||
| 51902 | GNOME Keyring used to be able to act as a wrapper over | ||
| 51903 | @command{ssh-agent}. It would display a graphical password entry | ||
| 51904 | dialog, including a checkbox to remember the password, which, if | ||
| 51905 | selected, would allow fully passwordless use of that key. | ||
| 51906 | |||
| 51907 | The SSH functionality is disabled by default in | ||
| 51908 | @command{gnome-keyring-daemon} builds since version | ||
| 51909 | @uref{https://gitlab.gnome.org/GNOME/gnome-keyring/-/commit25c5a1982467802fa12c6852b03c57924553ba73, | ||
| 51910 | 1.46}. It has been | ||
| 51911 | @uref{https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67, moved} | ||
| 51912 | into @command{gcr-ssh-agent}, which is part of the @code{gcr} package. | ||
| 51913 | |||
| 51914 | To enable the SSH agent functionality it is sufficient to add the | ||
| 51915 | following to your Home configuration. | ||
| 51916 | |||
| 51917 | @lisp | ||
| 51918 | (use-modules (gnu home services gnome) ;for 'home-gcr-ssh-agent-service-type' | ||
| 51919 | @dots{}) | ||
| 51920 | |||
| 51921 | (home-environment | ||
| 51922 | (services | ||
| 51923 | (list | ||
| 51924 | @dots{} | ||
| 51925 | (service home-gcr-ssh-agent-service-type)))) | ||
| 51926 | @end lisp | ||
| 51927 | @end defvar | ||
| 51928 | |||
| 51929 | @deftp {Data Type} gcr-ssh-agent-configuration | ||
| 51930 | The configuration record for @code{home-gcr-ssh-agent-service-type}. Its | ||
| 51931 | available fields are: | ||
| 51932 | |||
| 51933 | @table @asis | ||
| 51934 | @item @code{package} (default: @code{gcr}) (type: package) | ||
| 51935 | The @code{gcr} package to use. | ||
| 51936 | |||
| 51937 | @item @code{log-file} (type: maybe-string) | ||
| 51938 | Where the service will write its logs. If unset, it defaults to | ||
| 51939 | @file{$HOME/.local/state/shepherd/gcr-ssh-agent.log}. | ||
| 51940 | |||
| 51941 | @end table | ||
| 51942 | @end deftp | ||
| 51943 | |||
| 51900 | @node Guix Home Services | 51944 | @node Guix Home Services |
| 51901 | @subsection Guix Home Services | 51945 | @subsection Guix Home Services |
| 51902 | 51946 | ||
