services: Add iwd.

* rosenthal/services/networking.scm: New file.
(%iwd-config-general,%iwd-config-network,%iwd-config-blacklist)
(%iwd-config-rank,%iwd-config-scan,%iwd-config-ipv4,%iwd-config-driver-quirks)
(iwd-shepherd-service,iwd-service-type): New variables.
(uglify-field-name,serialize-field,serialize-string,serialize-boolean,cidr4?)
(serialize-cidr4,randomization-method?,serialize-randomization-method)
(randomization-range?,serialize-randomization-range,signal-strength?)
(serialize-signal-strength,seconds?,serialize-seconds,protection-mode?)
(serialize-protection-mode,resolution-method?,serialize-resolution-method)
(serialize-integer,serialize-number,serialize-list-of-strings,list-of-cidr4?)
(serialize-list-of-cidr4,serialize-iwd-configuration,add-iwd-config)
(add-iwd-package): New procedures.
(string,cidr4,list-of-strings): New maybe values.
(iwd-configuration): New data type.
* README.org (Services): Add iwd-service-type.
This commit is contained in:
Hilton Chain committed 2023-09-20 21:00:04 +08:00
1 parent 8a3260ecb0
commit 55bd3067f0
2 files changed
+384

No files matched your search

+1
View File
@@ -131,6 +131,7 @@ Non-free Packages / 非自由軟件:
+ clash-service-type
+ cloudflare-tunnel-service-type
+ cloudflare-warp-service-type
+ iwd-service-type
+ miniflux-service-type
+ qbittorrent-service-type
+ (home-)shadow-tls-service-type