Hilton Chain
f42f8e258b
services: cloudflare-tunnel: Reduce configuration fields.
...
* rosenthal/services/child-error.scm (cloudflare-tunnel-configuration)
[metrics,http2-origin?,post-quantum?]: Remove fields.
(cloudflare-tunnel-shepherd-service): Adjust accordingly.
2 months ago
Hilton Chain
c202ed2037
services: Add btrbk-service-type.
...
* rosenthal/services/file-systems.scm: New file.
(<btrbk-configuration>): New data type.
(btrbk-etc-service,btrbk-mcron-jobs): New procedures.
(btrbk-service-type): New variable.
8 months ago
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.
10 months ago
Hilton Chain
1825c484c4
services: iwd: Remove resolvconf configuration.
...
* rosenthal/services/networking.scm (iwd-configuration)[resolvconf]: Remove
field.
[iwd-shepherd-service]: Adjust accordingly.
10 months ago
Hilton Chain
2c20cd4eff
services: iwd: Use default environment variables.
...
* rosenthal/services/networking.scm (iwd-shepherd-service)
[#:environment-variables]: Remove field.
10 months ago
Hilton Chain
bb3538a937
services: wakapi: Add configuration action.
...
* rosenthal/services/child-error.scm (home-wakapi-shepherd-service)[actions]:
Add configuration action.
12 months ago
Hilton Chain
7bfe230793
services: tailscale: Add `ip' command to PATH.
...
* rosenthal/services/networking.scm (tailscale-shepherd-service)
[start]<#:environment-variables>: Add iproute to PATH.
12 months ago
Hilton Chain
11e3fde3fe
services: iwd: Change file path for configuration action.
...
* rosenthal/services/networking.scm (iwd-shepherd-service)
[actions]<configuration>: Change file path to /etc/iwd/main.conf.
12 months ago
Hilton Chain
1109aed83b
services: iwd: Simplify configuration serialization procedure.
...
* rosenthal/services/networking.scm (serialize-iwd-configuration): Simplify.
12 months ago
Hilton Chain
7944d2b25c
services: clash: Add configuration action.
...
* rosenthal/services/child-error.scm (clash-shepherd-service)[actions]: Add
configuration action.
12 months ago
Hilton Chain
eda1456a74
services: qbittorrent: Add configuration action.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service)[actions]:
Add configuration action.
12 months ago
Hilton Chain
08c2d38b09
services: qbittorrent: Add default configuration file.
...
* rosenthal/services/bittorrent.scm (%qbittorrent-default-config-file):
New variable.
(qbittorrent-activation): Install it.
12 months ago
Hilton Chain
356e06bd51
services: qbittorrent: Remove log-file option.
...
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[log-file]:
Delete field.
(qbittorrent-activation,qbittorrent-shepherd-service): Adjust accordingly.
12 months ago
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.
12 months ago
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.
12 months ago
Hilton Chain
95393955f1
services: iwd: Rotate logs.
...
* rosenthal/services/networking.scm (iwd-log-rotations): New procedure.
(iwd-service-type): Extend rottlog-service-type with it.
12 months ago
Hilton Chain
bf0c5dc70b
services: tailscale: Rotate logs.
...
* rosenthal/services/networking.scm (tailscale-log-rotations): New procedure.
(tailscale-service-type): Extend rottlog-service-type with it.
12 months ago
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.
1 year ago
Hilton Chain
16ab4f71da
services: Add tailscale.
...
* rosenthal/services/networking.scm (tailscale-configuration): New data type.
(tailscale-shepherd-service,tailscale-service-type): New variables.
* README.org: Update.
1 year ago
Hilton Chain
417dd04e82
services: clash: Support Clash.Meta kernel.
...
* rosenthal/services/child-error.scm (clash-shepherd-service)[start]: Support
Clash.Meta kernel.
1 year ago
Hilton Chain
2e3affd193
services: iwd: Only provision networking when configured.
...
* rosenthal/services/networking.scm (iwd-shepherd-service)[provision]:
Provision networking when network configuration enabled.
1 year ago
Hilton Chain
5dbef96272
services: iwd: Remove deprecated configuration field.
...
ap-ranges is deprecated in favor of ap-address-pool.
* rosenthal/services/networking.scm (%iwd-config-general,uglify-field-name)
(iwd-configuration): Remove ap-ranges.
1 year ago
Hilton Chain
00c10e204c
services: qbittorrent: Raise limit for maximum open file descriptors.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service)
[#:resource-limits]: Set nofile to 65536 65536.
1 year ago
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.
1 year ago
Hilton Chain
8a3260ecb0
Revert "Import iwd-service-type from Nikita Domnitskii's dotfiles."
...
This reverts commit bbbdd6afec
.
1 year ago
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.
1 year ago
Hilton Chain
3753e7ad1c
services: shadow-tls: Support service-type mapping.
...
* rosenthal/services/child-error.scm <top level>: Use
define-service-type-mapping.
1 year ago
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.
1 year ago
Hilton Chain
c7dc95c293
services: iwd: Ungexp file-append.
...
* rosenthal/services/networking.scm (iwd-shepherd-service)
[#:environment-variables]: Ungexp file-append.
1 year ago
Hilton Chain
fc26b38cbb
Revert "Import seatd-service-type from Guix."
...
This reverts commit 2bc27145b3
.
Guix has switched to cgroup v2 in 969cea683615e79c7e6548f945f15af80ad58a8a.
1 year ago
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.
1 year ago
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
1 year ago
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'.
1 year ago
Hilton Chain
bf8cd7341a
services: Add cloudflare-warp-service-type.
...
* rosenthal/services/child-error.scm (cloudflare-warp-configuration)
(cloudflare-warp-service-type): New variables.
1 year ago
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.
1 year ago
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.
1 year ago
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.
1 year ago
Hilton Chain
5b132c8844
services: smartdns: Rename config to config-file.
...
* rosenthal/services/dns.scm (smartdns-configuration)[config]: Rename to ...
[config-file]: ...this.
(smartdns-shepherd-service): Switch to match-record.
[start]: Adjust accordingly.
1 year ago
Hilton Chain
b717b87fcd
services: smartdns: Remove log-file option.
...
It's already configured in the config flie.
* rosenthal/services/dns.scm (smartdns-configuration)[log-file]: Remove field.
(smartdns-shepherd-service): Adjust MATCH-LAMBDA.
[start]: Remove "-x" option.
<#:log-file>: Remove field.
1 year ago
Hilton Chain
e545bc545d
services: qbittorrent: Require networking.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service)
[requirement]: Replace loopback to networking.
1 year ago
Hilton Chain
b829115cda
services: qbittorrent: Use qbittorrent-nox.
...
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[qbittorrent]:
Use qbittorrent-nox.
1 year ago
Hilton Chain
5ae5900f2d
services: qbittorrent: Use match-record.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service): Use
match-record.
1 year ago
Hilton Chain
45061dd211
services: qbittorrent: Increase Shepherd grace period.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service):
[start]: Remove #:environment-variables.
[stop]: Add #:grace-period.
1 year ago
Hilton Chain
698731e230
rosenthal: Remove smartdns. [upstreamed]
...
* rosenthal/packages/dns.scm (smartdns): Delete variable.
2 years ago
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.
2 years ago
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.
2 years ago
Hilton Chain
37d9e02d76
services: smartdns-service-type: Add option to specify log file.
...
* rosenthal/services/dns.scm (smartdns-configuration): Add log-file option.
(smartdns-shepherd-service): Honor it.
2 years ago
Hilton Chain
a1e7e1df3c
services: Add smartdns-service-type.
...
* rosenthal/services/dns.scm: New file.
(smartdns-configuration,smartdns-shepherd-service,smartdns-service-type): New
variables.
2 years ago
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.
2 years ago
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.
2 years ago