Hilton Chain
e4b84dfa2c
services: jellyfin: Allow gexps in extra-options.
...
* rosenthal/services/web.scm (jellyfin-configuration)[extra-options]: Change
type to list.
3 months ago
Hilton Chain
1deb97ada4
services: Add jellyfin-service-type.
...
* rosenthal/services/web.scm (jellyfin-configuration): New data type.
(jellyfin-log-rotations,jellyfin-activation,jellyfin-oci-containers): New
procedures.
(%jellyfin-accounts,jellyfin-service-type): New variables.
3 months ago
Hilton Chain
fa1bcd5018
services: cloudflare-warp: Don't log stdout.
...
* rosenthal/services/child-error.scm (cloudflare-warp-shepherd-service)
[start]<#:log-file>: Set to "/dev/null".
3 months ago
Hilton Chain
21ba2f200f
services: Add home-qbittorrent-service-type.
...
* rosenthal/services/bittorrent.scm (home-qbittorrent-activation)
(home-qbittorrent-shepherd-service,home-qbittorrent-service-type): New
variables.
3 months ago
Hilton Chain
bd6508000e
services: Add misskey-service-type.
...
* rosenthal/services/web.scm (misskey-configuration): New data type.
(misskey-service-type): New variable.
3 months ago
Hilton Chain
a367c5c974
services: Add vaultwarden-service-type.
...
* rosenthal/services/web.scm (vaultwarden-configuration): New data type.
(vaultwarden-activation,vaultwarden-oci-containers): New procedures.
(%vaultwarden-accounts,%vaultwarden-postgresql-role,vaultwarden-service-type):
New variables.
3 months ago
Hilton Chain
7409288c70
services: tailscale: Reduce configuration fields.
...
* rosenthal/services/networking.scm (tailscale-configuration)
[extra-options]: New field.
[iptables]: Switch to iptables-nft.
[socket]: Move to /run.
[bird-socket,debug-server,port,http-proxy-server,socks5-server,state-file]
[tunnel-interface]: Remove fields.
(tailscale-shepherd-service): Adjust accordingly.
3 months ago
Hilton Chain
1d40787105
services: miniflux: Support proxy.
...
* rosenthal/services/child-error.scm (miniflux-configuration)[proxy-url]: New
field.
(miniflux-shepherd-service): Fix miniflux path.
Adjust accordingly.
3 months ago
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.
3 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.
9 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.
12 months ago
Hilton Chain
1825c484c4
services: iwd: Remove resolvconf configuration.
...
* rosenthal/services/networking.scm (iwd-configuration)[resolvconf]: Remove
field.
[iwd-shepherd-service]: Adjust accordingly.
12 months ago
Hilton Chain
2c20cd4eff
services: iwd: Use default environment variables.
...
* rosenthal/services/networking.scm (iwd-shepherd-service)
[#:environment-variables]: Remove field.
12 months ago
Hilton Chain
bb3538a937
services: wakapi: Add configuration action.
...
* rosenthal/services/child-error.scm (home-wakapi-shepherd-service)[actions]:
Add configuration action.
1 year 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.
1 year 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.
1 year ago
Hilton Chain
1109aed83b
services: iwd: Simplify configuration serialization procedure.
...
* rosenthal/services/networking.scm (serialize-iwd-configuration): Simplify.
1 year ago
Hilton Chain
7944d2b25c
services: clash: Add configuration action.
...
* rosenthal/services/child-error.scm (clash-shepherd-service)[actions]: Add
configuration action.
1 year ago
Hilton Chain
eda1456a74
services: qbittorrent: Add configuration action.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service)[actions]:
Add configuration action.
1 year ago
Hilton Chain
08c2d38b09
services: qbittorrent: Add default configuration file.
...
* rosenthal/services/bittorrent.scm (%qbittorrent-default-config-file):
New variable.
(qbittorrent-activation): Install it.
1 year 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.
1 year 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.
1 year 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.
1 year 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.
1 year 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.
1 year 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.
2 years ago
Hilton Chain
b829115cda
services: qbittorrent: Use qbittorrent-nox.
...
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[qbittorrent]:
Use qbittorrent-nox.
2 years ago
Hilton Chain
5ae5900f2d
services: qbittorrent: Use match-record.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service): Use
match-record.
2 years ago