Ludovic Courtès
29de2edfbb
system, home: Validate ‘services’ field value.
...
This guides newcomers who might stick a single (service …) form
in this field.
* gnu/services.scm (validate-service-list): New macro.
(%validate-service-list): New procedure.
* gnu/system.scm (<operating-system>)[services]: Add ‘sanitize’.
* gnu/home.scm (<home-environment>)[services]: Add ‘sanitize’.
Change-Id: I9e29bd9a078e87b627ab766fd669ba9de79f8473
2024-03-22 11:40:33 +01:00
Sergey Trofimov
1f36534c7e
home: 'home-environment-with-provenance' uses the HE location info.
...
* gnu/home.scm (home-environment-with-provenance): Make `config-file`
optional, with the default taken from the HE location info.
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-03-20 09:14:23 +04:00
Sergey Trofimov
377c8143e7
home: Export home-environment-packages.
...
* gnu/home.scm (home-environment-packages): Export procedure.
Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-03-13 16:41:34 +04:00
Andrew Tropin
e60ba7eb6d
home: Fix docstring.
...
gnu/home.scm (home-environment-derivation): Fix docstring.
2022-08-19 18:55:41 +03:00
Ludovic Courtès
61db74a687
home: Add 'home-generation-base'.
...
This reverts commit 670818a404
,
thereby reinstating 5df8f7802e
.
* gnu/home.scm (%profile-generation-rx): New variable.
(home-generation-base): New procedure.
2022-08-01 00:02:04 +02:00
Tobias Geerinckx-Rice
670818a404
Revert "home: Add 'home-generation-base'."
...
This reverts commit 5df8f7802e
.
This commit or the next one appears to have broken ‘guix pull’.
2022-07-17 02:00:00 +02:00
Ludovic Courtès
5df8f7802e
home: Add 'home-generation-base'.
...
* gnu/home.scm (%profile-generation-rx): New variable.
(home-generation-base): New procedure.
2022-07-23 00:39:55 +02:00
Andrew Tropin
ed818c66d3
home: Add gexp-compiler for home-environments.
...
* gnu/home.scm (home-environment-compiler): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-12-19 23:39:55 +01:00
Oleg Pykhalov
0e8d2df0f1
Move (gnu home-services) to (gnu home services).
...
* gnu/home-services.scm (%guix-home-root-directory): Replace
gnu/home-services.scm with "gnu/home/services.scm".
Rename to gnu/home/services.scm.
* gnu/local.mk
(GNU_SYSTEM_MODULES): Rename gnu/home-services.scm to gnu/home/services.scm.
* doc/he-config-bare-bones.scm:
Replace (gnu home-services) with (gnu home services).
* gnu/home.scm: Same.
* gnu/home/services/fontutils.scm: Same.
* gnu/home/services/mcron.scm: Same.
* gnu/home/services/shells.scm: Same.
* gnu/home/services/shepherd.scm: Same.
* gnu/home/services/symlink-manager.scm: Same.
* gnu/home/services/xdg.scm: Same.
* guix/scripts/home.scm: Same.
* guix/self.scm: Same.
2021-10-09 19:24:18 +03:00
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
994c66bf84
gnu: home: Add doc comment about the module.
...
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:51 +03:00
Andrew Tropin
7fcc64253c
home: Add home-environment.
...
* gnu/home.scm
(home-environment, home-environment?, this-home-environment)
(home-environment-derivation, home-environment-user-services)
(home-environment-essential-services, home-environment-services)
(home-environment-location, home-environment-with-provenance): New variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home.scm.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:50 +03:00