1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: dnsmasq: Install dbus config.

While DBUS service is enabled in dnsmasq, it does not work without installing
a config file to the system.

* gnu/packages/dns.scm (dnsmasq): Install dbus config.
* gnu/services/dns.scm (dnsmasq): Extend dbus-root-service-type.

Change-Id: I5187f65e1f2892eb10fb95e6f51955559f64dbef
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Sergey Trofimov
2025-05-09 09:36:47 +02:00
committed by Ludovic Courtès
parent a4c8353663
commit a01acf2d49
2 changed files with 10 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
(define-module (gnu services dns)
#:use-module (gnu services)
#:use-module (gnu services configuration)
#:use-module (gnu services dbus)
#:use-module (gnu services shepherd)
#:use-module (gnu system shadow)
#:use-module (gnu packages admin)
@@ -993,6 +994,8 @@ log.")
(extensions
(list (service-extension shepherd-root-service-type
(compose list dnsmasq-shepherd-service))
(service-extension dbus-root-service-type
(compose list dnsmasq-configuration-package))
(service-extension activation-service-type
dnsmasq-activation)))
(default-value (dnsmasq-configuration))