summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/desktop.scm31
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 @@
;;; Copyright © 2025 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com>
;;; Copyright © 2025 dan <i@dan.games>
+;;; Copyright © 2026 Noé Lopez <noelopez@free.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -143,6 +144,9 @@
elogind-service ; deprecated
elogind-service-type
+ gardenhostd-configuration
+ gardenhostd-service-type
+
%gdm-file-system
gdm-file-system-service
@@ -1643,6 +1647,33 @@ when they log out."
;;;
+;;; Gardenhostd.
+;;;
+
+(define-configuration/no-serialization gardenhostd-configuration
+ (gardenhostd
+ (package gardenhostd)
+ "The gardenhostd package to use."))
+
+(define (gardenhostd-profile config)
+ (list (gardenhostd-configuration-gardenhostd config)))
+
+(define gardenhostd-service-type
+ (service-type
+ (name 'gardenhostd)
+ (extensions
+ (list
+ (service-extension dbus-root-service-type gardenhostd-profile)
+ (service-extension polkit-service-type gardenhostd-profile)))
+ (default-value (gardenhostd-configuration))
+ (description "This service provides gardenhostd, a partial
+implementation of the systemd-hostnamed daemon. It provides the
+org.freedesktop.hostname1 D-Bus interface, which helps applications
+like gnome-control-center retrieve and modify the system’s hostname,
+as well as set a pretty hostname for display.")))
+
+
+;;;
;;; Fontconfig and other desktop file-systems.
;;;