Commit graph

2 commits

Author SHA1 Message Date
Ludovic Courtès
cf6abf50db
home: services: dicod, syncthing: Import (gnu home services shepherd).
Fixes <https://issues.guix.gnu.org/65510>.

Without this import, 'shepherd-service-type' is not mapped, leading to
an error about missing 'system' target.

* gnu/home/services/dict.scm,
gnu/home/services/syncthing.scm: Add #:use-module clause.

Reported-by: Morgan Smith <Morgan.J.Smith@outlook.com>
2023-08-29 11:42:16 +02:00
Ludovic Courtès
7605c01fcc
home: services: Add Syncthing.
* gnu/home/services/syncthing.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/services/syncthing.scm (<syncthing-configuration>)[home-service?]:
New field.
Adjust 'provision' and 'requirement' depending on 'home-service?', and
likewise for #:user and #:group.
Use 'filter' + 'negate' instead of 'remove'.
* doc/guix.texi (Networking Services): Add note and cross-reference to
"Networking Home Services".
(Networking Home Services): New node.
2023-08-20 22:48:48 +02:00