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>
Ludovic Courtès
2023-08-20
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.
guix-install.sh: Support OpenRC....* etc/guix-install.sh (chk_init_sys): Detect OpenRC.
(sys_enable_guix_daemon): Install & enable the Guix daemon on such
systems.
* etc/openrc/guix-daemon.in: New file.
* nix/local.mk: Add a rule for it.
(openrcservicedir, nodist_openrcservice_DATA): New variables.
(CLEANFILES, EXTRA_DIST): Add them.
* .gitignore: Ignore etc/openrc/guix-daemon.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>