Commit Graph
12 Commits
Author SHA1 Message Date
Hilton Chain 6e28a0825b utils: Add scm->kdl-string, scm->kdlv1-string, kdl-file and kdlv1-file. 2026-08-14 05:17:36 +08:00
Hilton Chain 86d418b080 utils: *-file: Support S-expression as well.
* modules/rosenthal/utils/file.scm (ini-file, json-file, toml-file, yaml-file):
Support S-expression.
2026-05-29 14:38:24 +08:00
Hilton Chain 603d65387a utils: file: Make computed-file non-substitutable.
* modules/rosenthal/utils/file.scm (computed-substitution-with-inputs)
(hidden-desktop-entry, ini-file, json-file, toml-file, yaml-file): Disable substitutable?.
2026-04-10 13:01:44 +08:00
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