guix/gnu
Ludovic Courtès e2583b5a17
services: guix: Allow ‘guix-daemon’ to run without root privileges.
* gnu/services/base.scm (run-with-writable-store)
(guix-ownership-change-program): New procedures.
(<guix-configuration>)[privileged?]: New field.
(guix-shepherd-service): Rename to…
(guix-shepherd-services): … this.   Add the ‘guix-ownership’ service.
Change ‘guix-daemon’ service to depend on it; when unprivileged,
prefix ‘daemon-command’ by ‘run-with-writable-store’ and
omit ‘--build-users-group’; adjust socket activation endpoints.
(guix-accounts): When unprivileged, create the “guix-daemon” user and
group in addition to the others.
(guix-service-type)[extensions]: Adjust to name change.
* gnu/tests/base.scm (run-guix-daemon-test): Add ‘name’ parameter.
(%test-guix-daemon): Adjust accordingly.
(%test-guix-daemon-unprivileged): New test.
* doc/guix.texi (Base Services): Document ‘privileged?’.
(Migrating to the Unprivileged Daemon): Explain that this is automatic
on Guix System.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I28a9a22e617416c551dccb24e43a253b544ba163
2025-04-20 18:52:59 +02:00
..
bootloader
build
home
installer
machine
packages gnu: prusa-slicer: Fix segfault on startup 2025-04-20 14:17:56 +02:00
services services: guix: Allow ‘guix-daemon’ to run without root privileges. 2025-04-20 18:52:59 +02:00
system services: account: Create /var/guix/profiles/per-user/$USER. 2025-04-20 18:50:51 +02:00
tests services: guix: Allow ‘guix-daemon’ to run without root privileges. 2025-04-20 18:52:59 +02:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm
image.scm
installer.scm
local.mk Merge remote-tracking branch 'origin/python-team' 2025-04-19 16:49:36 +01:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm