Commit Graph

7 Commits

Author SHA1 Message Date
Hilton Chain
55bd3067f0
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.
2023-09-20 21:00:04 +08:00
Hilton Chain
8a3260ecb0
Revert "Import iwd-service-type from Nikita Domnitskii's dotfiles."
This reverts commit bbbdd6afec.
2023-09-18 20:59:02 +08:00
Hilton Chain
03b1da5d9e
rosenthal: Remove extraneous imports.
* rosenthal/bootloader/grub.scm: Remove extraneous imports.
* rosenthal/packages/binaries.scm: Likewise.
* rosenthal/packages/dns.scm: Likewise.
* rosenthal/packages/emacs-xyz.scm: Likewise.
* rosenthal/packages/freedesktop.scm: Likewise.
* rosenthal/packages/networking.scm: Likewise.
* rosenthal/packages/web.scm: Likewise.
* rosenthal/packages/xdisorg.scm: Likewise.
* rosenthal/services/networking.scm: Likewise.

* rosenthal/packages/bittorrent.scm: Delete file.
* rosenthal/packages/gnome-xyz.scm: Likewise.
* rosenthal/packages/linux.scm: Likewise.
2023-09-18 19:33:20 +08:00
Hilton Chain
c7dc95c293
services: iwd: Ungexp file-append.
* rosenthal/services/networking.scm (iwd-shepherd-service)
[#:environment-variables]: Ungexp file-append.
2023-08-14 08:41:33 +08:00
Hilton Chain
060204c29e
services: Use match-record.
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[qbittorrent]:
Change field type to file-like.
(qbittorrent-activation,qbittorrent-shepherd-service): Use match-record-lambda
* rosenthal/services/child-error.scm (miniflux-configuration)[miniflux],
(cloudflare-tunnel-configuration)[cloudflared]: Change field type to file-like
(clash-activation,clash-shepherd-service,cloudflare-tunnel-shepherd-service)
(cloudflare-warp-shepherd-service,miniflux-shepherd-service)
(home-wakapi-shepherd-service,home-socks2http-shepherd-service): Use
match-record-lambda.
* rosenthal/services/dns.scm (smartdns-configuration)[smartdns]: Change field
type to file-like.
(smartdns-shepherd-service): Use match-record-lambda.
* rosenthal/services/networking.scm (iwd-configuration)[iwd]: Change field
type to file-like.
(iwd-shepherd-service,iwd-etc-service): Use match-record-lambda.
2023-08-08 13:57:56 +08:00
Hilton Chain
f96276ca08
services: iwd-service-type: Fix build issue.
* rosenthal/services/networking.scm (iwd-shepherd-service,iwd-etc-service):
Switch back to `match-lambda`.
(iwd-configuration,iwd-service-type): Add description.
2022-12-02 21:01:41 +08:00
Hilton Chain
bbbdd6afec
Import iwd-service-type from Nikita Domnitskii's dotfiles.
* LICENSES/BSD-3-Clause/2021-Nikita_Domnitskii.txt: New file.
* rosenthal/services/networking.scm: New file imported from krevedkokun's dotfiles.
<https://git.sr.ht/~krevedkokun/dotfiles/tree/master/item/channel/system/services/networking.scm>
2022-11-25 19:37:06 +08:00