Hilton Chain
f58f1b0583
utils: Add toml-file.
...
* modules/rosenthal/utils/file.scm (toml-file): New procedure.
* modules/rosenthal/services/web.scm (conduit-shepherd, iocaine-etc)
(navidrome-shepherd-service): Use it.
2026-02-26 10:26:42 +08:00
Hilton Chain
f8fb2556c3
utils: Add json-file.
...
* modules/rosenthal/utils/file.scm (json-file): New procedure.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons-installer)
[.cache/noctalia/shell-state.json]: Use it.
2026-02-25 16:18:45 +08:00
Hilton Chain
8782619822
utils: Add yaml-file.
...
* modules/rosenthal/utils/file.scm (yaml-file): New procedure.
* modules/rosenthal/services/monitoring.scm (loki-shepherd, mimir-shepherd)
(prometheus-shepherd)
* modules/rosenthal/services/web.scm (misskey-oci): Use it.
* modules/rosenthal/utils/serializers.scm
* modules/rosenthal/utils/serializers/yaml.scm: Delete modules.
2026-02-25 15:32:16 +08:00
Hilton Chain
d6fac7ef25
utils: Add ini-file.
...
* modules/rosenthal/utils/file.scm (ini-file): New procedure.
* modules/rosenthal/services/monitoring.scm (grafana-shepherd)
* modules/rosenthal/services/web.scm (forgejo-shepherd-service): Use it.
* modules/rosenthal/utils/serializers/ini.scm: Delete module.
2026-02-25 15:32:11 +08:00
Hilton Chain
53c757521a
maint: Update REUSE.toml, adjust SPDX headers and module imports.
2026-02-07 18:22:14 +08:00
Hilton Chain
dfe569fdc0
utils: computed-substitution-with-inputs: Support directory substitution.
...
* modules/rosenthal/utils/file.scm (computed-substitution-with-inputs): Support
directory substitution.
Error when pattern not found.
2025-09-12 14:33:50 +08:00
Hilton Chain
c190e8a468
utils: hidden-desktop-entry: Fix substitution pattern.
...
* modules/rosenthal/utils/file.scm (hidden-desktop-entry): Fix pattern.
2025-06-28 01:04:02 +08:00
Hilton Chain
8c1b2e9c61
utils: Add ‘hidden-desktop-entry’.
...
* modules/rosenthal/utils/file.scm (hidden-desktop-entry): New procedure.
2025-06-27 21:48:47 +08:00
Hilton Chain
0ab2a7eb1a
utils: Add helper procedures from my dotfiles.
...
* modules/rosenthal/utils/packages.scm (delete-package-from-list, pkg)
(pkg+out, pkgs, pkgs+out): New procedures.
* modules/rosenthal/utils/file.scm (computed-substitution-with-inputs)
(file-content): New procedures.
2025-06-11 00:16:35 +08:00