Commit Graph

27 Commits

Author SHA1 Message Date
Hilton Chain
a8af080932
rosenthal: clash-meta-bin: Update to 1.18.0, rename to mihomo-bin.
* rosenthal/packages/binaries.scm (clash-meta-bin): Update to 1.18.0.
Rename to…
(mihomo-bin): …this.
(clash-meta-bin): Define as deprecated package.
* rosenthal/services/child-error.scm (clash-shepherd-service): Adjust
accordingly.
2024-01-15 09:13:19 +08:00
Hilton Chain
bb3538a937
services: wakapi: Add configuration action.
* rosenthal/services/child-error.scm (home-wakapi-shepherd-service)[actions]:
Add configuration action.
2023-12-08 19:44:30 +08:00
Hilton Chain
7944d2b25c
services: clash: Add configuration action.
* rosenthal/services/child-error.scm (clash-shepherd-service)[actions]: Add
configuration action.
2023-12-08 16:05:29 +08:00
Hilton Chain
df1b070693
services: clash: Rotate logs.
* rosenthal/services/child-error.scm (clash-log-rotations): New procedure.
(clash-service-type): Extend rottlog-service-type with it.
2023-12-08 12:55:55 +08:00
Hilton Chain
de09e5adc6
services: cloudflare-tunnel: Rotate logs.
* rosenthal/services/child-error.scm (cloudflare-tunnel-log-rotations):
New procedure.
(cloudflare-tunnel-service-type): Extend rottlog-service-type with it.
2023-12-08 12:55:49 +08:00
Hilton Chain
a3d7639ccd
services: clash: Add shepherd-provision configuration.
* rosenthal/services/child-error.scm (clash-configuration): Add field
shepherd-provision.
(clash-shepherd-service): Use it.
2023-11-26 13:23:57 +08:00
Hilton Chain
417dd04e82
services: clash: Support Clash.Meta kernel.
* rosenthal/services/child-error.scm (clash-shepherd-service)[start]: Support
Clash.Meta kernel.
2023-11-03 20:33:21 +08:00
Hilton Chain
3753e7ad1c
services: shadow-tls: Support service-type mapping.
* rosenthal/services/child-error.scm <top level>: Use
define-service-type-mapping.
2023-08-21 16:22:22 +08:00
Hilton Chain
f8b6295e90
services: Add shadow-tls.
* rosenthal/services/child-error.scm (<shadow-tls-configuration>)
(<shadow-tls-client-configuration>,<shadow-tls-server-configuration>): New
record types.
(shadow-tls-service-type,home-shadow-tls-service-type): New variables.
* README.org (Services): Add them.
2023-08-21 10:22:03 +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
1505b2d7b3
services: Add home-socks2http.
* rosenthal/services/child-error.scm (home-socks2http-configuration)
(home-socks2http-shepherd-service,home-socks2http-service-type): New variables
2023-08-04 13:28:45 +08:00
Hilton Chain
62db72e49f
services: cloudflare-tunnel: Set token in environment variable.
* rosenthal/services/child-error.scm (cloudflare-tunnel-shepherd-service)
[start]<#:environment-variables>: Set token here to avoid seeing it in `ps'.
2023-07-29 18:59:31 +08:00
Hilton Chain
bf8cd7341a
services: Add cloudflare-warp-service-type.
* rosenthal/services/child-error.scm (cloudflare-warp-configuration)
(cloudflare-warp-service-type): New variables.
2023-07-15 23:59:21 +08:00
Hilton Chain
d091a0f624
services: wakapi: Use wakapi package.
* rosenthal/services/child-error.scm (home-wakapi-configuration)[wakapi]:
Change default value to wakapi-bin package.
(home-wakapi-shepherd-service)[start]: Adjust accordingly.
[stop]: Add missing field.
2023-07-15 00:53:22 +08:00
Hilton Chain
74ad534cc6
services: clash: Use clash package.
* rosenthal/services/child-error.scm (clash-configuration)[clash]: Change
default value to clash-bin package.
(clash-shepherd-service)[start]: Adjust accordingly.
2023-07-15 00:51:13 +08:00
Hilton Chain
7171134718
services: miniflux: Rename config to options.
* rosenthal/services/child-error.scm (miniflux-configuration)[miniflux]:
Switch to a package.
[config]: Rename to ...
[optinos]: ...this.
(miniflux-shepherd-service): Switch to MATCH-RECORD.
Construct single option with FORMAT.
2023-07-07 15:30:06 +08:00
Hilton Chain
e3ed83a22a
services: cloudflare-tunnel-service-type: Use cloudflared package.
* rosenthal/services/child-error.scm (cloudflare-tunnel-configuration)
(cloudflare-tunnel-shepherd-service): Switch to cloudflared package.
2023-01-28 20:07:36 +08:00
Hilton Chain
8181b7fb4e
services: child-error: Remove unneeded user and groups.
* rosenthal/services/child-error.scm (%cloudflare-tunnel-accounts): Deleted
variable.
(cloudflare-tunnel-shepherd-service)[start]: Change to `nobody` and `nogroup`.
(cloudflare-tunnel-service-type)[extensions]: Adjusted accordingly.
(%miniflux-accounts): Deleted `miniflux` group and use `nogroup` instead.
(miniflux-shepherd-service): Adjusted accordingly.
2022-12-19 14:57:26 +08:00
Hilton Chain
4c0227fb4a
services: Add miniflux-service-type.
* rosenthal/services/child-error.scm (miniflux-configuration)
(%miniflux-accounts,%miniflux-postgresql-role,miniflux-shepherd-service)
(miniflux-service-type): New variables.
2022-12-03 15:40:07 +08:00
Hilton Chain
f1d89d66f0
services: Add home-wakapi-service-type.
* rosenthal/services/child-error.scm (home-wakapi-configuration)
(home-wakapi-shepherd-service,home-wakapi-service-type): New variables.
2022-12-03 15:25:52 +08:00
Hilton Chain
8b741c241e
services: Add clash-service-type.
* rosenthal/services/child-error.scm (clash-configuration,%clash-accounts)
(clash-activation,clash-shepherd-service,clash-service-type): New variables.
2022-12-03 15:24:50 +08:00
Hilton Chain
abeacc8731
services: cloudflare-tunnel-shepherd-service: Inline tunnel options.
* rosenthal/services/child-error.scm (cloudflare-tunnel-shepherd-service):
Inline tunnel-options.
2022-12-01 23:02:20 +08:00
Hilton Chain
6f168bc772
services: cloudflare-tunnel-configuration: Add extra-tunnel-options.
* rosenthal/services/child-error.scm (cloudflare-tunnel-configuration): Add
extra-tunnel-options.
(cloudflare-tunnel-shepherd-service): Honor it.
2022-12-01 23:00:29 +08:00
Hilton Chain
6dc8bbfa04
services: cloudflare-tunnel-configuration: Define with define-configuration.
* rosenthal/services/child-error.scm (cloudflare-tunnel-configuration): Change
to `define-configuration` form.
2022-12-01 22:47:18 +08:00
Hilton Chain
0c0571462b
services: cloudflare-tunnel-service-type: Add %cloudflare-tunnel-accounts.
* rosenthal/services/child-error.scm (%cloudflare-tunnel-accounts): New
variable.
(cloudflare-tunnel-shepherd-service,cloudflare-tunnel-service-type): Honor it.
2022-12-01 22:36:03 +08:00
Hilton Chain
2370498264
services: cloudflare-tunnel-shepherd-service: Reduce requirements.
* rosenthal/services/child-error (cloudflare-tunnel-shepherd-service)
[requirement]: Remove loopback and user-processes.
2022-12-01 15:51:26 +08:00
Hilton Chain
2b8d1603a7
services: Add cloudflare-tunnel-service-type.
rosenthal/services/child-error.scm: New file.
(<cloudflare-tunnel-configuration>): New data type.
(cloudflare-tunnel-service-type): New variable.
2022-11-25 19:37:08 +08:00