diff options
| author | Noé Lopez <noelopez@free.fr> | 2026-03-27 19:31:08 +0100 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-04-04 18:27:03 +0200 |
| commit | f78a0db28d85fa7d166fcaaaa87dd560dd0d856a (patch) | |
| tree | c815e486fc677e73658f73f69cbc99b46b448d5c /gnu/services | |
| parent | b6509681e2c4cf9c585bbc2ebed8821134b60ee0 (diff) | |
services: Add gardenhostd-service-type.
* gnu/services/desktop.scm (gardenhostd-service-type)
(gardenhostd-configuration): New variables.
* doc/guix.texi (Desktop Services): Document it.
Change-Id: Ied926c34b620cc8032a0b121c7419644746e2ce9
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/services')
| -rw-r--r-- | gnu/services/desktop.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 7a892128123..3d5b38d2af1 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | ;;; Copyright © 2025 Jonathan Brielmaier <jonathan.brielmaier@web.de> | 22 | ;;; Copyright © 2025 Jonathan Brielmaier <jonathan.brielmaier@web.de> |
| 23 | ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> | 23 | ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> |
| 24 | ;;; Copyright © 2025 dan <i@dan.games> | 24 | ;;; Copyright © 2025 dan <i@dan.games> |
| 25 | ;;; Copyright © 2026 Noé Lopez <noelopez@free.fr> | ||
| 25 | ;;; | 26 | ;;; |
| 26 | ;;; This file is part of GNU Guix. | 27 | ;;; This file is part of GNU Guix. |
| 27 | ;;; | 28 | ;;; |
| @@ -143,6 +144,9 @@ | |||
| 143 | elogind-service ; deprecated | 144 | elogind-service ; deprecated |
| 144 | elogind-service-type | 145 | elogind-service-type |
| 145 | 146 | ||
| 147 | gardenhostd-configuration | ||
| 148 | gardenhostd-service-type | ||
| 149 | |||
| 146 | %gdm-file-system | 150 | %gdm-file-system |
| 147 | gdm-file-system-service | 151 | gdm-file-system-service |
| 148 | 152 | ||
| @@ -1643,6 +1647,33 @@ when they log out." | |||
| 1643 | 1647 | ||
| 1644 | 1648 | ||
| 1645 | ;;; | 1649 | ;;; |
| 1650 | ;;; Gardenhostd. | ||
| 1651 | ;;; | ||
| 1652 | |||
| 1653 | (define-configuration/no-serialization gardenhostd-configuration | ||
| 1654 | (gardenhostd | ||
| 1655 | (package gardenhostd) | ||
| 1656 | "The gardenhostd package to use.")) | ||
| 1657 | |||
| 1658 | (define (gardenhostd-profile config) | ||
| 1659 | (list (gardenhostd-configuration-gardenhostd config))) | ||
| 1660 | |||
| 1661 | (define gardenhostd-service-type | ||
| 1662 | (service-type | ||
| 1663 | (name 'gardenhostd) | ||
| 1664 | (extensions | ||
| 1665 | (list | ||
| 1666 | (service-extension dbus-root-service-type gardenhostd-profile) | ||
| 1667 | (service-extension polkit-service-type gardenhostd-profile))) | ||
| 1668 | (default-value (gardenhostd-configuration)) | ||
| 1669 | (description "This service provides gardenhostd, a partial | ||
| 1670 | implementation of the systemd-hostnamed daemon. It provides the | ||
| 1671 | org.freedesktop.hostname1 D-Bus interface, which helps applications | ||
| 1672 | like gnome-control-center retrieve and modify the system’s hostname, | ||
| 1673 | as well as set a pretty hostname for display."))) | ||
| 1674 | |||
| 1675 | |||
| 1676 | ;;; | ||
| 1646 | ;;; Fontconfig and other desktop file-systems. | 1677 | ;;; Fontconfig and other desktop file-systems. |
| 1647 | ;;; | 1678 | ;;; |
| 1648 | 1679 | ||
