Commit graph

7 commits

Author SHA1 Message Date
Oleg Pykhalov ba8ddb3480
gnu: Move (gnu home-services) to (gnu home services).
* gnu/home-services/configuration.scm: Move the content ...
* gnu/home/services/configuration.scm: ... here.
* doc/guix.texi:
Replace (gnu home-services mcron) with (gnu home services mcron).
Replace (gnu home-services) with (gnu home services).
* gnu/home.scm:
Replace (gnu home-services fontutils) with (gnu services fontutils).
Replace (gnu home-services shells) with (gnu home services shells).
Replace (gnu home-services symlink-manager) with
(gnu home services symlink-manager).
Replace (gnu home-services xdg) with (gnu home services xdg).
* gnu/home-services/fontutils.scm: Rename to gnu/services/fontutils.scm.
* gnu/home-services/mcron.scm: Move to gnu/home/services/mcron.scm.
Replace (gnu home-services shepherd) with (gnu home services shepherd).
* gnu/home-services.scm (%service-type-path):
Search home services in "gnu/services".
* gnu/home-services/shells.scm: Replace (gnu home-services configuration) with
(gnu home services configuration).
Rename to gnu/home/services/shells.scm.
Replace (gnu home-services utils) with (gnu home services utils).
* gnu/home-services/shepherd.scm: Move to gnu/home/services/shepherd.scm.
* gnu/home-services/symlink-manager.scm:
Rename to gnu/home/services/symlink-manager.scm.
* gnu/home-services/utils.scm: Rename to gnu/home/services/utils.scm.
* gnu/home-services/xdg.scm: Rename to gnu/home/services/xdg.scm.
* guix/scripts/home/import.scm:
Replace (gnu home-services bash) with (gnu home services bash).
* gnu/home-services.scm: Update documentation string.
* doc/he-config-bare-bones.scm:
Apply new (gnu home-services ...) modules location.
* gnu/local.mk (GNU_SYSTEM_MODULES): Same.
2021-10-08 15:36:18 +03:00
Andrew Tropin 5d4f39e64a
home-services: run-on-change: Handle first generation case.
* gnu/home-services.scm
(compute-on-change-gexp): Handle first generation case.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:51 +03:00
Andrew Tropin a307b51ea8
home-services: activation: Add support for multiline env vars.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:50 +03:00
Andrew Tropin 05093ffda2
home-services: Add fold-home-service-types function.
* gnu/home-services.scm (parent-directory, %guix-home-root-directory,
%service-type-path, all-home-service-modules, fold-home-service-types): New
variables.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:54 +03:00
Andrew Tropin 305edf9c3a
home-services: Add home-provenance-service-type.
* gnu/home-services.scm (home-provenance-service-type, sexp->home-provenance,
home-provenance): New variables.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:54 +03:00
Andrew Tropin e65848d153
home-services: Add home-run-on-change-service-type.
* gnu/home-services.scm (home-run-on-change-service-type): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:54 +03:00
Andrew Tropin 3588bb0f4a
home-services: Add most essential home services.
* gnu/home-services.scm (home-service-type, home-profile-service-type)
(home-environment-variables-service-type, home-files-service-type)
(home-run-on-first-login-service-type, home-activation-service-type): New
variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services.scm.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:53 +03:00