services: mumi: Add Debbugs rsync as shepherd timer.
* gnu/services/web.scm (<mumi-configuration>)[data-directory, rsync-remote,
rsync-flags]: New fields.
(%mumi-worker-log): Delete variable.
(%mumi-rsync-and-index-log): New variable.
(mumi-rsync-and-index): New function.
(mumi-shepherd-services): Remove mumi-worker service. Add mumi-rsync-and-index
service.
(mumi-service-type): Remove default value.
* doc/guix.texi (Web Services)[mumi]: Document data-directory, rsync-remote
and rsync-flags fields.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
services: nginx: Add stream configuration.
* gnu/services/web.scm (<nginx-stream-configuration>): New record type.
(<nginx-configuration>)[stream]: New field.
(emit-nginx-server-config): Add context argument.
(default-nginx-config): Serialize stream.
* doc/guix.texi (Web Services): Document it.
services: dhcpcd: Add shepherd-provision field.
* doc/guix.texi (Networking Setup)<dhcpcd-configuration>: Regenerate
the dhcpcd-configuration documentation.
* gnu/services/networking.scm (dhcpcd-configuration)
<shepherd-provision>: Add new field. Fix typo in client-id description.
(dhcpcd-shepherd-service): Use it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: fail2ban: Extend profile with fail2ban package.
* gnu/services/security.scm (fail2ban-service-type): Register
profile-service-type extension.
Change-Id: Ia7d908ba68c82fb7b5f016d4d246112679c49415
services: nix: Point Nix to bin/bash.
The nix-service-type will create the nix.conf file pointing to
`bin/sh' file in the bash-minimal package, however this is a symbolic
link to `bin/bash' in that same package, so when the sandbox gets
created there will be a symlink in the Nix sandbox like this:
drwxr-xr-x 2 nobody nogroup 4096 Sep 18 13:10 .
drwxr-x--- 10 nobody nixbld 4096 Sep 18 13:10 ..
lrwxrwxrwx 1 nobody nogroup 4 Jan 1 1970 sh -> bash
Making builds that depend on /bin/sh fail since /bin/bash does not
exist in the sandbox.
* gnu/services/nix.scm (nix-service-etc): Change ‘build-sandbox-paths’ to
point to ‘bin/bash’.
Change-Id: I9138e9b772b8468382cfde6d133f0758837d03ff
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: secret-service: Add missing import for ‘reboot’.
* gnu/services/virtualization.scm (secret-service-shepherd-services): In
‘modules’, add (shepherd system).
Change-Id: I23201f0ee3ce102f0d48d4f5ea24ddbfc06c247f
services: plasma-desktop: Add "packagekit" to plasma-dbus-service.
* gnu/services/desktop.scm (plasma-dbus-service): Add "packagekit".
Change-Id: I4c1a3509ee8d5fa512b715188f32652f70f67506
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
services: plasma-desktop: Add "packagekit" to plasma-polkit-settings.
* gnu/services/desktop.scm (plasma-polkit-settings): Add "packagekit".
Change-Id: I8f201f6dbab587b8075e45e10725d8bebf05ca3b
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
services/vfs-mapping: Fix default name.
* gnu/services/linux.scm (vfs-mapping): Fix vfs-mapping default name.
Fixes: #1953
Change-Id: I7e05cc19d9dbcd7a4ccb86ee009ee947349738da
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
services: sddm: Require ‘pam_env.so’.
* gnu/services/sddm.scm (sddm-pam-service): New pam entry
Change-Id: Ia5912258a8da974b60fd74b02d0779c31ea7edf3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
services: oci: Fix OCI backed Shepherd services HOME variable.
This patch allows containers run with podman to run each with their own
specific user.
* doc/guix.texi: Fix wrong type for oci-container-configuration's
shepherd-dependencies field.
* gnu/services/containers.scm (oci-container-shepherd-service): In case
a specific container is not run through the user provisioned by the
oci-service-type, its environment is different from the globally
provisioned one and must be recomputed.
Change-Id: I5d636ad0616ced0af124002de4403da3067334de
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Remove Tailon services and documentation.
The tailon package was removed in 63023deaf96bd0d90aba262b194bf1445ec5a0b6,
but the associated service and documentation weren’t, leading to `guix pull`
breaking.
Fixes guix/guix#2689.
* doc/guix.texi: Remove Tailon documentation.
* gnu/services/web.scm (tailon-service-type): Delete variable.
(tailon-configuration-file): Delete variable.
(tailon-configuration-file?): Delete variable.
(tailon-configuration-file-files): Delete variable.
(tailon-configuration-file-bind): Delete variable.
(tailon-configuration-file-relative-root): Delete variable.
(tailon-configuration-file-allow-transfers?): Delete variable.
(tailon-configuration-file-follow-names?): Delete variable.
(tailon-configuration-file-tail-lines): Delete variable.
(tailon-configuration-file-allowed-commands): Delete variable.
(tailon-configuration-file-debug?): Delete variable.
(tailon-configuration-file-http-auth): Delete variable.
(tailon-configuration-file-users): Delete variable
(tailon-configuration): Delete variable.
(tailon-configuration?): Delete variable.
(tailon-configuration-config-file): Delete variable.
(tailon-configuration-package): Delete variable.
* gnu/tests/web.scm (%test-tailon): Delete variable.
Change-Id: I3b507df8233b0440baa6a2bce4604b5813cb3bb0
services: greetd: Accept gexps in initial-session.
Recently initial-session-user and initial-session-command has been
added, but they accept only strings, not gexps.
* gnu/services/base.scm (make-greetd-terminal-configuration-file):
Ungexp initial-session-user and initial-session-command.
Change-Id: I2b247464528b6147eab8acea08c6942ac7bfd0ab
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: keepalived: Add ‘shepherd-requirement’ field.
* gnu/services/networking.scm (<keepalived-configuration>)[shepherd-requirement]:
New field.
(keepalived-shepherd-service): Honor it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: network-manager: Create /etc/ipsec.secrets directory in activation.
* gnu/services/networking.scm (network-manager-activation): Create the
/etc/ipsec.secrets directory.
Change-Id: Ib347cc00e7cbd314b2a465b5ee681285ba0d3115
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Modified-by: Maxim Cournoyer <maxim@guixotic.coop>
services: cuirass: Add more configuration fields.
* gnu/services/cuirass.scm (<cuirass-configuration>)[parallel-evaluations]
[evaluation-ttl, web-threads]: New fields.
(cuirass-shepherd-service): Honor them.
* doc/guix.texi (Continuous Integration): Document them.
Change-Id: I33485b978d2a37ee93230b1d425731e6cb3b80e4
services: cuirass: Socket activation for ‘cuirass register’.
Fixes guix/cuirass#16.
* gnu/services/cuirass.scm (cuirass-shepherd-service)[endpoint]: New
procedure.
Use ‘make-systemd-constructor’ for ‘cuirass register’. Set the ‘COLUMNS’
environment variable.
Change-Id: If58e4e8a889ab11e4b5b89a7abaf0af24600751b