services: iwd: Remove resolvconf configuration.

* rosenthal/services/networking.scm (iwd-configuration)[resolvconf]: Remove
field.
[iwd-shepherd-service]: Adjust accordingly.
This commit is contained in:
Hilton Chain 2024-01-13 21:32:50 +08:00
parent 56a4ff8d10
commit 1825c484c4
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -7,7 +7,6 @@
#:use-module (ice-9 match)
#:use-module (guix gexp)
#:use-module (guix records)
#:use-module (gnu packages dns)
#:use-module (gnu packages linux)
#:use-module (gnu packages networking)
#:use-module (gnu services)
@ -148,10 +147,6 @@
(file-like iwd)
"The iwd package to use.")
(resolvconf
(file-like openresolv)
"The resolvconf package to use.")
(log-file
(string "/var/log/iwd.log")
"Log file location.")
@ -334,7 +329,7 @@ list, power save will be disabled."))
(define (iwd-shepherd-service config)
(match-record config <iwd-configuration>
(iwd resolvconf log-file
(iwd log-file
enable-network-configuration? name-resolving-service)
(let ((conf (serialize-iwd-configuration config)))
(list (shepherd-service