mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
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>
This commit is contained in:
committed by
Liliana Marie Prikler
parent
b6509681e2
commit
f78a0db28d
@@ -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
|
||||
|
||||
@@ -1641,6 +1645,33 @@ types (graphical, console, remote, etc.). It can also clean up after users
|
||||
when they log out."
|
||||
(service elogind-service-type config))
|
||||
|
||||
|
||||
;;;
|
||||
;;; 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.
|
||||
|
||||
Reference in New Issue
Block a user