Commit graph

12 commits

Author SHA1 Message Date
Andrew Tropin badf788f15
home-services: Add missing imports and function definition.
* gnu/home-services/configuration.scm: Add missing imports.
* gnu/home-services/utils.scm (list->human-readable-list): Add new function.
* gnu/home-services/configuration.scm: Add missing imports.
* gnu/home-services/xdg.scm: Fix ensure-list function.
* guix/scripts/home/import.scm: Add missing imports.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-28 13:50:21 +03:00
Andrew Tropin 44ed9ebcc7
home-services: shepherd: Add missing exports.
* gnu/home-services/shepherd.scm: Add missing exports.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-13 22:42:16 +03:00
Andrew Tropin bac597cc96
home-services: Add Mcron.
* gnu/home-services/mcron.scm: New file.
* gnu/local.mk: Add this.
* doc/guix.texi: Add documentation about Mcron Home Service.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-13 22:41:25 +03:00
Andrew Tropin 6b5ff71b99
home-services: Add Shepherd.
* gnu/home-services/shepherd.scm: New file.
* gnu/local.mk: Add this.
* doc/guix.texi: Add documentation about Shepherd Home Service.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:28:03 +03:00
Andrew Tropin 3087a5cfa0
home-services: configuration: Add generic-serialize-alist.
* gnu/home-services/configuration.scm (generic-serialize-alist,
generic-serialize-alist-entry): New functions.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:51 +03:00
Andrew Tropin 990e1e0af5
home-services: symlink-manager: Properly handle 1st generation case.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:50 +03:00
Andrew Tropin 833a78b16c
home-services: Add utils module.
* gnu/home-services/utils.scm (maybe-object->string object->snake-case-string)
(object->snake-case-string): New variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services/utils.scm.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:50 +03:00
Andrew Tropin a9214267af
home-services: Add xdg.
* gnu/home-services/xdg.scm
(home-xdg-base-directories-service-type)
(home-xdg-base-directories-configuration)
(home-xdg-base-directories-configuration?)
(home-xdg-user-directories-service-type)
(home-xdg-user-directories-configuration)
(home-xdg-user-directories-configuration?)
(xdg-desktop-action, xdg-desktop-entry)
(home-xdg-mime-applications-service-type)
(home-xdg-mime-applications-configuration): New variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services/xdg.scm.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 20:26:43 +03:00
Andrew Tropin 9a2e9a6144
home-services: Add shells.
* gnu/home-services/shells.scm
(home-shell-profile-service-type, home-shell-profile-configuration)
(home-bash-service-type, home-bash-configuration, home-bash-extension)
(home-zsh-service-type, home-zsh-configuration, home-zsh-extension)
(home-fish-service-type, home-fish-configuration, home-fish-extension): New
variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services/shells.scm.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:54 +03:00
Andrew Tropin a0a914a9a4
home-services: Add helper functions for service configurations.
* gnu/home-services/configuration.scm (helper functions): New variables.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services/configuration.scm.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:54 +03:00
Andrew Tropin 6d2e3168ce
home-services: Add fontutils.
* gnu/home-services/fontutils.scm (home-fontconfig-service-type): New
variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services/fontutils.scm.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2021-09-09 19:54:54 +03:00
Andrew Tropin 1cc03081e8
home-services: Add symlink-manager.
* gnu/home-services/symlink-manager.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add home-services/symlink-manager.scm.

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