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
Hilton Chain
45061dd211
services: qbittorrent: Increase Shepherd grace period.
...
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service):
[start]: Remove #:environment-variables.
[stop]: Add #:grace-period.
2 years 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
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.
2 years ago
Hilton Chain
9660dc4e92
services: Add qbittorrent-service-type.
...
* rosenthal/services/bittorrent.scm: New file.
(qbittorrent-configuration,%qbittorrent-accounts,qbittorrent-activation)
(qbittorrent-shepherd-service,qbittorrent-service-type): New variables.
2 years ago
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.
2 years ago
Hilton Chain
abeacc8731
services: cloudflare-tunnel-shepherd-service: Inline tunnel options.
...
* rosenthal/services/child-error.scm (cloudflare-tunnel-shepherd-service):
Inline tunnel-options.
2 years ago
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.
2 years ago
Hilton Chain
6dc8bbfa04
services: cloudflare-tunnel-configuration: Define with `define-configuration`.
...
* rosenthal/services/child-error.scm (cloudflare-tunnel-configuration): Change
to `define-configuration` form.
2 years ago
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.
2 years ago
Hilton Chain
2370498264
services: cloudflare-tunnel-shepherd-service: Reduce requirements.
...
* rosenthal/services/child-error (cloudflare-tunnel-shepherd-service)
[requirement]: Remove loopback and user-processes.
2 years ago
Hilton Chain
2bc27145b3
Import seatd-service-type from Guix.
...
* rosenthal/services/desktop.scm: New file.
(seatd-configuration,seatd-service-type): New variables.
<https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm >
Removed hard requirements for control group file systems.
2 years ago
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.
2 years ago
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 >
2 years ago