Compare commits

..
1340 Commits
Author SHA1 Message Date
Hilton Chain 731b5877ff rosenthal: linux-cachyos: Refresh package location. 2026-10-11 02:58:34 +08:00
Hilton Chain c2897f17ad rosenthal: linux-cachyos: Remove builtin ZFS modules. 2026-10-11 01:45:06 +08:00
Hilton Chain 2dae5082ff utils: binary-package: Inherit location. 2026-10-11 01:45:00 +08:00
Hilton Chain 5119a0fbfd build-system: go-vendored: Simplify arguments handling. 2026-10-10 15:53:30 +08:00
Hilton Chain 9525c5b1c0 build-system: go-vendored: Reuse go-build-system code. 2026-10-10 11:29:55 +08:00
Hilton Chain bdde9175c6 etc: Update committer.scm. 2026-10-10 11:29:53 +08:00
Hilton Chain e4aff75551 README: Content: Add services and use tables. 2026-10-09 14:50:51 +08:00
Hilton Chain 0d00baa9e1 README: Add packages list.
* etc/scripts/package-index.scm: New file.
* README.org (Packages): Use its output.
2026-10-09 03:06:48 +08:00
Hilton Chain 34502202bf rosenthal: linux-cachyos: Really make substitutable.
Follow-up to 625844a768b0aa4b3739d2c88c057dacfebcf314.
2026-10-05 11:54:18 +08:00
Hilton Chain 641f1fbd71 rosenthal: linux-cachyos: Make substitutable.
* modules/rosenthal/packages/linux.scm (linux-cachyos-lts-server)
(linux-cachyos-bore-zen4): Make substitutable.
2026-10-05 11:40:16 +08:00
Hilton Chain 1398722e04 rosenthal: linux-cachyos-bore-zen4: Update to 7.2.9-2.
* modules/rosenthal/packages/linux.scm (linux-cachyos-bore-zen4): Update to
7.2.9-2.
2026-10-04 23:36:29 +08:00
Hilton Chain 74b0cd7410 rosenthal: linux-cachyos-lts-server: Update to 6.18.55-1.
* modules/rosenthal/packages/linux.scm (linux-cachyos-lts-server): Update to
6.18.55-1.
2026-10-04 23:36:29 +08:00
Hilton Chain ed54329e1f rosenthal: linux-cachyos: Build ZFS modules into the kernels.
* modules/rosenthal/packages/linux.scm (linux-cachyos-lts-server)
(linux-cachyos-bore-zen4): Use linux-with-zfs.
2026-10-04 23:36:29 +08:00
Hilton Chain 14bde08c8b rosenthal: linux: Add linux-with-zfs.
* modules/rosenthal/packages/linux.scm (linux-with-zfs): New procedure.
2026-10-04 23:36:26 +08:00
Hilton Chain 1f35f0e393 rosenthal: noctalia: Update to 5.2.0. 2026-09-29 11:43:40 +08:00
Hilton Chain 87bfe33314 rosenthal: noctalia-greeter: Update to 1.6.0. 2026-09-29 11:43:40 +08:00
Hilton Chain 5f312b336d services: messaging: Add (rosenthal utils file) import. 2026-09-29 11:43:32 +08:00
Hilton Chain 805ea83faf rosenthal: Add packages and variables from testament.
* modules/rosenthal/packages/linux.scm (default-initrd-configs)
(cachyos-configs): New procedures.
(linux-cachyos-lts-server, linux-cachyos-bore-zen4): New variables.
* modules/rosenthal/utils/others.scm (%rosenthal-guix-key-dorphine)
(%rosenthal-guix-key-nuporta, %rosenthal-guix-key-bocis)
(%rosenthal-guix-key-ignamma, %rosenthal-ssh-key-hako)
(%rosenthal-ssh-key-hako-deploy, %rosenthal-ssh-key-jonathan)
(%rosenthal-ssh-key-podiki, %rosenthal-network-manager-ipv6-privacy)
(%rosenthal-network-manager-random-mac-address, %rosenthal-cli-packages): New
variables.
2026-09-28 20:03:46 +08:00
Hilton Chain 8aae7d26dd rosenthal: guix-for-mirror-substitutes: Update to 1.5.0-7.5ceffb6. 2026-09-28 20:03:44 +08:00
Hilton Chain 8bebafaacd utils: contract/combinators: ->/c: Use procedure-minimum-arity. 2026-09-19 16:01:51 +08:00
Hilton Chain b353ee7610 services: <home-theme-configuration>: Add font size.
Required to work with GNOME 49.
2026-09-18 23:32:48 +08:00
Hilton Chain 09bfd608cf services: home-theme-activation-service: Fix unbound variables. 2026-09-18 22:38:05 +08:00
Hilton Chain 2816e3e06a services: home-theme: Fix GTK4 settings warning and add gsettings activation.
Also change Sans to the standard sans-serif name
Remove hicolor-icon-theme, since it's already propagated by adwaita-icon-theme.
2026-09-18 22:34:48 +08:00
Hilton Chain 8f0677e5e3 services: <greetd-noctalia-greeter-session>: Fix gexp compiler name.
Follow-up to 0f8ae9ca08.
2026-09-16 00:17:51 +08:00
Hilton Chain 0f8ae9ca08 services: Add noctalia-greeter-service-type and greetd-noctalia-greeter-session.
* modules/rosenthal/services/base.scm
(<noctalia-greeter-configuration>): New data type.
(noctalia-greeter-activation-service)
(noctalia-greeter-special-files-service): New procedures.
(noctalia-greeter-service-type): New variable.
(<greetd-noctalia-greeter-session>): New data type with gexp compiler (file-like
object).
2026-09-16 00:13:05 +08:00
Hilton Chain 8a8142d16c rosenthal: Add noctalia-greeter.
* modules/rosenthal/packages/wm.scm (noctalia-greeter): New variable.
2026-09-16 00:12:58 +08:00
Hilton Chain b15af6f9ff utils: contract: Memoize combinators and ->contract. 2026-09-15 20:42:51 +08:00
Hilton Chain 08b1980f22 utils: contract/blame: make-blame: Use delay + force for memoization. 2026-09-14 10:33:58 +08:00
Hilton Chain 9454089804 utils: contract/impl: Fix comment. 2026-09-14 10:33:56 +08:00
Hilton Chain ed43a49877 services: jellyfin: Use the contract system. 2026-09-13 17:41:06 +08:00
Hilton Chain c8625f6a8c utils: records: Integrate the contract system. 2026-09-13 17:41:06 +08:00
Hilton Chain a88ac359a0 utils: Add a Racket-like contract system. 2026-09-13 17:41:06 +08:00
Hilton Chain f34040153c utils: Import (guix records).
* modules/rosenthal/utils/records.scm (define-record-type/dolly)
(this-record, match-record/dolly, match-record-lambda/dolly): New
macros.
* .dir-locals.el (scheme-mode): Update.
2026-09-13 17:41:01 +08:00
Hilton Chain bde35a43ac rosenthal: Add emacs-tramp-rpc.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-tramp-rpc): New
variable.
2026-09-13 02:32:57 +08:00
Hilton Chain c45fecb485 rosenthal: Add emacs-msgpack.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-msgpack): New variable.
2026-09-13 02:32:57 +08:00
Hilton Chain 996ebc9ec0 rosenthal: Add emacs-consult-ghostel.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-consult-ghostel): New variable.
2026-09-13 02:32:57 +08:00
Hilton Chain a6a6564eab rosenthal: noctalia: Update to 5.1.0.
* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.1.0.
2026-09-13 02:32:57 +08:00
Hilton Chain 4b0111cdd7 rosenthal: Deprecate anubis-anti-crawler.
* modules/rosenthal/packages/web.scm (anubis-anti-crawler): Deprecate in
favor of anubis-ai-firewall in Guix.
2026-09-13 02:32:57 +08:00
Hilton Chain 890a978283 services: jellyfin: Adjust define-record-type* options order. 2026-09-13 02:32:57 +08:00
Hilton Chain b93fb3a2b5 .dir-locals.el: Remove indentation rules for 0 argument. 2026-09-13 02:32:53 +08:00
Hilton Chain 93f50036db rosenthal: emacs-majutsu/dolly: Update to 0.6.0-5.56b6e26.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly): Update
to 0.6.0-5.56b6e26.
2026-09-12 13:40:06 +08:00
solitudealma ab3698c4ad services: sing-box: Support setting config directory.
* modules/rosenthal/services/networking.scm (<sing-box-configuration>)
[config-directory]: New field.
(sing-box-shepherd-service): Use it.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
Merges: #56
2026-09-12 13:37:36 +08:00
solitudealma 91f2eac90a rosenthal: sing-box: Update to 1.14.0.
* modules/rosenthal/packages/networking.scm (sing-box): Update to
1.14.0.
[arguments] <#:vendor-hash>: Update.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
Merges: #57
2026-09-12 13:37:36 +08:00
Hilton Chain 83af642df3 services: Add a new jellyfin-service-type. 2026-09-11 22:28:08 +08:00
Hilton Chain 5d831de5b5 services: jellyfin: Rename to jellyfin-oci-service-type. 2026-09-11 22:28:03 +08:00
Hilton Chain cc797a3378 utils: nix-expressions->profile-build-wrapper: Update mime databases. 2026-09-11 19:02:24 +08:00
Hilton Chain a21dc8e795 utils: nix-shell-wrapper: Adjust environment-unset when other options are used for the same variable. 2026-09-11 19:02:24 +08:00
Hilton Chain 44e890633e rosenthal: emacs-reader: Update to 0.3.2-2.a0e3615.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-reader): Update to
0.3.2-2.a0e3615.
2026-09-11 19:02:24 +08:00
Hilton Chain 7aa919844f rosenthal: noctalia: Update to 5.0.1.
* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.0.1.
2026-09-11 19:02:21 +08:00
Hilton Chain c6361f6e7b rosenthal: mirror-substitutes: Update to 0.0.2.
* modules/rosenthal/packages/package-management.scm (mirror-substitutes):
Update to 0.0.2 and pin Guix version.
2026-08-26 16:38:31 +08:00
Hilton Chain ba37355893 utils: Deprecate rosenthal-transformation-guix. 2026-08-26 16:38:29 +08:00
Hilton Chain 21391bab6e rosenthal: prometheus-bin: Update to 3.14.0.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.14.0.
2026-08-22 02:58:50 +08:00
Hilton Chain d624abc771 rosenthal: wakapi-bin: Update to 2.17.6.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.6.
2026-08-22 02:58:50 +08:00
Hilton Chain 956de518d2 rosenthal: alloy-bin: Update to 1.18.1.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): Update to 1.18.1.
(alloy-bin) [arguments]: Add libc into RUNPATH.
[native-inputs]: Replace patchelf to patchelf-0.16.
2026-08-22 02:58:50 +08:00
Hilton Chain 9a7c64ce33 rosenthal: cloudflare-warp-bin: Update to 2026.6.880.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update
to 2026.6.880.0.
[inputs]: Add tpm2-tss.
[arguments]: Add it into RUNPATH.
2026-08-22 02:58:50 +08:00
Hilton Chain 4f3ac7df33 rosenthal: caddy: Update to 2.11.4.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.11.4.
[arguments] <#:vendor-hash>: Update.
2026-08-22 02:58:50 +08:00
Hilton Chain 9ece9f0544 rosenthal: anubis-anti-crawler: Update to 1.27.0.
* modules/rosenthal/packages/web.scm (anubis-anti-crawler): Update to 1.27.0.
2026-08-22 02:58:50 +08:00
Hilton Chain 55b07c9767 rosenthal: tailscale: Update to 1.102.3.
* modules/rosenthal/packages/networking.scm (tailscale): Update to
1.102.3.
[arguments] <#:vendor-hash>: Update.
2026-08-22 02:58:50 +08:00
Hilton Chain 9f0956bfbe rosenthal: sing-box: Update to 1.13.19.
* modules/rosenthal/packages/networking.scm (sing-box): Update to
1.13.19.
[arguments] <#:vendor-hash>: Update.
2026-08-22 02:58:49 +08:00
Hilton Chain ef94c881f4 rosenthal: mihomo: Update to 1.19.30.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.30.
[arguments] <#:vendor-hash>: Update.
2026-08-22 02:58:49 +08:00
Hilton Chain 010f5f210a rosenthal: mautrix-telegram: Update to 0.2608.0.
* modules/rosenthal/packages/messaging.scm (mautrix-telegram): Update to
0.2608.0.
[arguments] <#:vendor-hash>: Update.
2026-08-22 02:58:49 +08:00
Hilton Chain 7a0190a86b rosenthal: guile-toml: Base on the Guix package.
* modules/rosenthal/packages/guile-xyz.scm (guile-toml): Rename to...
(guile-toml/dolly): ...this new variable, based on the Guix package.
* modules/rosenthal/utils/file.scm (toml-file): Use it.
2026-08-22 02:58:49 +08:00
Hilton Chain 4982100143 rosenthal: emacs-flycheck-eglot: Disable auto-update. 2026-08-22 02:58:49 +08:00
Hilton Chain 1e87b9028b services: vaultwarden: Update to vaultwarden-web-vault to 2026.6.4.
* modules/rosenthal/services/web.scm (vaultwarden-web-vault): Update to
2026.6.4.
2026-08-22 02:58:47 +08:00
Hilton Chain 3d11e4c069 examples/emacs: Sync with emacs-guix-starter. 2026-08-22 01:44:04 +08:00
Hilton Chain 2bf3bf916e rosenthal: noctalia: Update to 5.0.0-beta.8.
* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.0.0-beta.8.
2026-08-21 21:57:15 +08:00
Hilton Chain bb0a9bebf1 rosenthal: ai-robots-txt: Update to 1.50.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.50.
2026-08-21 21:57:14 +08:00
Hilton Chain 2fe29cce0a rosenthal: cloudflared: Update to 2026.8.2.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2026.8.2.
2026-08-21 21:57:14 +08:00
Hilton Chain 87b05c2535 rosenthal: prismlauncher/dolly: Update to 11.0.3.
* modules/rosenthal/packages/games.scm (prismlauncher/dolly): Update to 11.0.3.
2026-08-21 21:57:14 +08:00
Hilton Chain c225a5846f rosenthal: ukify: Update to 261.2.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 261.2.
2026-08-21 21:57:14 +08:00
Hilton Chain 72b15a5eb2 rosenthal: systemd-stub: Update to 261.2.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 261.2.
2026-08-21 21:57:14 +08:00
Hilton Chain a1bcd459d2 rosenthal: loki-bin: Update to 3.7.6.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.7.6.
2026-08-21 21:57:14 +08:00
Hilton Chain 916c283444 rosenthal: prometheus-bin: Update to 3.13.2.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.13.2.
2026-08-21 21:57:14 +08:00
Hilton Chain 58f025804c rosenthal: wakatime-cli-bin: Update to 2.24.4.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 2.24.4.
2026-08-21 21:57:14 +08:00
Hilton Chain ee1573b734 rosenthal: wakapi-bin: Update to 2.17.5.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.5.
2026-08-21 21:57:13 +08:00
Hilton Chain 104ebd3348 rosenthal: navidrome-bin: Update to 0.63.2.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.63.2.
2026-08-21 21:57:13 +08:00
Hilton Chain 28aa141446 rosenthal: komga-bin: Update to 1.26.3.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.26.3.
2026-08-21 21:57:13 +08:00
Hilton Chain 410be8c1be rosenthal: dinit: Update to 0.22.1.
* modules/rosenthal/packages/admin.scm (dinit): Update to 0.22.1.
2026-08-21 21:57:13 +08:00
Hilton Chain e50e842994 rosenthal: emacs-majutsu/dolly: Update to 0.6.0-4.9c2fdb3.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly): Update to
0.6.0-4.9c2fdb3.
2026-08-21 21:57:13 +08:00
Hilton Chain 8237066e73 rosenthal: Add emacs-reader.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-reader): New variable.
2026-08-21 21:57:13 +08:00
Hilton Chain ba91ca76c0 .dir-locals.el: Set geiser-repl-add-project-paths.
* .dir-locals.el (scheme-mode) [geiser-repl-add-project-paths]: Add
"modules".
2026-08-21 21:57:10 +08:00
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 ecdb930021 bootloader: menu-entry->ukify-args: Avoid relative reference to system generations. 2026-08-05 21:49:51 +08:00
Hilton Chain ed592c6c6e rosenthal: noctalia: Update to 5.0.0-beta.7.
* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.0.0-beta.7.
[arguments] <#:phases>: Remove unnecessary patching to meson.build.
[inputs]: Add libjxl, libical, libsecret, libsndfile, libsodium.
2026-08-02 22:45:39 +08:00
Hilton Chain 42269efc67 services: Use alist of alists for ini-file.
This unifies the style with other serializers.
2026-07-23 04:53:28 +08:00
Hilton Chain 87d4e55ea4 rosenthal: Adjust module import for deprecation warnings. 2026-07-23 04:53:26 +08:00
Hilton Chain 2e9ba3e2a5 rosenthal: noctalia: Update to 5.0.0-beta.3.
* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.0.0-beta.3.
2026-07-22 02:18:32 +08:00
Hilton Chain 1edd471f4c rosenthal: mautrix-telegram: Update to 0.2607.0. 2026-07-22 02:18:32 +08:00
Hilton Chain 43f10a6062 rosenthal: tuwunel-bin: Update to 1.8.2.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.8.2.
2026-07-22 02:18:30 +08:00
Hilton Chain 63d7c774dc rosenthal: noctalia: Update to 5.0.0-beta2.
* modules/rosenthal/packages/wm.scm (noctalia): Update to 5.0.0-beta2.
[inputs]: Add md4c, nlohmann-json, stb-image-resize2, stb-image-write,
tomlplusplus.
[arguments]: Adjust stb import path.
2026-07-11 02:30:16 +08:00
Hilton Chain 08ac8f2e93 rosenthal: mautrix-telegram: Update to 0.2606.0.
* modules/rosenthal/packages/messaging.scm (mautrix-telegram): Update to
0.2606.0.
[build-system]: Switch to go-vendored-build-system.
[native-inputs, propagated-inputs, inputs]: Remove all old inputs.
[inputs]: Add bash-minimal, ffmpeg, lottie-converter, olm.
2026-07-11 02:30:16 +08:00
Hilton Chain 5d5aefca89 build/go-vendored: Set GOTOOLCHAIN to local.
* modules/rosenthal/build/go-vendored-build-system.scm (unpack-vendored-dependencies):
Set GOTOOLCHAIN to local.
2026-07-11 02:30:14 +08:00
Hilton Chain 3a0838e5e0 utils: nix: Change a few variables to parameters. 2026-07-06 21:53:12 +08:00
Hilton Chain d687672c1c services: nix-search-paths: Set LOCALE_ARCHIVE environment variable. 2026-07-06 21:12:38 +08:00
Hilton Chain 4d553b92ce services: nix-search-paths: Group system and home extensions. 2026-07-06 21:12:35 +08:00
Hilton Chain 6cf57b252d rosenthal: noctalia: Update to 5.0.0-beta1.
* modules/rosenthal/packages/wm.scm (rosenthal): Update to 5.0.0-beta1.
[arguments]: Enable tests.
[inputs]: Add wireplumber.
2026-07-05 00:07:14 +08:00
Hilton Chain 745ad5e88f services: nix-search-paths: Add nix-search-paths-activation.
* modules/rosenthal/services/nix.scm (nix-search-paths-activation): New
procedure.
(nix-search-paths-service-type, home-nix-search-paths-service-type): Use it.
2026-07-05 00:07:13 +08:00
Hilton Chain 388bb5dbd0 utils: nix: Adjust variable names and docstrings. 2026-07-04 12:48:51 +08:00
Hilton Chain 386de67aee util: nix: Correct comment for <nix-wrapper>. 2026-07-04 12:33:57 +08:00
Hilton Chain 180635cee4 util: nix: Add <nix-wrapper>.
* modules/rosenthal/utils/nix.scm (<nix-wrapper>): New data type.
(nix-expressions->profile-build-wrapper, nix-shell-wrapper): Return a value of
it.
(nix-shell-wrapper->package, with-nix-profile): Use it.
2026-07-04 12:30:49 +08:00
Hilton Chain 30af71b024 util: nix-expressions->profile-build-wrapper: Deduplicate expressions list. 2026-07-04 12:30:47 +08:00
Hilton Chain c2722ed176 utils: nix: Add and use %nix-wrapper-default-exclude-env-paths. 2026-07-03 10:36:55 +08:00
Hilton Chain 428a150814 services: nix-search-paths: Correct build-nix-profile path. 2026-07-03 02:41:33 +08:00
Hilton Chain 39eb45af2b services: Add nix-search-paths-service-type and home-nix-search-paths-service-type.
* modules/rosenthal/services/nix.scm: New file.
2026-07-03 02:10:34 +08:00
Hilton Chain e28731a5de utils: nix-expressions->profile-build-wrapper: Move #:link-to argument to command-line.
* modules/rosenthal/utils/nix.scm (nix-expressions->profile-build-wrapper):
Remove #:link-to argument and get it from command-line instead.
(with-nix-profile): Remove path argument.
2026-07-03 02:10:32 +08:00
Hilton Chain 5f88ec068e utils: with-nix-profile: Use a shorter example. 2026-07-02 21:54:35 +08:00
Hilton Chain 83773b25db utils: Add with-nix-profile.
* modules/rosenthal/utils/nix.scm (%nix-shell-wrapper-for-profile?): New
parameter.
(with-nix-profile): New macro.
(nix-expressions->profile-build-wrapper, nix-shell-wrapper)
(nix-shell-wrapper->package): Adjust for it.
2026-07-02 19:56:01 +08:00
Hilton Chain 4d2f3a2e0c utils: installables->nix-expressions: Fix attrpath check. 2026-07-02 19:55:58 +08:00
Hilton Chain 205b14dd34 util: nix: Add missing exports.
* modules/rosenthal/utils/nix.scm (%nix-build-profile-paths)
(%nix-build-profile-extra-outputs): Export.
2026-07-02 17:09:44 +08:00
Hilton Chain 06a8a5f726 utils: Add nix-expressions->profile-build-wrapper.
* modules/rosenthal/utils/nix.scm (%nix-build-profile-paths)
(%nix-build-profile-extra-outputs): New variables.
(ensure-list, installables->nix-expressions)
(nix-expressions->profile-build-wrapper): New procedures.
(nix-shell-wrapper): Use ensure-list.
2026-07-02 17:02:02 +08:00
Hilton Chain fe34e0911d utils: nix-shell-wrapper: Fix match usage.
Probably I extended it from cond and forgot the else usage...
2026-07-02 01:21:49 +08:00
Hilton Chain 3f77432233 utils: nix-shell-wrapper: Fix #:environment-keep appending. 2026-07-01 18:28:06 +08:00
Hilton Chain 7a2f31556f utils: nix-shell-wrapper: Add environment options and improve expression handling. 2026-07-01 16:54:24 +08:00
Hilton Chain 17c2fdf76e build-system: go-vendored: Fix build system name.
* modules/rosenthal/build-system/go-vendored.scm (go-vendored-build-system): Use
go-vendored as name.
2026-06-28 19:43:36 +08:00
Hilton Chain 8bf6002818 build-system: Add go-vendored-build-system.
* modules/rosenthal/utils/download.scm (go-mod-vendor): Sync with Nonguix.
* modules/rosenthal/build/go-vendored-build-system.scm
* modules/rosenthal/build-system/go-vendored.scm: New files.
* modules/rosenthal/packages/networking.scm (cloudflared, mihomo, sing-box)
(tailscale): Use go-vendored-build-system.
* modules/rosenthal/packages/web.scm (anubis-anti-crawler, caddy, caddy/dolly)
(forgejo): Likewise.
2026-06-28 19:41:05 +08:00
Hilton Chain ffce98cafe rosenthal: Remove jujutsu/dolly.
* modules/rosenthal/packages/patches/jujutsu-save-jjdescription-file-inside-repository.patch:
Delete file.
* modules/rosenthal/packages/version-control.scm (jujutsu/dolly): Delete variable.
2026-06-28 19:41:03 +08:00
Hilton Chain 398f692861 utils: nix-shell-wrapper: Fix typo in docstring. 2026-06-27 23:35:29 +08:00
Hilton Chain 32b08cc095 utils: Add nix-shell-wrapper.
* modules/rosenthal/utils/nix.scm: New file.
2026-06-27 23:17:19 +08:00
Hilton Chain fbb478cc2c services: vaultwarden: Use the vaultwarden package in Guix.
* modules/rosenthal/services/web.scm (vaultwarden-web-vault): New variable.
(vaultwarden-configuration) [vaultwarden, web-vault, group-id]: New fields.
(vaultwarden-account): Add vaultwarden group.
(vaultwarden-activation): Don't create log file.
(vaultwarden-oci): Adapt to...
(vaultwarden-shepherd-extension): ...this new procedure.
(vaultwarden-service-type): Use it.
2026-06-27 12:36:15 +08:00
Hilton Chain b8f6b048c9 rosenthal: mirror-substitutes: Update to 0.0.1.
* modules/rosenthal/packages/package-management.scm (mirror-substitutes): Update
to 0.0.1.
2026-06-20 23:49:38 +08:00
Hilton Chain 7de4e2bc47 README: Mention search.guix.moe. 2026-06-20 23:49:36 +08:00
Hilton Chain 05ac833e35 README: Add note on upstreaming. 2026-06-16 18:46:51 +08:00
Hilton Chain 9033ba867d rosenthal: mirror-substitutes: Update to 0.0.0-2.cd6005b.
* modules/rosenthal/packages/package-management.scm (mirror-substitutes): Update
to 0.0.0-2.cd6005b.
2026-06-16 16:11:20 +08:00
Hilton Chain 07a823cb6b rosenthal: mirror-substitutes: Update to 0.0.0-1.c05952a.
* modules/rosenthal/packages/package-management.scm (mirror-substitutes): Update
to 0.0.0-1.c05952a.
2026-06-16 13:30:18 +08:00
Hilton Chain 02723cc74a examples: guix: Update emacs packages as well. 2026-06-15 23:02:11 +08:00
Hilton Chain a1452f76ac examples: emacs: Load packages list in the absolute path. 2026-06-15 22:43:20 +08:00
Hilton Chain 40a0e474c7 examples: Update emacs configuration. 2026-06-15 22:40:00 +08:00
Hilton Chain 9f9e2915bf rosenthal: Remove atuin.
* modules/rosenthal/packages/rust-apps.scm (atuit): Delete variable.
* modules/rosenthal/services/shellutils.scm: Adjust module import.
2026-06-15 22:39:58 +08:00
Hilton Chain 3f71c1448b rosenthal: noctalia: Update to 5.0.0-1.2070b4b.
* modules/rosenthal/packages/wm.scm (wayland-protocols-1.48): New variable.
(noctalia) Update to 5.0.0-1.2070b4b.
[inputs]: Add gmp, mpfr, libqalculate, libxml2.
Replace wayland-protocols to wayland-protocols-1.48.
2026-06-13 00:12:29 +08:00
Hilton Chain ed943d36b4 services: Add home-writable-files-manager-service-type.
* modules/rosenthal/home/services/writable-files-manager.scm
(update-writable-files-script, update-writable-files-gexp): New procedure.
(home-writable-files-manager-service-type): New variable.
2026-06-11 20:58:58 +08:00
Hilton Chain c5b6a2832d services: home-fcitx5: Install GTK IM modules when not using Wayland.
* modules/rosenthal/services/desktop.scm (home-fcitx5-profile-service): Add
fcitx5-gtk:gtk2, fcitx5-gtk:gtk3, fcitx5-gtk4 into home profile when not using
wayland-frontend? configuration.
2026-06-10 21:25:41 +08:00
Hilton Chain f1cdc992a2 rosenthal: Add emacs-flycheck-eglot.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-flycheck-eglot): New variable.
2026-06-08 01:02:43 +08:00
Hilton Chain 8d0f3f34c7 rosenthal: tuwunel-bin: Update to 1.7.0.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.7.0.
2026-06-01 20:03:33 +08:00
Hilton Chain baa2213866 rosenthal: emacs-majutsu/dolly: Update to 0.6.0-3.f8dda20.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly): Update to 0.6.0-3.f8dda20.
2026-06-01 20:03:33 +08:00
Hilton Chain 8c29cb4cde rosenthal: caddy/dolly: Update to 2026.06.01.
* modules/rosenthal/packages/web.scm (caddy/dolly): Update to 2026.06.01.
[native-inputs]: Update vendored Go dependencies.
2026-06-01 20:03:33 +08:00
Hilton Chain eeedc71a06 rosenthal: caddy: Update to 2.11.3.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.11.3.
[native-inputs]: Update vendored Go dependencies.
2026-06-01 20:03:33 +08:00
Hilton Chain 9462b7c3db rosenthal: tailscale: Update to 1.98.4.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.98.4.
[native-inputs]: Update vendored Go dependencies.
2026-06-01 20:03:33 +08:00
Hilton Chain 1df01c6699 rosenthal: sing-box: Update to 1.13.12.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.13.12.
[native-inputs]: Update vendored Go dependencies.
2026-06-01 20:03:32 +08:00
Hilton Chain 83bd48e8c0 rosenthal: mihomo: Update to 1.19.26.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.26.
[native-inputs]: Update vendored Go dependencies.
2026-06-01 20:03:32 +08:00
Hilton Chain 592ad3d9e8 rosenthal: ai-robots-txt: Update to 1.46.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.46.
2026-06-01 20:03:32 +08:00
Hilton Chain fc0fced73c rosenthal: cloudflared: Update to 2026.5.2.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2026.5.2.
2026-06-01 20:03:32 +08:00
Hilton Chain 87f3cb47d7 rosenthal: ukify: Update to 260.2.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 260.2.
2026-06-01 20:03:32 +08:00
Hilton Chain 258d5123ce rosenthal: systemd-stub: Update to 260.2.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 260.2.
2026-06-01 20:03:32 +08:00
Hilton Chain a9ade5af1c rosenthal: alloy-bin: Update to 1.16.1.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): Update to 1.16.1.
2026-06-01 20:03:32 +08:00
Hilton Chain 5bafe4f0b1 rosenthal: loki-bin: Update to 3.7.2.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.7.2.
2026-06-01 20:03:32 +08:00
Hilton Chain 5a5dffb983 rosenthal: prometheus-bin: Update to 3.12.0.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.12.0.
2026-06-01 20:03:31 +08:00
Hilton Chain 506a39e83a rosenthal: wakatime-cli-bin: Update to 2.14.12.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 2.14.12.
2026-06-01 20:03:31 +08:00
Hilton Chain a53ee17e5a rosenthal: wakapi-bin: Update to 2.17.4.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.4.
2026-06-01 20:03:31 +08:00
Hilton Chain 3fd458447b rosenthal: komga-bin: Update to 1.24.4.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.24.4.
2026-06-01 20:03:31 +08:00
Hilton Chain 27ed879db1 rosenthal: cloudflare-warp-bin: Update to 2026.4.1390.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2026.4.1390.0.
2026-06-01 20:03:31 +08:00
Hilton Chain 239b86e51d rosenthal: dinit: Update to 0.22.0.
* modules/rosenthal/packages/admin.scm (dinit): Update to 0.22.0.
2026-06-01 20:03:31 +08:00
Hilton Chain d1c4b82750 services: Make postgresql-password-file optional. 2026-06-01 20:03:31 +08:00
Hilton Chain 05f69100c3 utils: Add file-object-or-file-config?. 2026-06-01 20:03:28 +08:00
uvla c660951855 services: Fix home-noctalia-shell-service-type deprecation.
* modules/rosenthal/services/desktop.scm (home-noctalia-shell-service-type): Use
(@ (rosenthal home services desktop) home-noctalia-service-type).

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2026-06-01 11:21:51 +08:00
Hilton Chain 2889a00542 rosenthal: Remove noctalia-qs.
* modules/rosenthal/packages/wm.scm (noctalia-qs): Delete variable.
2026-05-29 14:38:26 +08:00
Hilton Chain 42701881b4 rosenthal: noctalia-shell: Update to 5.0.0-0.0e4bb96.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 5.0.0-0.0e4bb96.
Rewrite package definition.
Superseded by...
(noctalia): ...new variable.
* modules/rosenthal/home/services/desktop.scm (home-noctalia-configuration): New
data type.
(home-noctalia-shepherd-service, home-noctalia-service-type): New variables.
* modules/rosenthal/services/desktop.scm (home-noctalia-shell-configuration)
(home-noctalia-shell-service-type): Superseded by them.
(%home-noctalia-shell-activation, %home-noctalia-shell-shepherd): Delete
procedures.
2026-05-29 14:38:26 +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 0b6b5feb72 rosenthal: emacs-majutsu/dolly: Update to 0.6.0-2.aebd5ac.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly): Update to
0.6.0-2.aebd5ac.
2026-05-25 01:39:03 +08:00
Hilton Chain ac3a5d8db9 rosenthal: emacs-majutsu/dolly: Use jujutsu from Guix.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly) [inputs]:
Remove modification.
2026-05-25 01:39:03 +08:00
Hilton Chain 29f4881cce rosenthal: guix/dolly: Disable tests for now. 2026-05-25 01:39:02 +08:00
Hilton Chain cc8751302c rosenthal: python-coherent-licensed: Explicitly disable tests.
* modules/rosenthal/packages/python-xyz.scm (python-coherent-licensed)
[arguments]: Disable tests?.
2026-05-25 01:39:01 +08:00
Hilton Chain f5d9daa038 rosenthal: noctalia-shell: Update to 4.7.7.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.7.7.
2026-05-24 23:14:06 +08:00
Hilton Chain 920c6d63c7 rosenthal: noctalia-shell: Wrap xdg-open path.
* modules/rosenthal/packages/wm.scm (noctalia-shell) [inputs]: Add xdg-utils.
[arguments]: Add it into the wrapper.
2026-05-24 23:14:06 +08:00
Hilton Chain 7ee922362a rosenthal: Remove emacs-arei/dolly.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-arei/dolly): Delete
variable.
2026-05-24 23:14:03 +08:00
Hilton Chain 9e60a11917 rosenthal: emacs-majutsu/dolly: Update to 0.6.0-1.2ab2adb.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly): Update to
0.6.0-1.2ab2adb.
2026-04-20 19:11:20 +08:00
Hilton Chain 06e96dcf9e rosenthal: noctalia-shell: Update to 4.7.6.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.7.6.
* modules/rosenthal/examples/dot-config/noctalia/settings.json: Update
command.
2026-04-16 05:20:47 +08:00
Hilton Chain 3bdede4f6f services: Remove conduit-service-type.
* modules/rosenthal/services/web.scm (<conduit-configuration>): Delete data
type.
(conduit-service-type): Delete variable.
2026-04-16 05:20:47 +08:00
Hilton Chain 419b4f946f rosenthal: Remove conduit-bin.
* modules/rosenthal/packages/binaries.scm (conduit-bin): Delete variable.
2026-04-16 05:20:47 +08:00
Hilton Chain 84162ee58a services: Add tuwunel-service-type.
* modules/rosenthal/services/web.scm (<tuwunel-configuration>): New data type.
(tuwunel-account, tuwunel-activation, tuwunel-shepherd): New procedures.
(tuwunel-service-type): New variable.
2026-04-16 05:20:33 +08:00
Hilton Chain 29583b5c21 rosenthal: limine: Update to 11.3.1.
* modules/rosenthal/packages/bootloaders.scm (limine): Update to 11.3.1.
[source, home-page]: Change to GitHub.
2026-04-15 11:24:50 +08:00
Hilton Chain 751a29fb1b rosenthal: forgejo: Update to 14.0.4.
* modules/rosenthal/packages/web.scm (forgejo): Update to 14.0.4.
2026-04-15 11:24:50 +08:00
Hilton Chain 6101633a4e rosenthal: bitwarden/icecat: Update to 2026.3.0.
* modules/rosenthal/packages/browser-extensions.scm (bitwarden/icecat): Update
to 2026.3.0.
2026-04-15 11:24:50 +08:00
Hilton Chain 063f1fa1b7 rosenthal: tuwunel-bin: Update to 1.6.0.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.6.0.
[build-system]: Switch to gnu-build-system.
2026-04-15 11:24:49 +08:00
Hilton Chain cc5a4a0baa services: forgejo: Use a consistent launching path.
Otherwise there'll be launching issue due to path change.

* modules/rosenthal/services/web.scm (forgejo-shepherd-service) [start]:
Launch forgejo from system profile instead of the store.
2026-04-15 11:24:49 +08:00
Hilton Chain f729ee2641 home: services: noctalia-shell: Depend on dbus shepherd service.
* modules/rosenthal/services/desktop.scm (%home-noctalia-shell-shepherd)
[requirement]: Add dbus.
2026-04-15 11:24:46 +08:00
Hilton Chain 42c95a4d09 rosenthal: alloy-bin: Update to 1.15.1.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): Update to 1.15.1.
2026-04-15 09:37:20 +08:00
Hilton Chain de0bc20640 rosenthal: wakatime-cli-bin: Update to 2.2.8.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 2.2.8.
2026-04-15 09:37:19 +08:00
Hilton Chain 36794fe533 rosenthal: sing-box: Update to 1.13.8.
* modules/rosenthal/packages/networking (sing-box): Update to 1.13.8.
[native-inputs]: Update vendored-go-dependencies.
2026-04-15 09:37:16 +08:00
Hilton Chain ad89e90015 rosenthal: sing-box: Update to 1.13.7.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.13.7.
[native-inputs]: Update vendored-go-dependencies.
2026-04-15 09:16:10 +08:00
Hilton Chain 490af760f8 rosenthal: mihomo: Update to 1.19.23.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.23.
[native-inputs]: Update vendored-go-dependencies.
2026-04-15 09:16:10 +08:00
Hilton Chain 9acdcb4c90 rosenthal: prismlauncher/dolly: Update to 11.0.2.
* modules/rosenthal/packages/games.scm (prismlauncher/dolly): Update to
11.0.2.
2026-04-15 09:16:10 +08:00
Hilton Chain 028fc14ff2 rosenthal: prometheus-bin: Update to 3.11.2.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.11.2.
[build-system]: Switch to gnu-build-system.
[arguments]: Add a simple check phase.
2026-04-15 09:16:10 +08:00
Hilton Chain 61ada05a4a rosenthal: wakatime-cli-bin: Update to 2.2.5.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 2.2.5.
[build-system]: Switch to gnu-build-system.
[arguments]: Add a simple check phase.
2026-04-15 09:16:09 +08:00
Hilton Chain 4be95a6eeb rosenthal: wakapi-bin: Update to 2.17.3.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.3.
[build-system]: Switch to gnu-build-system.
[arguments]: Add a simple check phase.
2026-04-15 09:16:09 +08:00
Hilton Chain c6782ce5bc rosenthal: navidrome-bin: Update to 0.61.2.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.61.2.
[build-system]: Switch to gnu-build-system.
[arguments]: Add a simple check phase.
2026-04-15 09:16:09 +08:00
Hilton Chain 7df271645f rosenthal: cloudflare-warp-bin: Update to 2026.3.846.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to
2026.3.846.0.
[build-system]: Switch to gnu-build-system.
[arguments] <#:phases>: Rewrite patch-elf phase.
Add a simple check phase.
2026-04-15 09:16:09 +08:00
Hilton Chain 1100a69108 rosenthal: Exclude a few packages from auto-update manifest.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly) [properties]:
Set disable-updater?.
* modules/rosenthal/packages/package-management.scm (mirror-substitutes)
[properties]: Likewise.
* modules/rosenthal/packages/python-xyz.scm (python-cryptg, python-irc)
(python-mautrix) [properties]: Likewise.
2026-04-15 09:16:03 +08:00
Hilton Chain 54137b18ef home: services: theme: Also write icon theme to $XDG_DATA_HOME.
* modules/rosenthal/services/desktop.scm (home-theme-icons-config)
(home-theme-xdg-data-files): New procedures.
(%home-theme-files): Rename to ...
(home-theme-files): ...this new procedure.
(home-theme-service-type) [extensions]: Adjust accordingly.
2026-04-13 15:30:16 +08:00
Hilton Chain 60f70d4923 rosenthal: Add emacs-majutsu/dolly.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-majutsu/dolly): New variable.
2026-04-12 23:29:10 +08:00
Hilton Chain 370e304b87 rosenthal: Add jujutsu/dolly.
* modules/rosenthal/packages/patches/jujutsu-save-jjdescription-file-inside-repository.patch (jujutsu/dolly):
New file.
* modules/rosenthal/packages/version-control.scm (jujutsu/dolly): New variable.
2026-04-12 23:29:07 +08:00
Hilton Chain d549c64015 rosenthal: Remove sops.
This commit re-applies a2fee8a415.
2026-04-12 18:25:51 +08:00
Hilton Chain 6517fe1c32 home: services: gtk[234]: Set up environment variables and files only when needed.
* modules/rosenthal/home/services/gtk.scm (home-gtk2-environment-variables)
  (home-gtk2-xdg-configuration-files, home-gtk3-xdg-configuration-files)
  (home-gtk4-xdg-configuration-files): Return empty list when there's no
  configuration.

Fixes: #53
2026-04-12 15:49:34 +08:00
Hilton Chain 4811a4f315 examples: niri: Remove XDG_CURRENT_DESKTOP workaround.
The proper fix is to change portals.conf for xdg-desktop-portal.
2026-04-12 09:06:34 +08:00
Hilton Chain cd97d72f3b home: services: emacs: Install .desktop files.
* modules/rosenthal/home/services/emacs.scm (home-emacs-package): Install
.desktop files and patch Emacs references.
2026-04-11 10:34:54 +08:00
Hilton Chain 74832c049d home: services: emacs: Inherit graphical session environment. 2026-04-11 00:10:53 +08:00
Hilton Chain 057f66639a home: services: emacs: Don't import (guix config) in gexp.
* modules/rosenthal/home/services/emacs.scm (home-emacs-package): Implement
load-profile in home-emacs-program.
2026-04-11 00:03:35 +08:00
Hilton Chain 5b3539c882 home: services: Add home-graphical-session-service-type.
* modules/rosenthal/home/services/desktop.scm
(<home-graphical-session-configuration>): New data type.
(home-graphical-session-find-socket)
(home-graphical-session-shepherd-service): New procedures.
(home-graphical-session-service-type): New variable.
* modules/rosenthal/services/desktop.scm (%home-blueman-applet-shepherd)
(%home-fcitx5-shepherd, %home-mako-shepherd)
(%home-network-manager-applet-shepherd, %home-noctalia-shell-shepherd)
(%home-bb-auth-shepherd, %home-polkit-gnome-shepherd, %home-swaybg-shepherd)
(%home-waybar-shepherd): Depend on its shepherd service.
(home-mako-service-type, home-noctalia-shell-service-type)
(home-swaybg-service-type, home-waybar-service-type): Extend it.
(%rosenthal-desktop-home-services): No longer manually start Shepherd.
* modules/rosenthal/examples/dot-config/niri/config.kdl: Add screencasting
workaround and import environment variables into Shepherd.
2026-04-10 22:31:58 +08:00
Hilton Chain 1ada96ae7a home: services: Add home-emacs-service-type.
* modules/rosenthal/home/services/emacs.scm (<home-emacs-configuration>): New
data type.
(home-emacs-package): New procedure.
(home-emacs-shepherd, home-emacs-service-type): New variables.
2026-04-10 20:41:34 +08:00
Hilton Chain f60c19aea3 home: services: gtk: Fix extension deduplication. 2026-04-10 16:29:42 +08:00
Hilton Chain 8967007a20 services: Inherit graphical session environment from Shepherd.
This will be utilized by an upcoming home-graphical-session-service-type.

* modules/rosenthal/services/desktop.scm (%home-blueman-applet-shepherd)
(%home-fcitx5-shepherd, %home-mako-shepherd)
(home-network-manager-applet-shepherd, %home-noctalia-shell-shepherd)
(%home-bb-auth-shepherd, %home-polkit-gnome-shepherd, %home-swaybg-shepherd)
(%home-waybar-shepherd): Use environment variables from the running environment.
2026-04-10 16:29:34 +08:00
Hilton Chain f7604b8f00 Revert "rosenthal: Remove sops."
This reverts commit a2fee8a415.
2026-04-10 13:53:37 +08:00
Hilton Chain 2b04665af0 home: services: fcitx5: Add wayland-frontend? option.
* modules/rosenthal/services/desktop.scm (maybe-boolean?): New procedure.
(home-fcitx5-configuration) [wayland-frontend?]: New field.
[gtk-im-module?, qt-im-module?, xim?]: Deprecate fields.
(%home-fcitx5-environment-variables): Adjust accordingly.
(%home-fcitx5-profile): Install fcitx5-gtk and fcitx5-qt unconditionally.
(home-fcitx5-gtk2, home-fcitx5-gtk3): New procedures.
(home-fcitx5-service-type) [extensions]: Extend home-gtk[234]-service-type.
2026-04-10 13:02:17 +08:00
Hilton Chain d74dd005cf home: services: Add home-gtk[234]-service-type.
* modules/rosenthal/home/services/gtk.scm
(home-gtk2-xdg-configuration-files)
(home-gtk3-xdg-configuration-files
(home-gtk4-xdg-configuration-files): New procedures.
(home-gtk2-environment-variables)
(home-gtk2-service-type)
(home-gtk3-service-type)
(home-gtk4-service-type): New variables.
* modules/rosenthal/services/desktop.scm
(home-theme-gtk2, home-theme-gtk3): New procedures.
(%home-theme-xdg-config): Delete procedure.
(home-theme-service-type) [extensions]:
Replace home-xdg-configuration-files-service-type to these new services.
2026-04-10 13:01:45 +08:00
Hilton Chain 3bc7d1cc35 home: services: theme: Don't install qtwayland.
* modules/rosenthal/services/desktop.scm (%home-theme-profile): Remove
qtwayland.
2026-04-10 13:01:45 +08:00
Hilton Chain 1166460094 home: services: theme: Use ini-file.
* modules/rosenthal/services/desktop.scm (%home-theme-files)
(%home-theme-xdg-config): Use ini-file.
2026-04-10 13:01:45 +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 800092379e rosenthal: prismlauncher/dolly: Update to 11.0.0.
* modules/rosenthal/packages/games.scm (prismlauncher/dolly): Update to 11.0.0.
[source]: Disable -Werror.
2026-04-10 01:23:15 +08:00
Hilton Chain 43a63b9252 rosenthal: prismlauncher/dolly: Add more dependencies.
* modules/rosenthal/packages/games.scm (prismlauncher/dolly)
[arguments]: Use qt-wrap.
[inputs]: Add alsa-lib, eudev, flite, glfw-3.4, jack-2, libusb, mesa-utils,
openal, pciutils, pipewire, qtimageformats, vulkan-loader.
Replace openjdk17:jdk with icedtea-8:jdk.
Remove qt5compat.
2026-04-10 00:57:20 +08:00
Hilton Chain c4f4d062d8 services: Add gamemode-service-type.
* modules/rosenthal/services/games.scm
(<gamemode-configuration>): New data type.
(gamemode-account-service, gamemode-etc-service): New procedures.
(gamemode-service-type): New variable.
2026-04-10 00:56:58 +08:00
Hilton Chain 1ae0b8b05e examples: Remove shepherd.desktop.
* modules/rosenthal/examples/dot-config/autostart/shepherd.desktop: Delete file.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons)
[.config/autostart/shepherd.desktop]: Remove.
2026-04-09 13:23:09 +08:00
Hilton Chain 2972959e31 examples: Add htoprc.
* modules/rosenthal/examples/dot-config/htop/htoprc: New file.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons)
[.config/htop/htoprc]: Add it.
2026-04-05 19:07:32 +08:00
Hilton Chain a2fee8a415 rosenthal: Remove sops.
* modules/rosenthal/packages/password-utils.scm (sops): Delete variable.
2026-04-05 11:48:32 +08:00
Hilton Chain 93c76b13ae rosenthal: noctalia-shell: Update to 4.7.5.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.7.5.
2026-04-03 11:27:29 +08:00
Hilton Chain 3f8e61caee rosenthal: noctalia-qs: Update to 0.0.12.
* modules/rosenthal/packages/wm.scm (noctalia-qs): Update to 0.0.12.
2026-04-03 11:27:26 +08:00
Hilton Chain 5443654eea rosenthal: Add mirror-substitutes.
* modules/rosenthal/packages/package-management.scm (mirror-substitutes): New variable.
2026-04-02 13:58:40 +08:00
Hilton Chain 9d95263fcf rosenthal: caddy/dolly: Update to 2026.03.29-1.
* modules/rosenthal/packages/web.scm (caddy/dolly): Update to 2026.03.29-1.
[native-inputs]: Update vendored-go-dependencies.
Use go-1.26.
2026-03-29 21:21:05 +08:00
Hilton Chain 2f044f37a1 rosenthal: forgejo: Update to 14.0.3.
* modules/rosenthal/packages/web.scm (forgejo): Update to 14.0.3.
[arguments]: Use go-1.26.
2026-03-29 18:59:24 +08:00
Hilton Chain 70963cef82 rosenthal: anubis-anti-crawler: Update to 1.25.0.
* modules/rosenthal/packages/web.scm (anubis-anti-crawler): Update to 1.25.0.
[arguments]: Use go-1.26.
2026-03-29 16:31:41 +08:00
Hilton Chain 486b0e6b8c rosenthal: dnsmasq-china-list: Update to 0.0.0-21.7da1a5a.
* modules/rosenthal/packages/dns.scm (dnsmasq-china-list): Update to
0.0.0-21.7da1a5a.
2026-03-29 16:31:41 +08:00
Hilton Chain 7f328d7e5e rosenthal: grafana-bin: Update to 12.4.2.
* modules/rosenthal/packages/binaries.scm (grafana-bin): Update to 12.4.2.
[arguments]: Add a basic check phase.
2026-03-29 16:31:39 +08:00
Hilton Chain 00e9db6dec rosenthal: mimir-bin: Update to 3.0.4.
* modules/rosenthal/packages/binaries.scm (mimir-bin): Update to 3.0.4.
[arguments]: Add a basic check phase.
2026-03-29 16:18:51 +08:00
Hilton Chain c548c1425f rosenthal: tuwunel-bin: Update to 1.5.1.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.5.1.
[arguments]: Add a basic check phase.
2026-03-29 16:18:47 +08:00
Hilton Chain 90dff49155 rosenthal: ai-robots-txt: Update to 1.45.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.45.
2026-03-29 15:56:35 +08:00
Hilton Chain e9be75c6d9 rosenthal: cloudflared: Update to 2026.3.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2026.3.0.
2026-03-29 15:56:35 +08:00
Hilton Chain fe7df07124 rosenthal: ukify: Update to 260.1.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 260.1.
2026-03-29 15:56:35 +08:00
Hilton Chain 11a6d50676 rosenthal: systemd-stub: Update to 260.1.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 260.1.
2026-03-29 15:56:35 +08:00
Hilton Chain a718f60689 rosenthal: limine: Update to 11.1.0.
* modules/rosenthal/packages/bootloaders.scm (limine): Update to 11.1.0.
2026-03-29 15:56:34 +08:00
Hilton Chain 77a32bb8a9 rosenthal: alloy-bin: Update to 1.14.2.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): Update to 1.14.2.
2026-03-29 15:56:34 +08:00
Hilton Chain c74f493dc4 rosenthal: loki-bin: Update to 3.7.1.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.7.1.
2026-03-29 15:56:34 +08:00
Hilton Chain 6c68775645 rosenthal: prometheus-bin: Update to 3.10.0.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.10.0.
2026-03-29 15:56:34 +08:00
Hilton Chain ffd46b111e rosenthal: wakatime-cli-bin: Update to 2.0.0.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 2.0.0.
2026-03-29 15:56:34 +08:00
Hilton Chain 151590cd8a rosenthal: wakapi-bin: Update to 2.17.2.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.2.
2026-03-29 15:56:34 +08:00
Hilton Chain 537a7bd808 rosenthal: komga-bin: Update to 1.24.3.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.24.3.
2026-03-29 15:56:34 +08:00
Hilton Chain 7102af4ea6 rosenthal: dinit: Update to 0.21.0.
* modules/rosenthal/packages/admin.scm (dinit): Update to 0.21.0.
2026-03-29 15:56:34 +08:00
Hilton Chain df562fa016 rosenthal: sops: Update to 3.12.2.
* modules/rosenthal/packages/password-utils.scm (sops): Update to 3.12.2.
[arguments]: Use go-1.26.
[native-inputs]: Update vendored-go-dependencies.
2026-03-29 15:56:33 +08:00
Hilton Chain 8f44724051 rosenthal: caddy: Update to 2.11.2.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.11.2.
[arguments]: Use go-1.26.
[native-inputs]: Update vendored-go-dependencies.
2026-03-29 15:56:33 +08:00
Hilton Chain 08c50357d9 rosenthal: tailscale: Update to 1.96.4.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.96.4.
[native-inputs]: Update vendored-go-dependencies.
[inputs]: Add desktop-file-utils.
[arguments]: Patch its references.
Use go-1.26.
2026-03-29 15:56:32 +08:00
Hilton Chain 889a4a3683 rosenthal: sing-box: Update to 1.13.4.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.13.4.
[arguments]: Use go-1.26.
[native-inputs]: Update vendored-go-dependencies.
2026-03-29 15:42:46 +08:00
Hilton Chain b0854202ae rosenthal: mihomo: Update to 1.19.21.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.21.
[arguments]: Use go-1.26.
[native-inputs]: Update vendored-go-dependencies.
2026-03-29 15:42:46 +08:00
Hilton Chain de83ac7d58 rosenthal: noctalia-shell: Update to 4.7.1.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.7.1.
2026-03-29 15:42:46 +08:00
Hilton Chain 5adf855943 rosenthal: noctalia-qs: Update to 0.0.10.
* modules/rosenthal/packages/wm.scm (noctalia-qs): Update to 0.0.10.
2026-03-29 15:42:42 +08:00
Hilton Chain 7dc52aa59b rosenthal: Disable updater for a few packages. 2026-03-29 14:09:37 +08:00
Hilton Chain eef03fcfec rosenthal: Add emacs-magit-delta/dolly.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-magit-delta/dolly): New variable.
2026-03-29 14:09:36 +08:00
Hilton Chain 760c336362 services: zfs: Improve style. 2026-03-29 14:09:35 +08:00
Hilton Chain a238fc8c28 services: caddy: Reload by sending SIGUSR1 to the service.
* modules/rosenthal/services/web.scm (caddy-shepherd-services) [actions]:
Change reload action to send SIGUSR1 to the service.
2026-03-28 13:41:59 +08:00
Hilton Chain 79b5b07f83 rosenthal: ohmyech-icecat: Update to 1.2.
* modules/rosenthal/packages/browser-extensions.scm (ohmyech): Update to 1.2.
Unexport.
2026-03-28 13:41:59 +08:00
Hilton Chain 8821b60e0b rosenthal: bitwarden/icecat: Update to 2026.2.0.
* modules/rosenthal/packages/browser-extensions.scm (bitwarden): Update to
2026.2.0.
2026-03-28 10:55:22 +08:00
Hilton Chain d9861ba574 rosenthal: packages: Change git.urspace.moe URLs to git.guix.moe.
* modules/rosenthal/packages/patches/cuirass-templates-Add-more-forges.patch:
Update URLs in patch.
* modules/rosenthal/packages/web.scm (caddy/dolly): Update URLs.
2026-03-28 10:53:58 +08:00
Hilton Chain e899a34d8e services: zfs: Support builtin ZFS module use case.
* modules/rosenthal/services/file-systems.scm (zfs-configuration): [zfs]
[kernel-has-zfs-module?]: New fields.
(zfs-linux-loadable-module-service, add-zfs-package): New procedures.
(zfs-service-type): Use them.
2026-03-27 16:26:20 +08:00
Hilton Chain eff166865a services: Export %rosenthal-desktop-services/base.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base):
Export.
2026-03-26 23:11:12 +08:00
Hilton Chain 0754d51fba rosenthal: caddy/dolly: Update to 2026.03.21-1.
* modules/rosenthal/packages/web.scm (caddy/dolly): Update to 2026.03.21-1.
[source, home-page]: Update URL.
[native-inputs]: Update vendored-go-dependencies.
2026-03-21 14:41:34 +08:00
Hilton Chain c85bc1ad8f services: conduit: Fix activation script.
* modules/rosenthal/services/web.scm (conduit-activation): Fix use-modules.
2026-03-21 14:29:29 +08:00
Hilton Chain 68573186b5 bootloader: limine: Simplify error handling in installation script, again. 2026-03-21 09:21:56 +08:00
Hilton Chain 1233c2154a bootloader: limine: Align configuration file format strings. 2026-03-21 01:02:50 +08:00
Hilton Chain ad8bb365c0 bootloader: limine & uki: Use invoke/quiet on ukify. 2026-03-21 00:42:50 +08:00
Hilton Chain 794db4f702 rosenthal: Reference the inherited arguments and inputs values.
Following upstream change in
https://codeberg.org/guix/guix/commit/6b1a15189e9f02f2962c4885092533f817d0375c

These references are found via:
    rg '\(package-(arguments|[a-z]*-?inputs)'

No derivation changes are introduced by this commit.
2026-03-21 00:42:14 +08:00
Hilton Chain af150b1f65 bootloader: limine: Simplify error handling in installation script. 2026-03-20 23:01:07 +08:00
Hilton Chain 0168423b50 rosenthal: noctalia-shell: Update to 4.7.0.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.7.0.
[arguments, inputs]: Remove cava.
2026-03-20 01:37:54 +08:00
Hilton Chain ef1301d03e rosenthal: noctalia-shell: Add qtmultimedia input.
I didn't add the input because it didn't work.  That's true for now as well.
Adding it here in case it works one day.

* modules/rosenthal/packages/wm.scm (noctalia-shell) [inputs]: Add
qtmultimedia.
2026-03-20 01:37:44 +08:00
Hilton Chain 65e24588c9 rosenthal: noctalia-qs: Update to 0.0.8.
* modules/rosenthal/packages/wm.scm (noctalia-qs): Update to 0.0.8.
2026-03-20 00:55:47 +08:00
Hilton Chain 149247885a rosenthal: Update Guix ZFS patch.
* modules/rosenthal/packages/patches/guix-wip-zfs-boot-support.patch: Update.
2026-03-20 00:55:47 +08:00
Hilton Chain a617e66a34 bootloader: Deprecate grub-efi-luks2.
GRUB in Guix has been updated to 2.14, which supports Argon2.

* modules/rosenthal/packages/bootloaders.scm (grub-efi-luks2)
* modules/rosenthal/bootloader/grub.scm (grub-efi-luks2-bootloader):
(grub-efi-luks2-removable-bootloader): Deprecate variables.
2026-03-20 00:55:45 +08:00
Hilton Chain 128c21d11a rosenthal: noctalia-shell: Update to 4.6.6.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.6.6.
2026-03-12 01:09:26 +08:00
Hilton Chain b0e3e8d036 services: Don't include network-online by default.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base):
Remove network-online-service-type.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-home-services):
Remove home-network-online-service-type.
2026-03-10 00:04:57 +08:00
Hilton Chain 0ed25fc96f services: network-online: Fix sleep reference.
* modules/rosenthal/services/networking.scm (%network-online-shepherd): Fix
sleep reference.
2026-03-08 20:04:48 +08:00
Hilton Chain ca9a350d78 rosenthal: noctalia-shell: Update to 4.6.4.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.6.4.
2026-03-08 13:54:27 +08:00
Hilton Chain 8f13fe9615 gnu: Add emacs-arei/dolly.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-arei/dolly): New variable.
2026-03-06 15:19:48 +08:00
Hilton Chain 6f64117e14 services: Add home-bb-auth-service-type.
* modules/rosenthal/services/desktop.scm (home-bb-auth-service-type): New
variable.
2026-03-04 23:42:46 +08:00
Hilton Chain ea9ece2941 rosenthal: Add bb-auth.
* modules/rosenthal/packages/patches/bb-auth.patch: New file.
* modules/rosenthal/packages/authentication.scm (bb-auth): New variable.
2026-03-04 23:39:39 +08:00
Hilton Chain 3f4240e093 rosenthal: noctalia-shell: Update to 4.6.1.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.6.1.
[inputs]: Replace quickshell with noctalia-qs.
2026-03-03 16:56:14 +08:00
Hilton Chain 67a6395e7c rosenthal: Add noctalia-qs.
* modules/rosenthal/packages/wm.scm (noctalia-qs): New variable.
2026-03-03 16:48:26 +08:00
Hilton Chain 088bc2bf51 bootloader: limine: Delay bootloader installation.
* modules/rosenthal/bootloader/limine.scm (limine-configuration-file): Install
bootloader after installing UKIs and generating the configuration file.
2026-03-03 16:34:55 +08:00
Hilton Chain 11d821da23 bootloader: limine: Remove use of false-if-exception.
There already exists an exception handler.

* modules/rosenthal/bootloader/limine.scm (limine-configuration-file): Remove
use of false-if-exception.
2026-03-03 15:39:02 +08:00
Hilton Chain ef75c33357 bootloader: Add limine-efi-removable-bootloader.
* modules/rosenthal/bootloader/limine.scm: New file.
* modules/rosenthal.scm (%public-modules): Add it.
2026-03-03 15:29:52 +08:00
Hilton Chain 38a475c72b rosenthal: Add limine.
* modules/rosenthal/packages/bootloaders.scm (limine): New variable.
2026-03-03 15:29:52 +08:00
Hilton Chain a1a442ce84 bootloader: uki: Export ‘menu-entry->ukify-args’.
* modules/rosenthal/bootloader/uki.scm (menu-entry->ukify-args): New
procedure extracted from...
(uefi-uki-configuration-file): ...this procedure.
2026-03-03 15:29:41 +08:00
Hilton Chain d241a5bea3 rosenthal: tuwunel-bin: Update to 1.5.0.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.5.0.
2026-03-02 15:31:56 +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 19a9eaa029 rosenthal: Add guile-toml.
* modules/rosenthal/packages/patches/guile-toml-support-boolean.patch: New file.
* modules/rosenthal/packages/guile-xyz.scm (guile-toml): New variable.
2026-02-26 10:24:29 +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 c2630512c6 services: home-wakapi: Don't specify default value.
* modules/rosenthal/services/child-error.scm (home-wakapi-service-type)
[default-value]: Unset.
2026-02-25 15:49:35 +08:00
Hilton Chain 2615b2a32d services: Remove (rosenthal utils serializers yaml) references.
This is a follow-up to commit 8782619822.

* modules/rosenthal/services/child-error.scm (home-wakapi-shepherd-service)
* modules/rosenthal/services/mail.scm (home-goimapnotify-shepherd): Use
yaml-file.
2026-02-25 15:46:05 +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 0b14f2b0aa rosenthal: caddy: Update to 2.11.1.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.11.1.
[native-inputs]: Update vendored Go dependencies.
2026-02-24 14:54:40 +08:00
Hilton Chain 469ed05022 rosenthal: sops: Update to 3.12.1.
* modules/rosenthal/packages/password-utils.scm (sops): Update to 3.12.1.
[native-inputs]: Update vendored Go dependencies.
2026-02-24 14:54:19 +08:00
Hilton Chain d2223eae62 rosenthal: sing-box: Update to 1.12.22.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.22.
[native-inputs]: Update vendored Go dependencies.
2026-02-24 14:54:15 +08:00
Hilton Chain 6e40c444b1 rosenthal: mihomo: Update to 1.19.20.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.20.
[native-inputs]: Update vendored Go dependencies.
2026-02-24 14:53:59 +08:00
Hilton Chain ce630ae91f rosenthal: prismlauncher/dolly: Update to 10.0.5.
* modules/rosenthal/packages/games.scm (prismlauncher/dolly): Update to 10.0.5.
[inputs]: Add cmark, gamemode, libarchive, qrencode, and tomlplusplus.
[native-inputs]: Add pkg-config.
2026-02-24 14:53:25 +08:00
Hilton Chain ae050f9e48 rosenthal: alloy-bin: Update to 1.13.2.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): Update to 1.13.2.
2026-02-24 14:52:52 +08:00
Hilton Chain a4cf3403f8 rosenthal: loki-bin: Update to 3.6.7.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.6.7.
2026-02-24 14:52:01 +08:00
Hilton Chain 286896d255 rosenthal: navidrome-bin: Update to 0.60.3.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.60.3.
2026-02-24 14:52:00 +08:00
Hilton Chain 3223aabac1 rosenthal: cloudflare-warp-bin: Update to 2026.1.150.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2026.1.150.0.
2026-02-24 14:51:58 +08:00
Hilton Chain c267843aca rosenthal: atuin: Update to 18.12.1.
* modules/rosenthal/packages/rust-apps.scm (atuin): Update to 18.12.1.
* modules/rosenthal/packages/rust-crates.scm (lookup-cargo-inputs) [atuin]:
Update.
2026-02-24 14:47:34 +08:00
Hilton Chain 37d8fabc97 rosenthal: emacs-kdl-mode: Disable updater.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-kdl-mode) [properties]: Set
disable-updater?.
2026-02-24 14:47:33 +08:00
Hilton Chain e8296177df rosenthal: mimir: Disable updater.
* modules/rosenthal/packages/binaries.scm (mimir-bin) [properties]: Add
disable-updater?.
2026-02-24 14:47:33 +08:00
Hilton Chain cdfbb9d864 etc: manifests: Limit all-packages to supported packages.
* etc/manifests/all-packages.scm: Filter by support-package?.
2026-02-24 14:47:33 +08:00
Hilton Chain eb6e174eb8 etc: Update committer.scm. 2026-02-24 14:47:27 +08:00
Hilton Chain 5cbca316d9 rosenthal: atuin: Update to 18.9.0.
* modules/rosenthal/packages/rust-apps.scm (atuin): Update to 18.9.0.
[arguments] <#:cargo-install-paths>: Set to "crates/atuin".
<#:features, #:phases>: Update accordingly.
* modules/rosenthal/packages/rust-crates.scm (lookup-cargo-inputs) [atuin]:
Update.
2026-02-23 01:57:31 +08:00
Hilton Chain 55459b2515 services: shellutils: Run in interactive shell only.
* modules/rosenthal/services/shellutils.scm (%home-atuin-fish)
(%home-direnv-fish, %home-zoxide-fish): Run in interactive shell.
2026-02-19 22:02:06 +08:00
Hilton Chain 0dbc71e278 services: Add network-online-service-type and home-network-online-service-type.
* modules/rosenthal/services/networking.scm (%network-online-shepherd): New
procedure.
(network-online-service-type, home-network-online-service-type): New variables.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base)
(%rosenthal-desktop-home-services): Add them.
2026-02-19 21:39:21 +08:00
Hilton Chain 9cb7193827 rosenthal: noctalia-shell: Update to 4.5.0.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.5.0.
* modules/rosenthal/examples/dot-config/noctalia/settings.json: Update session
menu.
2026-02-19 16:41:05 +08:00
Hilton Chain b6eb64b31d rosenthal: noctalia-shell: Use fastfetch-minimal.
* modules/rosenthal/packages/wm.scm (noctalia-shell) [inputs]: Replace fastfetch
with fastfetch-minimal.
2026-02-19 16:15:54 +08:00
Hilton Chain eab1e4b7b9 utils: Add modify-services/by-name.
* modules/rosenthal/utils/services.scm (modify-services/by-name): New macro.
* .dir-locals.el (scheme-mode): Add it.
2026-02-19 12:54:12 +08:00
Hilton Chain f536df13ce utils: rosenthal-transformation-zfs: Don't use package variant for ZFS module.
It's already handled by ‘linux-builder-configuration->system-entry’.

* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-zfs)
[kernel-loadable-modules]: Use unmodified zfs:module.
2026-02-19 12:54:12 +08:00
Hilton Chain 50d720a1de services: %rosenthal-desktop-services/base: Merge backlight extensions.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base)
[services]: Merge backlight and backlight-external.
2026-02-19 12:54:12 +08:00
Hilton Chain 17af453b4c rosenthal: %rosenthal-skeletons: Base on default-skeletons.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons):
Use (default-skeletons) as the base.
2026-02-19 12:54:12 +08:00
Hilton Chain 6a7e4c83f3 rosenthal: cuirass/dolly: Add commit range view to the patch.
* modules/rosenthal/packages/patches/cuirass-templates-Add-more-forges.patch:
Update.
2026-02-19 12:54:12 +08:00
Hilton Chain 87828529f6 examples: emacs: Fix installation. 2026-02-19 12:54:12 +08:00
Hilton Chain 46231e67c1 examples: emacs: Remove emacs-nftables-mode from the manifest.
* modules/rosenthal/examples/emacs/manifest.tmpl: Remove emacs-nftables-mode,
which isn't available in 1.5.0.
* modules/rosenthal/examples/guix/config.tmpl (%my-home) [packages]: Likewise.
2026-02-19 12:54:12 +08:00
Hilton Chain f1310d37f2 examples: guix: Remove home-fontconfig-service-type.
* modules/rosenthal/examples/guix/config.tmpl (%my-home)[services]: Remove
home-fontconfig-service-type.
[packages]: Adjust comment.
2026-02-19 12:54:11 +08:00
Hilton Chain 8f16d58baa examples: guix: Adjust packages.
* modules/rosenthal/examples/guix/config.tmpl (%my-os) [packages]: Adjust CLI
utilities.
Move more packages to...
* modules/rosenthal/examples/guix/config.tmpl (%my-home) [packages]: ...here.
2026-02-19 12:54:10 +08:00
Hilton Chain 9d7be1f81c examples: emacs: Add fontconfig into the manifest.
To provide XDG_DATA_DIRS search path.

* modules/rosenthal/examples/emacs/manifest.tmpl: Add fontconfig.
2026-02-16 15:44:43 +08:00
Hilton Chain e712df7088 examples: emacs: Adjust interface.
* modules/rosenthal/examples/emacs/init-interface.el (emacs): Enable scroll
bar, tool bar and tooltip.
Remove explicit enabling of menu bar.
2026-02-16 15:32:09 +08:00
Hilton Chain 3a4e97642b examples: emacs: Set emacs-corfu keymap via use-package keyword ‘:bind’.
* modules/rosenthal/examples/emacs/init-interface.el (corfu): Move keymap
setup to ‘:bind’.
2026-02-16 15:22:16 +08:00
Hilton Chain ec978c44fa examples: emacs: Fix manifest.
Guile treats .scm extensions as modules.

* modules/rosenthal/examples/emacs/manifest.scm: Rename to...
* modules/rosenthal/examples/emacs/manifest.tmpl: ...this new file.
* modules/rosenthal/examples/emacs/install.sh: Adjust accordingly.
2026-02-16 14:09:23 +08:00
Hilton Chain 9c89821d25 examples: emacs: Remove --dry-run from install.sh.
This is a follow-up to commit c83606a8c7.

* modules/rosenthal/examples/emacs/install.sh: Remove --dry-run.
2026-02-16 14:01:47 +08:00
Hilton Chain 7e6e089e45 examples: emacs: Add emacs-evil.
* modules/rosenthal/examples/emacs/manifest.scm: Add emacs-evil.
* modules/rosenthal/examples/emacs/init.el (initial-scratch-message): Mention
it.
* modules/rosenthal/examples/guix/config.tmpl (%my-home) [packages]: Adjust
accordingly.
2026-02-16 13:59:39 +08:00
Hilton Chain 9d90607a02 examples: emacs: Disable cua-mode by default.
* modules/rosenthal/examples/emacs/init-editing.el (emacs): Disable ‘cua-mode’.
* modules/rosenthal/examples/emacs/init.el: Add it to initial-scratch-message.
2026-02-16 13:59:26 +08:00
Hilton Chain 83edc24958 examples: emacs: Add more packages.
* modules/rosenthal/examples/emacs/manifest.scm: Add emacs-edit-indirect,
emacs-fish-mode, emacs-json-mode, emacs-markdown-mode and emacs-nftables-mode.
* modules/rosenthal/examples/guix/config.tmpl (%my-home) [packages]: Adjust
accordingly.
2026-02-16 13:58:49 +08:00
Hilton Chain 725aaa9044 examples: emacs: Remove emacs-daemons.
* modules/rosenthal/examples/emacs/manifest.scm: Remove emacs-daemons.
* modules/rosenthal/examples/emacs/init-miscellaneous.el (daemons): Remove.
* modules/rosenthal/examples/guix/config.tmpl (%my-home) [packages]: Adjust
accordingly.
2026-02-16 13:57:51 +08:00
Hilton Chain c83606a8c7 examples: emacs: Add manifest.scm.
* modules/rosenthal/examples/emacs/manifest.scm: New file.
* modules/rosenthal/examples/emacs/init-editing.el,
* modules/rosenthal/examples/emacs/init-fonts.el,
* modules/rosenthal/examples/emacs/init-interface.el,
* modules/rosenthal/examples/emacs/init-miscellaneous.el,
* modules/rosenthal/examples/emacs/init.el,
* modules/rosenthal/examples/emacs/install.sh: Adjust accordingly.
2026-02-16 13:47:14 +08:00
Hilton Chain d90148509c rosenthal: %rosenthal-skeletons: Add fcitx5 configuration.
* modules/rosenthal/examples/dot-config/fcitx5/config: New file.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons): Add it.
2026-02-15 22:23:38 +08:00
Hilton Chain 5b6af027a7 examples: Adjust examples.
* modules/rosenthal/examples/emacs/init-fonts.el: Add link to original source.
* modules/rosenthal/examples/guix/config.tmpl (%my-user): Replace password hash.
(%my-home): Adjust service extension name.
2026-02-15 22:19:20 +08:00
Hilton Chain cec050aba3 rosenthal: Add %rosenthal-skeletons-installer.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons): Move
skeletons that are only useful within the installer to...
(%rosenthal-skeletons-installer): ...this new variable.
2026-02-15 18:38:04 +08:00
Hilton Chain 5844bbf8ec examples: guix: Add system configuration example. 2026-02-15 16:48:10 +08:00
Hilton Chain 7b51750fd2 services: %rosenthal-desktop-services/base: Add ddcutil. 2026-02-15 15:50:21 +08:00
Hilton Chain e4608f6d20 examples: niri: Use noctalia-shell keybindings. 2026-02-15 15:50:21 +08:00
Hilton Chain 5d1948fc96 examples: niri: Update and reorder configurations. 2026-02-15 15:50:19 +08:00
Hilton Chain 9e52e49acb rosenthal: %rosenthal-skeletons: Compute .cache/noctalia/shell-state.json.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons)
[.cache/noctalia/shell-state.json]: Replace to computed-file.
2026-02-14 22:36:37 +08:00
Hilton Chain e17628ab79 examples: noctalia-shell: Revert app launcher view mode to list. 2026-02-14 20:13:18 +08:00
Hilton Chain 92466cc497 services: home-noctalia-shell: Create ~/.config/noctalia on activation. 2026-02-14 19:10:05 +08:00
Hilton Chain 3f4d109963 rosenthal: noctalia-shell: Reduce package output size.
* modules/rosenthal/packages/wm.scm (noctalia-shell) [arguments]: Remove
screenshots.
2026-02-14 19:05:39 +08:00
Hilton Chain 4ea2afff4c rosenthal: noctalia-shell: Add ddcutil input.
* modules/rosenthal/packages/wm.scm (noctalia-shell) [inputs]: Add ddcutil.
[arguments]: Add it into wrapper.
2026-02-14 19:05:36 +08:00
Hilton Chain 7da3af1adf examples: wezterm: Use Xwayland. 2026-02-14 16:35:15 +08:00
Hilton Chain efefd3ba1a examples: niri: Replace quit action. 2026-02-14 16:35:14 +08:00
Hilton Chain 9386fb64b7 rosenthal: Add emacs-kdl-mode.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-kdl-mode): New variable.
2026-02-14 00:37:22 +08:00
Hilton Chain 7c6e2c6c98 rosenthal: alloy-bin: Use ‘mapping-for-system’. 2026-02-14 00:37:22 +08:00
Hilton Chain a42b6b4d24 rosenthal: alloy-bin: Switch to gnu-build-system for proper cross build support. 2026-02-14 00:37:21 +08:00
Hilton Chain 9f069f714d rosenthal: alloy-bin: Use ‘binary-package’. 2026-02-14 00:37:21 +08:00
Hilton Chain 2db419232a utils: Add ‘mapping-for-system’ and ‘binary-package’.
* modules/rosenthal/utils/packages.scm (system-mapping, binary-package): New
procedures.
2026-02-14 00:37:21 +08:00
Hilton Chain 9c244cfe3b utils: %binary-source: Adjust package.
* modules/rosenthal/utils/packages.scm (%binary-source): Override home-page,
synopsis, description and license.
2026-02-14 00:37:16 +08:00
Hilton Chain 2fa2efe8ae rosenthal: Remove %rosenthal-set-keymap.
It'll be moved to the testament repository.

* modules/rosenthal/services/desktop.scm (%rosenthal-set-keymap-script)
(%rosenthal-set-keymap): Delete variables.
2026-02-13 14:47:16 +08:00
Hilton Chain fdada954a6 services: %rosenthal-skeletons: Fix file paths.
This is a follow-up to 36c789fcb8.
2026-02-13 00:06:52 +08:00
Hilton Chain c9f71daf91 services: Add ‘home-’ prefix home service type names. 2026-02-12 23:58:03 +08:00
Hilton Chain d29d8f7dce examples: noctalia-shell: Adjust app launcher options. 2026-02-12 23:26:38 +08:00
Hilton Chain 36c789fcb8 examples: Change directory layout.
* Add directories dot-cache and dot-config.
* Follow the layout used for %rosenthal-skeletons.
2026-02-12 23:26:32 +08:00
Hilton Chain b351250a90 rosenthal: noctalia-shell: Update to 4.4.3.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.4.3.
[inputs]: Add khal.
* modules/rosenthal/examples/noctalia-shell/shell-state.json: Update version.
2026-02-12 18:34:58 +08:00
Hilton Chain f099cec7d4 examples: noctalia-shell: Set exclusive dock display mode. 2026-02-12 13:31:49 +08:00
Hilton Chain ed9a415397 examples: Fix channels. 2026-02-11 14:33:42 +08:00
Hilton Chain 6a4b42978c rosenthal: %rosenthal-skeletons: Add shepherd.desktop for XDG Autostart.
This will be useful in desktop environments like GNOME.

* modules/rosenthal/examples/shepherd.desktop: New file.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons)
[.config/autostart/shepherd.desktop]: Use it.
2026-02-11 14:20:26 +08:00
Hilton Chain 2a17fef2a9 examples: Add channels.scm.
* modules/rosenthal/examples/guix/channels.scm: New file.
2026-02-11 14:20:23 +08:00
Hilton Chain 41e46a2523 examples: noctalia-shell: Keep only reboot and shutdown in session menu. 2026-02-11 00:57:14 +08:00
Hilton Chain 42a46b7b43 examples: Start WezTerm maximized so that the installer won't be resized. 2026-02-10 23:13:28 +08:00
Hilton Chain 7e2c3f3573 examples: niri: Fix configuration. 2026-02-10 21:26:39 +08:00
Hilton Chain 178a9d43fb services: Add home-polkit-gnome-service-type.
* modules/rosenthal/services/desktop.scm (%home-polkit-gnome-shepherd): New
procedure.
(home-noctalia-shell-service-type): New variable.
2026-02-10 20:11:30 +08:00
Hilton Chain a30c11dcea examples: niri: Update for Noctalia shell and Emacs + WezTerm in the installer. 2026-02-10 20:11:30 +08:00
Hilton Chain cf2b0b47f2 examples: noctalia-shell: Enable on-screen display for lock events. 2026-02-10 16:31:15 +08:00
Hilton Chain b1c1cceaa9 services: %cuirass-worker-container-script: Fix cuirass package. 2026-02-10 15:20:30 +08:00
Hilton Chain a12364e639 examples: emacs: Revert monospace font to Victor Mono. 2026-02-10 15:18:44 +08:00
Hilton Chain 55d7f8f06d examples: Use noctalia-shell and wezterm. 2026-02-10 15:18:42 +08:00
Hilton Chain 73c32a7b2c rosenthal: Set foot TERMINFO in skeletons and fix ckbcomp path in set-keymap script.
Change to set-keymap script is a follow-up to commit
2468773dd2.

* modules/rosenthal/examples/foot/foot.ini: New file.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons): Use it.
(%rosenthal-set-keymap-script): Fix ckbcomp path.
2026-02-10 13:17:52 +08:00
Hilton Chain 818b67307c services: base-rosenthal-desktop-services: Adapt for upstream %desktop-services change.
This is a follow-up to upstream change in %desktop-services.

* modules/rosenthal/services/desktop.scm (base-rosenthal-desktop-services):
Change %display-manager-service-type to remove gdm-service-type for 64-bit
systems.
2026-02-10 11:04:29 +08:00
Hilton Chain f8d4113975 rosenthal: alloy-bin-aarch64-linux: Merge into alloy-bin.
* modules/rosenthal/packages/binaries.scm (%alloy-source-x86_64-linux)
(%alloy-source-aarch64-linux): New variables.
(alloy-bin): Use them.
Install completions.
Support cross-compilation.
(alloy-bin-aarch64-linux): Deprecate.
2026-02-07 21:10:48 +08:00
Hilton Chain 2a89fe1f59 rosenthal: alloy-bin-aarch64-linux: Update to 1.13.0.
* modules/rosenthal/packages/binaries.scm (alloy-bin-aarch64-linux): Update to 1.13.0.
2026-02-07 20:58:32 +08:00
Hilton Chain f4a1592a66 rosenthal: alloy-bin: Update to 1.13.0.
* modules/rosenthal/packages/binaries.scm (alloy-bin): Update to 1.13.0.
2026-02-07 20:58:32 +08:00
Hilton Chain bf6937ec63 utils: Add %binary-source.
* modules/rosenthal/utils/packages.scm (%binary-source): New variable.
2026-02-07 20:58:32 +08:00
Hilton Chain b5e08762c4 rosenthal: noctalia-shell: Update to 4.4.0.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.4.0.
2026-02-07 20:58:32 +08:00
Hilton Chain c38d19ed12 rosenthal: tailscale: Update to 1.94.1.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.94.1.
[native-inputs]: Update vendored Go dependencies.
2026-02-07 20:58:32 +08:00
Hilton Chain 090bf6d160 rosenthal: sing-box: Update to 1.12.20.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.20.
[native-inputs]: Update vendored Go dependencies.
2026-02-07 20:58:31 +08:00
Hilton Chain b15427f304 rosenthal: cloudflared: Update to 2026.2.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2026.2.0.
2026-02-07 20:58:31 +08:00
Hilton Chain 860dfc897b rosenthal: ukify: Update to 259.1.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 259.1.
2026-02-07 20:58:31 +08:00
Hilton Chain ffebd92d70 rosenthal: systemd-stub: Update to 259.1.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 259.1.
2026-02-07 20:58:25 +08:00
Hilton Chain 7ec4a1edf0 rosenthal: loki-bin: Update to 3.6.5.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.6.5.
2026-02-07 19:03:29 +08:00
Hilton Chain 10740c96f1 rosenthal: navidrome-bin: Update to 0.60.0.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.60.0.
2026-02-07 19:03:29 +08:00
Hilton Chain 0b5e6584e1 rosenthal: komga-bin: Update to 1.24.1.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.24.1.
2026-02-07 19:03:27 +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 15b446c932 README.org: Reword. 2026-02-07 18:20:56 +08:00
Hilton Chain ef4bdc962c services: Remove unnecessary extensions of log-rotation-service-type.
Log files specified via service constructors are already covered.

* modules/rosenthal/services/child-error.scm (clash-service-type)
(cloudflare-tunnel-service-type)
* modules/rosenthal/services/mail.scm (docker-mailserver-service-type)
* modules/rosenthal/services/monitoring.scm (alloy-service-type)
(grafana-service-type, loki-service-type, mimir-service-type)
(prometheus-service-type)
* modules/rosenthal/services/networking.scm (sing-box-service-type)
(tailscale-service-type)
* modules/rosenthal/services/web.scm (iocaine-service-type)
(jellyfin-service-type, misskey-service-type, vaultwarden-service-type): Stop
extending log-rotation-service-type.
2026-02-07 01:05:03 +08:00
Hilton Chain 4f9123400b services: home-noctalia-shell: Set log file.
* modules/rosenthal/services/desktop.scm (%home-noctalia-shell-shepherd)
[start]: Set log file.
2026-02-07 01:05:02 +08:00
Hilton Chain b1f25b0893 services: base-rosenthal-desktop-services: Include power-profiles-daemon-service-type.
* modules/rosenthal/services/desktop.scm (base-rosenthal-desktop-services): Add
power-profiles-daemon-service-type.
2026-02-06 21:09:12 +08:00
Hilton Chain e326a012d0 services: Rename %rosenthal-desktop-services.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base)
(%rosenthal-desktop-services/gdm, %rosenthal-desktop-services/tuigreet): New
variables.
(%rosenthal-desktop-services-gdm, %rosenthal-desktop-services): Deprecate.
2026-02-06 21:09:11 +08:00
Hilton Chain 80874b0c7b services: Add home-noctalia-shell-configuration.
* modules/rosenthal/services/desktop.scm
(home-noctalia-shell-configuration): New data type.
(%home-noctalia-shell-shepherd, home-noctalia-shell-service-type): Use it.
2026-02-06 19:55:40 +08:00
Hilton Chain af7bf64a8c rosenthal: noctalia-shell: Install under ‘etc/xdg/quickshell’.
* modules/rosenthal/packages/wm.scm (noctalia-shell) [arguments]
<#:install-plan>: Install under etc/xdg/quickshell.
<#:phases>: Adjust accordingly.
2026-02-06 19:27:10 +08:00
Hilton Chain 2468773dd2 rosenthal: Avoid referencing packages by specifications. 2026-02-06 19:26:55 +08:00
Hilton Chain 6949df2e5b examples: niri: Adjust Shepherd launching. 2026-02-06 14:38:59 +08:00
Hilton Chain 452e9d7854 examples: emacs: Change configuration file names. 2026-02-06 14:38:59 +08:00
Hilton Chain 64525e12cd examples: emacs: Import ‘(gnu)’ module. 2026-02-06 14:35:33 +08:00
Hilton Chain c1b50aa743 examples: emacs: Set up emacs-macrostep-geiser. 2026-02-06 14:35:31 +08:00
Hilton Chain f06cef595c rosenthal: noctalia-shell: Patch ‘systemd-inhibit’ references.
* modules/rosenthal/packages/wm.scm (noctalia-shell)
[arguments] <#:phases>: Patch ‘systemd-inhibit’ references.
[inputs]: Add elogind.
2026-02-05 21:31:24 +08:00
Hilton Chain a4a9c32170 rosenthal: noctalia-shell: Update to 4.3.3.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Update to 4.3.3.
2026-02-05 13:44:42 +08:00
Hilton Chain ab6d86481a rosenthal: noctalia-shell: Add more missing dependencies.
* modules/rosenthal/packages/wm.scm (noctalia-shell)
[inputs]: Add glibc, grep, wl-clipboard, wtype.
[arguments] <#:phases>: Adjust accordingly.
2026-02-04 23:14:32 +08:00
Hilton Chain 4eba556e21 services: Add %rosenthal-desktop-services-gdm.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services-gdm):
Extracted from...
(rosenthal-desktop-services-for-system): ...it.
Adjust accordingly.
2026-02-04 23:14:31 +08:00
Hilton Chain c2003fa60c services: %rosenthal-desktop-home-services: Replace home-dbus-service-type.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-home-services):
Replace home-dbus-service-type.
2026-02-04 23:14:30 +08:00
Hilton Chain 6c67cac50f rosenthal: Add emacs-isearch-mb.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-isearch-mb): New variable.
2026-02-04 21:18:49 +08:00
Hilton Chain 6fac29b34d rosenthal: noctalia-shell: Add qtwayland dependency.
* modules/rosenthal/packages/wm.scm (noctalia-shell): Add qtwayland.
2026-02-04 18:24:58 +08:00
Hilton Chain 4da8818d04 services: Add home-noctalia-shell-service-type.
* modules/rosenthal/services/desktop.scm (home-noctalia-shell-service-type):
New variable.
2026-02-04 17:01:57 +08:00
Hilton Chain cc32c7bbe0 rosenthal: Add noctalia-shell.
* modules/rosenthal/packages/wm.scm (noctalia-shell): New variable.
2026-02-04 17:01:55 +08:00
Hilton Chain 8c0b782c6d services: %rosenthal-desktop-home-services: Remove applet services.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-home-services):
Remove home-blueman-applet-service-type and
home-network-manager-applet-service-type.
2026-02-04 16:59:47 +08:00
Hilton Chain 4f027bc456 rosenthal: alloy-bin: Make exectuable.
* modules/rosenthal/packages/binaries.scm (alloy-bin): [arguments]: Make the
binary exectuable.
2026-01-31 12:30:13 +08:00
Hilton Chain eabcecfe5c examples: emacs: Add install.sh
* modules/rosenthal/examples/emacs/install.sh: New file.
2026-01-25 16:52:12 +08:00
Hilton Chain bb61aead91 rosenthal: cloudflared: Update to 2026.1.1.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2026.1.1.
2026-01-25 15:42:41 +08:00
Hilton Chain 9997534efe rosenthal: alloy-bin-aarch64-linux: Update to 1.12.2.
* modules/rosenthal/packages/binaries.scm (alloy-bin-aarch64-linux): Update to 1.12.2.
2026-01-25 15:42:41 +08:00
Hilton Chain 9f3003a1f2 rosenthal: alloy-bin: Update to 1.12.2.
* modules/rosenthal/packages/binaries.scm (alloy-bin): Update to 1.12.2.
2026-01-25 15:42:41 +08:00
Hilton Chain d43e65476a rosenthal: loki-bin: Update to 3.6.4.
* modules/rosenthal/packages/binaries.scm (loki-bin): Update to 3.6.4.
2026-01-25 15:42:41 +08:00
Hilton Chain 5ab55fd0bf rosenthal: wakatime-cli-bin: Update to 1.139.1.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.139.1.
2026-01-25 15:42:41 +08:00
Hilton Chain 77e021308c rosenthal: wakapi-bin: Update to 2.17.1.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.17.1.
2026-01-25 15:42:40 +08:00
Hilton Chain 309cddba6c rosenthal: navidrome-bin: Update to 0.59.0.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.59.0.
2026-01-25 15:42:40 +08:00
Hilton Chain 86a284fbe3 rosenthal: komga-bin: Update to 1.23.6.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.23.6.
2026-01-25 15:42:40 +08:00
Hilton Chain 2c4e13eb1e rosenthal: tuwunel-bin: Update to 1.4.9.1.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): Update to 1.4.9.1.
2026-01-25 15:42:39 +08:00
Hilton Chain 225f3ce9bd rosenthal: guix/dolly: Fix nar archive path in ‘delete-entry’ for ‘guix publish’ patch. 2026-01-25 00:17:09 +08:00
Hilton Chain ab429bcc1f rosenthal: guix/dolly: Fix ‘delete-entry’ in ‘guix publish’ patch. 2026-01-24 20:17:18 +08:00
Hilton Chain 88505d703f rosenthal: binaries: Enable updater.
* modules/rosenthal/packages/binaries.scm (komga-bin, navidrome-bin)
(shadow-tls-bin , wakapi-bin, wakatime-cli-bin, mimir-bin)
(loki-bin, alloy-bin) [properties] <disable-updater?>: Remove.
2026-01-24 14:04:48 +08:00
Hilton Chain 0784504c64 rosenthal: mihomo: Update to 1.19.19.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.19.
2026-01-19 20:04:58 +08:00
Hilton Chain d461f24357 rosenthal: cloudflare-warp-bin: Update to 2025.10.186.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.10.186.0.
2026-01-19 20:04:56 +08:00
Hilton Chain aeabb0d64c examples: emacs: Add packages for fonts specified in the configuration into comment as well. 2026-01-18 18:48:36 +08:00
Hilton Chain a1f6309513 examples: emacs: Update fonts and Nonguix module. 2026-01-18 12:53:11 +08:00
Hilton Chain 371186d95a examples: emacs: Split configurations.
* modules/rosenthal/examples/emacs/editing.el,
* modules/rosenthal/examples/emacs/interface.el,
* modules/rosenthal/examples/emacs/miscellaneous.el: New files.
* modules/rosenthal/examples/emacs/init.el: Load them.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons): Add them.
2026-01-14 14:23:11 +08:00
Hilton Chain 4eab99447f services: %rosenthal-set-keymap-script: Use mkstemp.
tmpnam is deprecated.

* modules/rosenthal/services/desktop.scm (%rosenthal-set-keymap-script):
Replace tmpnam with mkstemp.
2026-01-14 11:30:59 +08:00
Hilton Chain f549c7604c services: %rosenthal-set-keymap-script: Adapt to installer environment.
This helps to invoke the script directly from Guix's installer.

* modules/rosenthal/services/desktop.scm (%rosenthal-set-keymap-script):
Output keymap to temporary file.
Always change niri configuration.
2026-01-14 10:32:27 +08:00
Hilton Chain 444f54f9f2 rosenthal: Re-export (gnu system privilege). 2026-01-13 16:35:27 +08:00
Hilton Chain ca8f28e512 services: monitoring: Add log rotation.
* modules/rosenthal/services/monitoring.scm (alloy-service-type)
(grafana-service-type, loki-service-type, mimir-service-type)
(prometheus-service-type) [extensions]: Extend log-rotation-service-type.
2026-01-13 14:22:07 +08:00
Hilton Chain e1558d198a utils: rosenthal-transformation-guix: Update signing keys.
Forgot to add the new one here...
See also <https://codeberg.org/hako/Testament/issues/20>.

* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-guix):
Add new signing key of Guix Moe build farm.
2026-01-12 22:24:17 +08:00
Hilton Chain 31279f60c1 rosenthal: Remove emacs-nftables-mode.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-nftables-mode): Delete variable.
2026-01-12 21:59:26 +08:00
Hilton Chain 8c9f36277d examples: Update niri.kdl.
* modules/rosenthal/examples/niri.kdl: Update.
2026-01-12 21:39:45 +08:00
Hilton Chain ec16e0a7bc rosenthal: tailscale: Update to 1.92.5.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.92.5.
[native-inputs]: Update vendored Go dependencies.
2026-01-11 15:17:37 +08:00
Hilton Chain 81a607ef4b rosenthal: sing-box: Update to 1.12.15.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.15.
[native-inputs]: Update vendored Go dependencies.
2026-01-11 15:17:36 +08:00
Hilton Chain b451586c84 rosenthal: mihomo: Update to 1.19.18.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.18.
[native-inputs]: Update vendored Go dependencies.
2026-01-11 15:17:34 +08:00
Hilton Chain 09232e12d0 rosenthal: ukify: Update to 259.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 259.
2026-01-11 15:04:55 +08:00
Hilton Chain d208eb1a41 rosenthal: systemd-stub: Update to 259.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 259.
2026-01-11 15:04:55 +08:00
Hilton Chain 0613347b83 rosenthal: prometheus-bin: Update to 3.9.1.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.9.1.
2026-01-11 15:04:55 +08:00
Hilton Chain 904d07ff13 rosenthal: dinit: Update to 0.20.0.
* modules/rosenthal/packages/admin.scm (dinit): Update to 0.20.0.
[build-system]: Switch to gnu-build-system.
[arguments] <#:configure-flags>: Adjust accordingly.
<#:make-flags>: Set CXX and CXX_FOR_BUILD.
2026-01-11 15:03:57 +08:00
Hilton Chain f15c27b931 rosenthal: rclone-bin: Deprecate package. 2025-12-04 15:21:43 +08:00
Hilton Chain d6b51182ab rosenthal: lottie-converter: Disable updater.
* modules/rosenthal/packages/animation.scm (lottie-converter) [properties]:
Set disable-updater? to #t.
2025-12-04 15:21:42 +08:00
Hilton Chain cc35f89140 rosenthal: ai-robots-txt: Update to 1.44.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.44.
2025-12-04 15:21:42 +08:00
Hilton Chain 1390b59658 rosenthal: cloudflared: Update to 2025.11.1.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.11.1.
2025-12-04 15:21:42 +08:00
Hilton Chain 003ec9efa6 rosenthal: ukify: Update to 258.2.
* modules/rosenthal/packages/bootloaders.scm (ukify): Update to 258.2.
2025-12-04 15:21:42 +08:00
Hilton Chain c2a613268a rosenthal: systemd-stub: Update to 258.2.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub): Update to 258.2.
2025-12-04 15:21:42 +08:00
Hilton Chain 870a6fe099 rosenthal: prometheus-bin: Update to 3.8.0.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.8.0.
2025-12-04 15:21:42 +08:00
Hilton Chain 4fcd931614 rosenthal: cloudflare-warp-bin: Update to 2025.9.558.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.9.558.0.
2025-12-04 15:21:40 +08:00
Hilton Chain 5cae0412d7 rosenthal: tailscale: Update to 1.90.9.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.90.9.
[native-inputs]: Update vendored Go dependencies.
2025-12-04 15:18:05 +08:00
Hilton Chain db380dc051 rosenthal: sing-box: Update to 1.12.12.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.12.
[native-inputs]: Update vendored Go dependencies.
2025-12-04 15:16:54 +08:00
Hilton Chain 3382ae51e7 rosenthal: mihomo: Update to 1.19.17.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.17.
[native-inputs]: Update vendored Go dependencies.
2025-12-04 15:15:11 +08:00
Hilton Chain 35fbf5c342 rosenthal: Add cuirass/dolly.
* modules/rosenthal/packages/patches/cuirass-templates-Add-more-forges.patch:
New file.
* modules/rosenthal/packages/ci.scm (cuirass/dolly): New variable.
2025-12-02 00:36:39 +08:00
Hilton Chain 5ac1f7973a services: jellyfin: Fix up jellyfin-account.
This is a follow-up to commit ee65ec0e89.

* modules/rosenthal/services/web.scm (jellyfin-service-type) [extensions]: Fix
up use of jellyfin-account.
2025-11-09 16:18:41 +08:00
Hilton Chain ee65ec0e89 services: Add user-id and group-id configuration options. 2025-11-04 16:54:55 +08:00
Hilton Chain 0d15cfdb28 services: Add heisenbridge-service-type.
* modules/rosenthal/services/messaging.scm (<heisenbridge-configuration>): New
data type.
(heisenbridge-service-type): New variable.
2025-11-03 20:04:53 +08:00
Hilton Chain 312452d1dd rosenthal: Add heisenbridge.
* modules/rosenthal/packages/messaging.scm (heisenbridge): New variable.
2025-11-03 20:04:50 +08:00
Hilton Chain 90a4db4e4f rosenthal: Add python-irc.
* modules/rosenthal/packages/python-xyz.scm (python-irc): New variable.
2025-11-03 20:03:21 +08:00
Hilton Chain 3d1539423b rosenthal: Add python-jaraco-stream.
* modules/rosenthal/packages/python-xyz.scm (python-jaraco-stream): New
variable.
2025-11-03 20:03:19 +08:00
Hilton Chain 69c7d35eb5 rosenthal: Add python-jaraco-logging.
* modules/rosenthal/packages/python-xyz.scm (python-jaraco-logging): New
variable.
2025-11-03 20:03:10 +08:00
Hilton Chain 92ffe18fd6 rosenthal: Add python-coherent-licensed.
* modules/rosenthal/packages/python-xyz.scm (python-coherent-licensed): New
variable.
2025-11-03 19:51:28 +08:00
Hilton Chain a0f7d82605 rosenthal: mautrix-telegram: Fix path.
* modules/rosenthal/packages/messaging.scm (mautrix-telegram) [#:phases]
<install-extras>: Fix path.
[inputs]: Add ffmpeg, lottie-converter, python.
2025-11-03 19:42:52 +08:00
Hilton Chain 423b906417 rosenthal: Add lottie-converter.
* modules/rosenthal/packages/animation.scm (lottie-converter): New variable.
2025-11-03 19:42:48 +08:00
Hilton Chain 56ed0382d7 services: Add mautrix-telegram-service-type.
* modules/rosenthal/services/messaging.scm (<mautrix-telegram-configuration>):
New data type.
* modules/rosenthal/services/messaging.scm (mautrix-telegram-service-type):
New variable.
2025-11-03 19:38:17 +08:00
Hilton Chain 29d57819f9 rosenthal: Add mautrix-telegram.
* modules/rosenthal/packages/messaging.scm (mautrix-telegram): New variable.
2025-11-01 17:46:21 +08:00
Hilton Chain 2fa66eb246 rosenthal: Add python-tulir-telethon.
* modules/rosenthal/packages/python-xyz.scm (python-tulir-telethon): New
variable.
2025-11-01 17:46:21 +08:00
Hilton Chain 6a1988358f rosenthal: Add python-mautrix.
* modules/rosenthal/packages/python-xyz.scm (python-mautrix): New variable.
2025-11-01 17:46:21 +08:00
Hilton Chain 0f009c9dbe rosenthal: Add python-cryptg. 2025-11-01 17:46:21 +08:00
Hilton Chain 076a8b192f services: Add conduit-service-type.
* modules/rosenthal/services/web.scm (<conduit-configuration>): New data type.
(conduit-activation, conduit-shepherd): New procedures.
(conduit-account, conduit-service-type): New variables.
2025-11-01 17:46:20 +08:00
Hilton Chain f32dcf69a8 rosenthal: Add tuwunel-bin.
* modules/rosenthal/packages/binaries.scm (tuwunel-bin): New variable.
2025-11-01 17:04:32 +08:00
Hilton Chain 0b271df078 rosenthal: Add conduit-bin.
* modules/rosenthal/packages/binaries.scm (conduit-bin): New variable.
2025-11-01 12:37:33 +08:00
Hilton Chain eaa1d09454 services: Migrate for oci-container-service-type deprecation.
* modules/rosenthal/services/mail.scm (docker-mailserver-service-type)
[extensions]: Use oci-service-type.
* modules/rosenthal/services/web.scm (jellyfin-service-type)
(misskey-service-type, vaultwarden-service-type) [extensions]: Likewise.
2025-11-01 08:39:21 +08:00
Hilton Chain 2e8fd96f92 rosenthal: Remove iocaine/dolly. 2025-10-31 14:06:19 +08:00
Hilton Chain a3e553fc65 rosenthal: Remove hugo. [moved to Nonguix]
* modules/rosenthal/packages/web.scm (hugo): Delete variable.
2025-10-30 22:24:41 +08:00
Hilton Chain 7bda91c1da rosenthal: Remove go-1.25.
* modules/rosenthal/packages/golang.scm (go-1.25): Delete variable.
2025-10-30 16:06:02 +08:00
MinkieYume f669389a0b services: greetd-tuigreet-session: Allow arguments customization.
* modules/rosenthal/services/base.scm (<greetd-tuigreet-session>) [args]: New
field.
* modules/rosenthal/services/base.scm (greetd-tuigreet-session-compiler): Use
it.
2025-10-29 20:35:46 +08:00
Hilton Chain 442edefa43 rosenthal: tailscale: Update to 1.90.4.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.90.4.
[arguments] <#:phases>: Move PATH modification to ...
* modules/rosenthal/packages/patches/tailscale-set-guix-system-PATH-for-SSH.patch:
... this patch.
2025-10-29 19:10:01 +08:00
Hilton Chain 7b15542d77 rosenthal: guix/dolly: Fix publish tests and 'delete-entry'. 2025-10-28 23:55:11 +08:00
Hilton Chain 1b87867f00 rosenthal: tailscale: Adjust root user's PATH for Tailscale SSH. 2025-10-25 19:28:07 +08:00
Hilton Chain 409fad8307 rosenthal: tailscale: Adjust default PATH for Tailscale SSH.
* modules/rosenthal/packages/networking.scm (tailscale) [arguments]: Add
/run/current-system/profile/bin to Tailscale SSH's default PATH.
2025-10-25 17:59:35 +08:00
Hilton Chain 0fa66ce699 services: tailscale: Run with inherited environment variables.
* modules/rosenthal/services/networking.scm (tailscale-configuration)
[iptables]: Remove field.
(tailscale-shepherd-service): Remove configuration to environment variables.
2025-10-25 15:51:11 +08:00
Hilton Chain f4d7a54232 rosenthal: hugo: Update to 0.152.2.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.152.2.
2025-10-25 12:05:29 +08:00
Hilton Chain d18951162c rosenthal: tailscale: Update to 1.90.2.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.90.2.
2025-10-25 12:05:29 +08:00
Hilton Chain 9e9b2dc6d1 rosenthal: sing-box: Update to 1.12.11.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.11.
2025-10-25 12:05:29 +08:00
Hilton Chain 396d5a0f37 rosenthal: mihomo: Update to 1.19.15.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.15.
2025-10-25 12:05:28 +08:00
Hilton Chain 169827bb6a rosenthal: sops: Update to 3.11.0.
* modules/rosenthal/packages/password-utils.scm (sops): Update to 3.11.0.
[arguments] <#:go>: Use go-1.24.
[native-inputs]: Update vendored Go dependencies.
2025-10-25 12:03:55 +08:00
Hilton Chain 5ab9348d37 rosenthal: Remove systemd-version and systemd-source.
* modules/rosenthal/packages/bootloaders.scm (systemd-version)
(systemd-source): Delete variables.
(systemd-stub, ukify): Adjust accordingly.
2025-10-25 11:44:39 +08:00
Hilton Chain 4ec4303fac rosenthal: emacs-eat/hako: Rename to emacs-eat/dolly.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-eat/hako): Rename to
emacs-eat/dolly.
2025-10-25 11:33:28 +08:00
Hilton Chain 0854874c2c rosenthal: ai-robots-txt: Update to 1.42.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.42.
2025-10-25 11:15:19 +08:00
Hilton Chain a86f295761 rosenthal: cloudflared: Update to 2025.10.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.10.0.
2025-10-25 11:15:19 +08:00
Hilton Chain 403872fcd4 rosenthal: prismlauncher/dolly: Update to 9.4.
* modules/rosenthal/packages/games.scm (prismlauncher/dolly): Update to 9.4.
2025-10-25 11:15:18 +08:00
Hilton Chain 249040cb9f rosenthal: prometheus-bin: Update to 3.7.2.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.7.2.
2025-10-25 11:12:40 +08:00
Hilton Chain 659b05b787 rosenthal: cloudflare-warp-bin: Update to 2025.8.779.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.8.779.0.
2025-10-25 11:12:39 +08:00
Hilton Chain 2b2867a10e services: qbittorrent: Stop using deprecated qbittorrent-nox.
* modules/rosenthal/services/bittorrent.scm (qbittorrent-configuration)
[qbittorrent]: Default to qbittorrent-no-x.
2025-10-25 11:11:24 +08:00
Hilton Chain ce7e403b6b rosenthal: go-1.25: Update to 1.25.3.
* modules/rosenthal/packages/golang.scm (go-1.25): Update to 1.25.3.
2025-10-25 11:10:24 +08:00
Hilton Chain b0d345d115 rosenthal: Remove cuirass/dolly.
* modules/rosenthal/packages/ci.scm (cuirass/dolly): Delete variable.
2025-10-22 00:00:23 +08:00
Hilton Chain 1c3aed0cdb services: zfs: Add zfs-configuration.
* modules/rosenthal/services/file-systems.scm (<zfs-configuration>): New data
type.
Enable auto mounting and disable volumes by default.
(zfs-shepherd-service): Rename to zfs-shepherd.
No longer use one-shot services.
(zfs-service-type): Adjust accordingly.
Set default value.

* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-zfs):
Allow configuration.
2025-10-20 13:44:15 +08:00
Hilton Chain 9e2dc3254d services: home-goimapnotify-service-type: Add wait option.
* modules/rosenthal/services/mail.scm (home-goimapnotify-configuration): Add
wait option.
(home-goimapnotify-shepherd): Use it.
2025-10-20 00:49:05 +08:00
Hilton Chain 677b4962a0 service: Add home-goimapnotify-service-type.
* modules/rosenthal/services/mail.scm (<home-goimapnotify-configuration>): New
data type.
(home-goimapnotify-shepherd): New procedure.
(home-goimapnotify-service-type): New variable.
2025-10-20 00:39:13 +08:00
Hilton Chain 1903d825a4 rosenthal: Add prismlauncher/dolly. 2025-10-19 01:16:46 +08:00
Hilton Chain 88283b8d95 services: Remove miniflux-service-type. 2025-09-28 21:59:01 +08:00
Hilton Chain 367ca98a48 services: Add postgresql-password-file option.
* modules/rosenthal/services/monitoring.scm (grafana-configuration)
* modules/rosenthal/services/web.scm (forgejo-configuration)
(misskey-configuration, vaultwarden-configuration): Add
postgresql-password-file option.
* modules/rosenthal/services/monitoring.scm (grafana-postgresql-role)
* modules/rosenthal/services/web.scm (forgejo-postgresql-role)
(forgejo-service-type, misskey-postgresql-role, misskey-service-type)
(vaultwarden-postgresql-role, vaultwarden-service-type): Adjust accordingly.
2025-09-28 21:56:41 +08:00
Hilton Chain cae3691f06 rosenthal: Re-export bootloader modules. 2025-09-27 23:22:03 +08:00
Hilton Chain a90ea1bdeb bootloader: Add uefi-uki-removable-bootloader.
* modules/rosenthal/bootloader/uki.scm: New file.
2025-09-27 23:21:35 +08:00
Hilton Chain 1bb06a779b rosenthal: Add ukify.
* modules/rosenthal/packages/bootloaders.scm (ukify): New variable.
2025-09-27 23:21:08 +08:00
Hilton Chain cd0f3117a0 rosenthal: Add systemd-stub.
* modules/rosenthal/packages/bootloaders.scm (systemd-stub-name): New procedure.
(systemd-version, systemd-source, systemd-stub): New variables.
2025-09-27 23:20:58 +08:00
Hilton Chain 17c5c2fd78 ci: Attempt to fix the tarball job.
* modules/rosenthal/ci/tarball.scm (tarball-jobs): New procedure.
(cuirass-jobs): Copied from Guix.
2025-09-26 12:54:32 +08:00
Hilton Chain 3bcfc744fe rosenthal: Remove emacs-treesit-auto.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-treesit-auto): Delete variable.
2025-09-26 00:57:35 +08:00
Hilton Chain 52554a333b rosenthal: Add custom CI build for guix/dolly tarball. 2025-09-25 22:37:28 +08:00
Hilton Chain 330b4f2761 rosenthal: cuirass/dolly: Update to 1.3.1-2.1de99f7. 2025-09-25 21:41:11 +08:00
Hilton Chain b8c3305403 services: misskey: Use serializer from guile-yamlpp. 2025-09-25 13:02:44 +08:00
Hilton Chain ae9586b909 services: forgejo, grafana: Use serializer from guile-ini. 2025-09-25 12:54:29 +08:00
Hilton Chain f35b32e3aa rosenthal: hugo: Update to 0.150.0.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.150.0.
[native-inputs]: Update vendored Go dependencies.
2025-09-24 19:50:25 +08:00
Hilton Chain 212b894a0a rosenthal: tailscale: Update to 1.88.1.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.88.1.
[arguments]: Use go-1.25.
[native-inputs]: Update vendored Go dependencies.
2025-09-24 19:50:25 +08:00
Hilton Chain c594dc9d31 rosenthal: sing-box: Update to 1.12.8.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.8.
[native-inputs]: Update vendored Go dependencies.
2025-09-24 19:50:12 +08:00
Hilton Chain 3ff13371f2 rosenthal: mihomo: Update to 1.19.14.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.14.
[native-inputs]: Update vendored Go dependencies.
2025-09-24 19:47:58 +08:00
Hilton Chain 891a615e25 rosenthal: cloudflared: Update to 2025.9.1.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.9.1.
2025-09-24 18:54:10 +08:00
Hilton Chain 2f54139e5f rosenthal: prometheus-bin: Update to 3.6.0.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): Update to 3.6.0.
2025-09-24 18:54:09 +08:00
Hilton Chain 9899668601 README: Add CI badge.
* README.org: Unwrap lines.
Add CI badge.
2025-09-24 15:19:18 +08:00
Hilton Chain f1fa3f49ba rosenthal: Add cuirass/dolly.
* modules/rosenthal/packages/ci.scm (cuirass/dolly): New variable.
2025-09-23 23:26:40 +08:00
Hilton Chain 6d4aff2134 rosenthal: caddy/dolly: Update to 2025.09.20-1.
* modules/rosenthal/packages/web.scm (caddy/dolly): Update to 2025.09.20-1.
[source]: Update repository URL.
[native-inputs]: Update vendored Go dependencies.
2025-09-20 14:14:29 +08:00
Hilton Chain 77a51053c4 rosenthal: forgejo: Update to 12.0.3.
* modules/rosenthal/packages/web.scm (forgejo): Update to 12.0.3.
2025-09-20 14:14:12 +08:00
Hilton Chain 63f2243f28 services: alloy & grafana & loki & mimir: Add log file.
* modules/rosenthal/services/monitoring.scm (alloy-shepherd, grafana-shepherd)
(loki-shepherd, mimir-shepherd): Add log file.
2025-09-20 14:13:27 +08:00
Hilton Chain 83943282c9 services: grafana: Remove use of password file.
* modules/rosenthal/services/monitoring.scm (grafana-configuration)
[database-password-file]: Delete field.
* modules/rosenthal/services/monitoring.scm (grafana-postgresql-role): Remove
use of password file.
2025-09-20 13:54:04 +08:00
Hilton Chain fd288d075b service: forgejo: Create log directory.
* modules/rosenthal/services/web.scm (forgejo-activation): Create
/var/log/forgejo.
2025-09-20 13:53:32 +08:00
Hilton Chain 3daa92a216 rosenthal: ai-robots-txt: Update to 1.40.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.40.
2025-09-16 20:54:14 +08:00
Hilton Chain 1adedb4477 rosenthal: Add alloy-bin-aarch64-linux.
* modules/rosenthal/packages/binaries.scm (alloy-bin-aarch64-linux): New
variable.
2025-09-15 21:56:27 +08:00
Hilton Chain 44bb224568 services: Add alloy-service-type. 2025-09-15 21:30:29 +08:00
Hilton Chain bb2494828d services: Add mimir-service-type. 2025-09-15 21:30:20 +08:00
Hilton Chain f7ec4842d3 services: Add loki-service-type. 2025-09-15 21:30:03 +08:00
Hilton Chain 6bc7653985 services: prometheus: Fix activation directory. 2025-09-15 18:07:58 +08:00
Hilton Chain 05613c1085 services: prometheus: Fix directory permission.
* modules/rosenthal/services/monitoring.scm (prometheus-activation): Fix
permission for /var/lib/prometheus, which is also used by
prometheus-node-exporter.
2025-09-14 23:15:22 +08:00
Hilton Chain 3707e89521 services: Add prometheus-service-type.
* modules/rosenthal/services/monitoring.scm (<prometheus-configuration>): New
data type.
(prometheus-account, prometheus-activation, prometheus-shepherd): New
procedures.
(prometheus-service-type): New variable.
2025-09-14 22:29:21 +08:00
Hilton Chain 4d50937404 services: Add grafana-service-type.
* modules/rosenthal/services/monitoring.scm (<grafana-configuration>): New data
type.
(grafana-account, grafana-postgresql-role, grafana-activation)
(grafana-shepherd): New procedures.
(grafana-service-type): New variable.
2025-09-14 21:25:22 +08:00
Hilton Chain ee6254000d rosenthal: grafana-bin: Install assets.
* modules/rosenthal/packages/binaries.scm (grafana-bin) [arguments]
<#:install-plan>: Add assets.
2025-09-14 21:24:41 +08:00
Hilton Chain 1095ffcbe6 rosenthal: guix/dolly: Update ZFS patch with workaround for ‘guix deploy’ support.
* modules/rosenthal/packages/patches/guix-wip-zfs-boot-support.patch: Update.
2025-09-14 14:53:58 +08:00
Hilton Chain 8e3cb6520c utils: Add rosenthal-transformation-zfs.
* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-zfs):
New procedure.
2025-09-13 20:15:33 +08:00
Hilton Chain a71e15a31f rosenthal: guix/dolly: Apply ZFS patches.
* modules/rosenthal/packages/package-management.scm (guix/hako): Rename to...
(guix/dolly): ...this and apply patches necessary for root on ZFS support.
2025-09-13 18:00:32 +08:00
Hilton Chain 0050466952 services: Add iocaine.
* modules/rosenthal/services/web.scm (<iocaine-configuration>): New data type.
(iocaine-etc, iocaine-shepherd-service): New procedures.
(iocaine-accounts, iocaine-service-type): New variables.
2025-09-12 14:50:45 +08:00
Hilton Chain 62cbfda23d service: caddy: Use invoke to reload configuration.
* modules/rosenthal/services/web.scm (caddy-shepherd-services) [actions]
<reload>: Use invoke.
2025-09-12 14:50:19 +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 dff8c3d547 rosenthal: Add alloy-bin.
* modules/rosenthal/packages/binaries.scm (alloy-bin): New variable.
2025-09-09 09:11:04 +08:00
Hilton Chain 44d5fcc485 rosenthal: Add loki-bin.
* modules/rosenthal/packages/binaries.scm (loki-bin): New variable.
2025-09-09 09:11:02 +08:00
Hilton Chain de1cbe385f rosenthal: Add mimir-bin.
* modules/rosenthal/packages/binaries.scm (mimir-bin): New variable.
2025-09-09 09:10:41 +08:00
Hilton Chain 35ac609a1f rosenthal: Add prometheus-bin.
* modules/rosenthal/packages/binaries.scm (prometheus-bin): New variable.
2025-09-09 09:09:07 +08:00
Hilton Chain 9f69644049 rosenthal: Add grafana-bin.
* modules/rosenthal/packages/binaries.scm (grafana-bin): New variable.
2025-09-09 09:08:53 +08:00
Hilton Chain 07f6489b9e README: Mention substitute server.
* README.org: Wrap lines.
Mention Guix Moe CI.
2025-09-08 00:57:10 +08:00
Hilton Chain d4a25e7613 utils: rosenthal-transformation-guix: Update substitute server.
* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-guix):
Use https://cache-cdn.guix.moe and place it before official substitute servers.
2025-09-08 00:39:01 +08:00
Hilton Chain 1d06558776 examples: Update niri configuration.
* modules/rosenthal/examples/niri.kdl: Update and adjust.
2025-09-07 22:15:33 +08:00
Hilton Chain 3d5946a604 rosenthal: Remove cuirass/hako.
* modules/rosenthal/packages/ci.scm (cuirass/hako): Delete variable.
2025-09-06 21:45:56 +08:00
Hilton Chain ab2946df94 rosenthal: caddy/dolly: Update to 2025.09.06-2.
* modules/rosenthal/packages/web.scm (caddy/dolly): Update to 2025.09.06-2.
[native-inputs]: Update vendored Go dependencies.
2025-09-06 14:59:26 +08:00
Hilton Chain 18b3253206 rosenthal: caddy: Update to 2.10.2.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.10.2.
[source]: Remove snippet.
[arguments] <#:go>: Use go-1.25.
[native-inputs]: Update vendored Go dependencies.
2025-09-06 14:58:46 +08:00
Hilton Chain 204a252e3e rosenthal: Add go-1.25.
* modules/rosenthal/packages/golang.scm (go-1.25): New variable.
2025-09-06 14:57:43 +08:00
Hilton Chain 235654d2a8 rosenthal: caddy/hako: Rename to caddy/dolly.
* modules/rosenthal/packages/web.scm (caddy/hako): Update to 2025.09.06-1.
Rename to...
(caddy/dolly): ...this.
2025-09-06 14:31:28 +08:00
Hilton Chain 071707bd41 rosenthal: Add iocaine/dolly.
* modules/rosenthal/packages/web.scm (iocaine/dolly): New variable.
2025-09-06 14:30:21 +08:00
Hilton Chain 3f07c3a744 NEWS: Manual intervention required for Caddy service change.
* NEWS: New entry.
2025-09-05 16:22:12 +08:00
Hilton Chain c171b73ae7 services: caddy: Use etc-service-type to place configuration file.
* modules/rosenthal/services/web.scm (caddy-etc): New procedure.
(caddy-activation): Create /var/log/caddy.  Remove use of /etc/caddy.
(caddy-shepherd-services): Add "configuration" and "reload" actions.
2025-09-05 15:37:14 +08:00
Hilton Chain 4938fbe373 services: clash: Use mihomo.
* modules/rosenthal/services/child-error.scm (clash-configuration): Use
mihomo.
2025-09-04 13:05:57 +08:00
Hilton Chain 55dab73319 rosenthal: Remove deprecated packages.
* modules/rosenthal/packages/binaries.scm (atuin-bin, hugo-bin, mihomo-bin)
(clash-meta-bin, wakapi-bin, tailscale-bin): Delete variables.
2025-09-04 12:49:57 +08:00
Hilton Chain 9e51ad4215 services: Remove iwd-service-type.
* modules/rosenthal/services/networking.scm (<iwd-configuration>): Delete data
type.
(%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): Delete
variables.
(uglify-field-name, serialize-field, serialize-string, maybe-string)
(serialize-boolean, maybe-boolean, cidr4?, serialize-cidr4, maybe-cidr4)
(randomization-method?, serialize-randomization-method, randomization-method)
(randomization-range?, serialize-randomization-range, randomization-range)
(signal-strength?, serialize-signal-strength, signal-strength, seconds?)
(serialize-seconds, maybe-seconds, protection-mode?, serialize-protection-mode)
(maybe-protection-mode, resolution-method?, serialize-resolution-method)
(serialize-integer, maybe-integer, serialize-number, maybe-number)
(serialize-list-of-strings, list-of-strings, list-of-cidr4?)
(serialize-list-of-cidr4, list-of-cidr4)
(serialize-iwd-configuration, add-iwd-config-file, add-iwd-package) Delete
procedures.
2025-09-02 11:38:07 +08:00
Hilton Chain eb7e08c63e rosenthal: komga-bin: Set supported-systems to x86_64-linux only.
* modules/rosenthal/packages/binaries.scm (komga-bin) [supported-systems]: Set
to x86_64-linux.
2025-09-02 00:59:39 +08:00
Hilton Chain 4943e01c2a rosenthal: cuirass/hako: Update to 1.2.0-3.ba77a7c.
* modules/rosenthal/packages/ci.scm (cuirass/hako): Update to 1.2.0-3.ba77a7c.
2025-09-01 15:52:47 +08:00
Hilton Chain 84b2141d38 services: zfs: Export variable.
* modules/rosenthal/services/file-systems.scm (zfs-service-type): Export.
2025-08-29 21:06:14 +08:00
Hilton Chain 6bf3906d6e services: Add zfs-service-type.
* modules/rosenthal/services/file-systems.scm (zfs-shepherd-service)
(zfs-service-type): New variables.
2025-08-29 20:59:08 +08:00
MinkieYume 324e8d55fb rosenthal: sing-box: Update to 1.12.4.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.4.
[native-inputs]: Update vendored Go dependencies.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2025-08-29 16:05:28 +08:00
Hilton Chain 42d15decd1 rosenthal: Add rclone-bin.
* modules/rosenthal/packages/binaries.scm (rclone-bin): New variable.
2025-08-25 13:09:31 +08:00
Hilton Chain 921ea4f87c rosenthal: guix/hako: Fix URL for uncompressed nars in narinfo files.
* modules/rosenthal/packages/patches/guix-change-publish-cache-storage.patch:
Use nar/none URL for uncompressed nars.
2025-08-25 01:20:25 +08:00
Hilton Chain 9aa77c91b2 maint: Clean up compatibility layer.
* modules/rosenthal/packages/rust-crates.scm (crate-name->package-name)
(define-cargo-inputs, crate-source): Remove, as they are available in
(guix build-system cargo).
* modules/rosenthal/utils/cargo.scm (rosenthal-cargo-inputs): Define using
cargo-inputs.
* modules/rosenthal/utils/download.scm (go-mod-vendor): Stop accessing nss-certs
from (gnu packages certs) module.
2025-08-24 19:17:03 +08:00
Hilton Chain 70ee09ec65 rosenthal: guix/hako: Fix inconsistency between narinfos and nar cache files.
* modules/rosenthal/packages/patches/guix-change-publish-cache-storage.patch:
Remove ".nar" suffix for nar cache files.
2025-08-24 02:07:25 +08:00
Hilton Chain 1bc0ddb673 rosenthal: caddy: Update to 2.10.1.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.10.1.
[native-inputs]: Update vendored Go dependencies.
2025-08-23 15:05:59 +08:00
Hilton Chain 53540076a4 rosenthal: ai-robots-txt: Update to 1.39.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.39.
2025-08-23 14:57:01 +08:00
Hilton Chain f844fc9e89 rosenthal: tailscale: Update to 1.86.2.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.86.2.
[native-inputs]: Update vendored Go dependencies.
2025-08-23 14:56:50 +08:00
Hilton Chain b30ee4ff9b rosenthal: sing-box: Update to 1.12.3.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.3.
[native-inputs]: Update vendored Go dependencies.
2025-08-23 14:54:27 +08:00
Hilton Chain 3d3df47c25 rosenthal: cloudflared: Update to 2025.8.1.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.8.1.
2025-08-23 14:49:45 +08:00
Hilton Chain 85beb60c1a rosenthal: cloudflare-warp-bin: Update to 2025.6.1335.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.6.1335.0.
2025-08-23 14:49:44 +08:00
Hilton Chain 583bdda811 rosenthal: Add guix/hako.
* modules/rosenthal/packages/patches/guix-change-publish-cache-storage.patch:
New file.
* modules/rosenthal/packages/package-management.scm (guix/hako): New variable.
2025-08-23 14:36:51 +08:00
Hilton Chain 4baff4a832 services: greetd-tuigreet-session: Fix tuigreet reference.
* modules/rosenthal/services/base.scm (<greetd-tuigreet-session>)
(greetd-tuigreet-session-compiler): Fix tuigreet reference.
2025-08-21 20:09:40 +08:00
Hilton Chain 859be3792b rosenthal: atuin: Disable tests for now.
* modules/rosenthal/packages/rust-apps.scm (atuin) [arguments] <#:tests?>:
Disable.
[inputs]: Add sqlite.
2025-08-21 19:58:33 +08:00
Hilton Chain b682ecf53f rosenthal: Remove tree-sitter-yaml. [upstreamed]
* modules/rosenthal/packages/tree-sitter.scm (tree-sitter-yaml): Delete variable.
2025-08-21 19:57:39 +08:00
Hilton Chain 78d5d2e8e5 rosenthal: Cleanup crates. 2025-08-21 19:50:38 +08:00
Hilton Chain 3b80e8755e rosenthal: Remove niri. [upstreamed]
* modules/rosenthal/packages/wm.scm (niri): Delete variable.
2025-08-21 19:41:19 +08:00
Hilton Chain 9c49db368f rosenthal: Remove rust-smithay. [upstreamed]
* modules/rosenthal/packages/wm.scm (rust-smithay): Delete variable.
2025-08-21 19:41:19 +08:00
Hilton Chain bac55adf41 rosenthal: Remove rust-pipewire. [upstreamed]
* modules/rosenthal/packages/wm.scm (rust-pipewire): Delete variable.
2025-08-21 19:41:19 +08:00
Hilton Chain 127d1be367 rosenthal: Remove tuigreet. [upstreamed]
* modules/rosenthal/packages/admin.scm (tuigreet): Delete variable.
2025-08-21 19:41:19 +08:00
Hilton Chain f2063dcff2 rosenthal: Remove xwayland-satellite. [upstreamed]
* modules/rosenthal/packages/xorg.scm (xwayland-satellite): Delete variable.
2025-08-21 19:41:16 +08:00
Hilton Chain 3386c9a43d rosenthal: caddy/hako: Update to 2025.08.17-1.
* modules/rosenthal/packages/web.scm (caddy/hako): Update to 2025.08.17-1.
[native-inputs]: Update vendored Go dependencies.
2025-08-17 22:06:59 +08:00
Hilton Chain 761e20bd85 util: go-mod-vendor: Make compatible with upcoming nss-updates merge.
* modules/rosenthal/utils/download.scm (go-mod-vendor): Also find nss-certs
in (gnu packages nss).
2025-08-16 18:45:19 +08:00
Hilton Chain 558f180b5d rosenthal: hugo: Update to 0.148.2.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.148.2.
2025-08-13 15:01:23 +08:00
Hilton Chain 9a2881db43 rosenthal: cloudflared: Update to 2025.8.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.8.0.
2025-08-13 15:01:22 +08:00
Hilton Chain 4bbcf848dd rosenthal: sing-box: Update to 1.12.1.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.1.
[native-inputs]: Update vendored Go dependencies.
2025-08-13 14:58:02 +08:00
Hilton Chain 3f5bf035da rosenthal: mihomo: Update to 1.19.12.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.12.
[native-inputs]: Update vendored Go dependencies.
2025-08-13 14:53:41 +08:00
Hilton Chain 00f9a92812 home services: theme: Allow font configuration.
* modules/rosenthal/services/desktop.scm (home-theme-configuration) [font]:
New field.
* modules/rosenthal/services/desktop.scm (%home-theme-xdg-config): Use it.
2025-08-12 22:18:54 +08:00
Hilton Chain b8212d7a76 rosenthal: Add emacs-eat/hako.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-eat/hako): New variable.
2025-08-12 11:10:40 +08:00
Hilton Chain 92c6a14084 services: Add sing-box-service-type.
* modules/rosenthal/services/networking.scm (<sing-box-configuration>): New data
type.
(file-object?, sing-box-activation, sing-box-shepherd-service): New procedures.
(sing-box-account, sing-box-service-type): New variables.
2025-08-08 13:35:45 +08:00
Hilton Chain 55fbf529c7 services: caddy: Expose configuration interfaces for shepherd service.
* modules/rosenthal/services/web.scm (caddy-configuration)
[shepherd-provision, shepherd-requirement, auto-start?]: New fields.
* modules/rosenthal/services/web.scm (caddy-shepherd-services): Use them.
2025-08-08 13:33:04 +08:00
Hilton Chain 8837ea1b4e rosenthal: sing-box: Set default wireguard listen port for tailscale.
* modules/rosenthal/packages/networking.scm (sing-box) [arguments] <#:phases>:
Add 'set-tailscale-default-wireguard-port'.
2025-08-08 01:31:35 +08:00
Hilton Chain 40d6224034 rosenthal: Unify comments style. 2025-08-08 01:31:34 +08:00
Hilton Chain 4a20afc025 rosenthal: sing-box: Update to 1.12.0.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.12.0.
[arguments] <#:build-flags>: Build with tailscale support.
Remove deprecated tags.
[native-inputs]: Update vendored Go dependencies.
2025-08-06 09:34:04 +08:00
Hilton Chain 3e81aadb18 rosenthal: forgejo: Update to 12.0.0.
* modules/rosenthal/packages/web.scm (forgejo): Update to 12.0.0.
2025-07-24 19:02:19 +08:00
Hilton Chain 94d13073e6 rosenthal: anubis-anti-crawler: Update to 1.21.1.
* modules/rosenthal/packages/web.scm (anubis-anti-crawler): Update to 1.21.1.
2025-07-24 19:02:19 +08:00
Hilton Chain 5d573b7bb3 rosenthal: dnsmasq-china-list: Update to 0-20.1a4d9fc.
* modules/rosenthal/packages/dns.scm (dnsmasq-china-list): Update to
0-20.1a4d9fc.
2025-07-24 19:02:00 +08:00
Hilton Chain b2544370e2 rosenthal: cuirass/hako: Update to 1.2.0-2.ccc11de.
* modules/rosenthal/packages/ci.scm (cuirass/hako): Update to 1.2.0-2.ccc11de.
2025-07-24 19:01:38 +08:00
Hilton Chain e2c270f842 rosenthal: bitwarden: Update to 2025.6.1.
* modules/rosenthal/packages/browser-extensions.scm (bitwarden): Update to 2025.6.1.
2025-07-24 19:01:12 +08:00
Hilton Chain a7c4bb9ea1 rosenthal: wakatime-cli-bin: Update to 1.124.1.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.124.1.
2025-07-24 19:01:12 +08:00
Hilton Chain 59c8616144 rosenthal: wakapi-bin: Update to 2.14.1.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.14.1.
2025-07-24 19:01:12 +08:00
Hilton Chain ae5a3dd284 rosenthal: navidrome-bin: Update to 0.57.0.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.57.0.
2025-07-24 19:01:12 +08:00
Hilton Chain 883dd24982 rosenthal: komga-bin: Update to 1.22.1.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.22.1.
2025-07-24 19:01:06 +08:00
Hilton Chain a8b4591108 rosenthal: ai-robots-txt: Update to 1.38.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.38.
2025-07-24 18:47:03 +08:00
Hilton Chain 1996fb3fa9 rosenthal: cloudflare-warp-bin: Update to 2025.5.943.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.5.943.0.
2025-07-24 18:47:01 +08:00
Hilton Chain 5dfdebe16e rosenthal: hugo: Update to 0.148.1.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.148.1.
[native-inputs]: Update vendored Go dependencies.
2025-07-24 18:45:37 +08:00
Hilton Chain c612dbcbc7 rosenthal: sing-box: Update to 1.11.15.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.11.15.
[native-inputs]: Update vendored Go dependencies.
2025-07-24 18:41:46 +08:00
Hilton Chain a82b6c74e4 rosenthal: cloudflared: Update to 2025.7.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.7.0.
2025-07-04 16:02:23 +08:00
Hilton Chain fc7e585171 rosenthal: cloudflare-warp-bin: Update to 2025.5.893.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.5.893.0.
2025-07-04 16:02:22 +08:00
Hilton Chain 9dad5046df rosenthal: mihomo: Update to 1.19.11.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.11.
<native-inputs>: Update vendored-go-dependencies.
2025-07-04 15:57:07 +08:00
Hilton Chain 6a830c5d42 rosenthal: cuirass-hako: Update to 1.2.0-1.37f6066.
* modules/rosenthal/packages/ci.scm (cuirass/hako): Update to 1.2.0-1.37f6066.
2025-07-03 03:55:11 +08:00
Hilton Chain a7af07441f examples: waybar: Set height and fix taskbar padding.
* modules/rosenthal/examples/waybar/config.jsonc: Set height to 36.
* modules/rosenthal/examples/waybar/style.css (#taskbar button): Fix padding.
2025-07-03 00:17:46 +08:00
Hilton Chain b4af9f76c3 examples: waybar: Use taskbar.
* modules/rosenthal/examples/waybar/config.jsonc (modules-left): Add wlr/taskbar.
Re-order temperature.
Remove niri/workspaces.
* modules/rosenthal/examples/waybar/style.css: Adjust accordingly.
2025-07-02 22:31:57 +08:00
Hilton Chain d84075ebe1 rosenthal: tailscale: Update to 1.84.3.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.84.3.
2025-06-29 22:13:38 +08:00
Hilton Chain 2bd3f5ba82 .dir-locals.el: Update indentations.
* .dir-locals.el (scheme-mode): Update indentations.
2025-06-28 22:56:46 +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 a47d340a20 services: Add %rosenthal-set-keymap.
* modules/rosenthal/services/desktop.scm (%rosenthal-set-keymap): New variable.
(%rosenthal-set-keymap-script): Unexport.
2025-06-27 23:10:30 +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 dc6ed8b930 services: Add %rosenthal-set-keymap-script.
* modules/rosenthal/services/desktop.scm (%rosenthal-set-keymap-script): New
variable.
* modules/rosenthal/examples/niri.kdl: Adjust configuration.
2025-06-27 21:48:45 +08:00
Hilton Chain dd9bebf8b2 examples: niri.kdl: Use existing path for screenshots.
* modules/rosenthal/examples/niri.kdl: Store screenshots under the home
directory.
2025-06-27 21:22:36 +08:00
Hilton Chain 930e6262af services: shellutils: Define separate service types for different shells.
* modules/rosenthal/services/shellutils.scm (warn-deprecated-shells-field):
New procedure.
(home-atuin-configuration, home-direnv-configuration)
(home-zoxide-configuration): Deprecate shells field.
(shells?): Delete procedure.
(home-fish-plugin-atuin-service-type): Renamed and adjusted from...
(home-atuin-service-type): ...this deprecated variable.
(home-fish-plugin-direnv-service-type): Renamed and adjusted from...
(home-direnv-service-type): ...this deprecated variable.
(home-fish-plugin-zoxide-service-type): Renamed and adjusted from...
(home-zoxide-service-type): ...this deprecated variable.
2025-06-27 13:03:40 +08:00
Hilton Chain f1f47b6e2d services: shellutils: Avoid dynamic extensions.
This would create different service type objects.

* modules/rosenthal/services/shellutils.scm (%home-atuin-fish)
(home-atuin-service-type, %home-direnv-fish, home-direnv-service-type)
(%home-zoxide-fish, home-zoxide-service-type): Avoid dynamically extensions.
2025-06-27 10:47:42 +08:00
Hilton Chain 10251b17f0 services: misskey: Adjust serializer usage.
* modules/rosenthal/services/web.scm (misskey-oci-containers): Adjust
serializer usage.
2025-06-27 10:45:28 +08:00
Hilton Chain 1f7b63ae66 services: Add %rosenthal-skeletons.
* modules/rosenthal/services/desktop.scm (%rosenthal-skeletons): New variable.
(%rosenthal-example-emacs-init): Delete variable.
* modules/rosenthal/examples: Update examples.
2025-06-26 22:56:56 +08:00
Hilton Chain 911bb32f41 services: %rosenthal-desktop-home-services: Remove skeletons.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-home-services):
Remove skeletons.
2025-06-26 22:53:59 +08:00
Hilton Chain 7a185369e9 services: desktop: Use ‘define-configuration’. 2025-06-26 22:53:59 +08:00
Hilton Chain 20bac9c7a4 services: shellutils: Add missing module.
* modules/rosenthal/services/shellutils.scm: Add (rosenthal utils packages)
module.
2025-06-26 22:53:59 +08:00
Hilton Chain 72f327054a services: rosenthal-desktop-services-for-system: Add gvfs-service-type.
* modules/rosenthal/services/desktop.scm: Add gvfs-service-type.
2025-06-26 22:53:59 +08:00
Hilton Chain 396f263ff6 examples: emacs: Check existence of font configuration before loading.
* modules/rosenthal/examples/emacs/init.el: Check existence of font
configuration before loading.
2025-06-25 17:16:47 +08:00
Hilton Chain ead325de92 examples: Update Emacs configuration.
* modules/rosenthal/examples/emacs/init.el: Update.
2025-06-25 17:06:30 +08:00
Hilton Chain 7f429bcc77 services: Fix %rosenthal-example-emacs-init.
This is a follow-up to 0bf12445b0.

* modules/rosenthal/services/desktop.scm (%rosenthal-example-emacs-init):
Pass a list to ‘computed-substitution-with-inputs’.
2025-06-25 03:00:51 +08:00
Hilton Chain 0bf12445b0 services: Remove %rosenthal-example-emacs-fonts.
* modules/rosenthal/services/desktop.scm (%rosenthal-example-emacs-init): Use
‘computed-substitution-with-inputs’.
(%rosenthal-example-emacs-fonts): Delete variable.
* modules/rosenthal/examples/emacs/init.el: Adjust Emacs configuration.
2025-06-25 02:10:09 +08:00
Hilton Chain 1ab9fdea6d services: Add some shell utilities.
* modules/rosenthal/services/shellutils.scm (home-atuin-service-type)
(home-direnv-service-type, home-zoxide-service-type): New variables.
(<home-atuin-configuration>, <home-direnv-configuration>)
(<home-zoxide-configuration>): New data types.
* .dir-locals.el (scheme-mode): Add indentations for their constructors.
2025-06-25 00:20:03 +08:00
Hilton Chain 9655f0b6f7 examples: mako.conf: Adjust border.
* modules/rosenthal/examples/mako.conf: Adjust border color.
Set border size.
Re-order configurations.
2025-06-24 18:30:02 +08:00
Hilton Chain fc9b7def0e examples: waybar/config.jsonc: Fix format.
* modules/rosenthal/examples/waybar/config.jsonc: Untabify.
2025-06-24 17:01:52 +08:00
Hilton Chain 072e07c4ea examples: Update emacs/init.el.
* modules/rosenthal/examples/emacs/init.el: Update.
2025-06-24 16:06:12 +08:00
Hilton Chain dc28ffd633 rosenthal: hugo: Update to 0.147.9.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.147.9.
[native-inputs]: Update vendored go dependencies.
2025-06-24 15:05:35 +08:00
Hilton Chain dd202aaae7 rosenthal: cloudflared: Update to 2025.6.1.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.6.1.
2025-06-24 15:05:16 +08:00
Hilton Chain 804c8b1862 services: home-theme: Adjust default key theme and font size.
* modules/rosenthal/services/desktop.scm (<home-theme-configuration>)
[key-theme]: Default to "Default".
(%home-theme-xdg-config): Don't specify font size.
2025-06-23 22:45:55 +08:00
Hilton Chain 1cf75b64fb maint: Add REUSE.toml.
* REUSE.toml: New file.
2025-06-23 13:41:04 +08:00
Hilton Chain 5aeedc947b maint: Minor fixups. 2025-06-23 13:35:32 +08:00
Hilton Chain 07e2be7791 services: Add home-theme-service-type.
* modules/rosenthal/services/desktop.scm (home-theme-service-type): New
variable.
(home-theme-configuration): New data type.
* .dir-locals.el (scheme-mode): Add its indentation.
2025-06-23 13:35:30 +08:00
Hilton Chain 6a9c5289d0 services: %rosenthal-example-niri-config: Fix guix pull.
* modules/rosenthal/services/desktop.scm (%rosenthal-example-niri-config):
Reference xwayland-satellite using variable.
2025-06-23 10:11:27 +08:00
Hilton Chain 20c9d408bc services: Add a few desktop services.
* LICENSES/CC-BY-SA-4.0.txt: New file.
* modules/rosenthal/examples/emacs/fonts.el: New file.
* modules/rosenthal/examples/emacs/init.el: New file.
* modules/rosenthal/examples/mako.conf: New file.
* modules/rosenthal/examples/niri.kdl: New file.
* modules/rosenthal/examples/wallpaper.jpg: New file.
* modules/rosenthal/examples/waybar/config.jsonc: New file.
* modules/rosenthal/examples/waybar/style.css: New file.
* modules/rosenthal/services/desktop.scm (%rosenthal-example-emacs-fonts)
(%rosenthal-example-emacs-init, %rosenthal-desktop-home-services)
(home-blueman-applet-service-type, home-fcitx5-service-type)
(home-mako-service-type, home-network-manager-applet-service-type)
(home-niri-service-type, home-rofi-service-type, home-swaybg-service-type)
(home-waybar-service-type): New variables.
(home-blueman-applet-configuration, home-fcitx5-configuration)
(home-mako-configuration, home-network-manager-applet-configuration)
(home-niri-configuration, home-rofi-configuration, home-swaybg-configuration)
(home-waybar-configuration): New data types.
2025-06-23 09:21:23 +08:00
Hilton Chain b084fdae98 Add (rosenthal) module.
* modules/rosenthal.scm: New file.
2025-06-22 12:02:33 +08:00
Hilton Chain aa858e4b87 services: greetd-tuigreet-session: Fix elogind command.
* modules/rosenthal/services/base.scm (greetd-tuigreet-session-compiler):
Use "loginctl poweroff".
2025-06-21 19:54:27 +08:00
Hilton Chain 93c47a647a services: greetd-tuigreet-session: Fix tuigreet path.
* modules/rosenthal/services/base.scm (greetd-tuigreet-session-compiler): Fix
tuigreet path.
2025-06-20 15:59:44 +08:00
Hilton Chain 68f81c4e3e services: Add %rosenthal-desktop-services.
* modules/rosenthal/services/desktop.scm: New file.
2025-06-20 15:24:50 +08:00
Hilton Chain afe32807aa services: Add greetd-tuigreet-session.
* modules/rosenthal/services/base.scm: New file.
2025-06-20 15:21:42 +08:00
Hilton Chain 4ce201dc6d rosenthal: Add tuigreet.
* modules/rosenthal/packages/admin.scm (tuigreet): New variable.
* modules/rosenthal/packages/rust-crates.scm (lookup-cargo-inputs)[tuigreet]:
New entry.
2025-06-20 15:20:12 +08:00
Hilton Chain fe341028f6 rosenthal: niri: Start dbus session.
* modules/rosenthal/packages/wm.scm (niri)[inputs]: Add dbus.
[#:phases]<install-extras>: In niri.desktop, start a dbus session.
2025-06-20 14:35:21 +08:00
Hilton Chain b8c6160121 rosenthal: sing-box: Update to 1.11.14.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.11.14.
[native-inputs]: Update vendored Go dependencies.
2025-06-19 17:12:46 +08:00
Hilton Chain 5fefc87842 rosenthal: emacs-caddyfile-mode: Disable tests.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-caddyfile-mode)[#:tests?]:
Disable.
2025-06-16 01:14:42 +08:00
Hilton Chain 4ef6a321c3 utils: rosenthal-transformation-guix: Deduplicate substitute URLs.
* modules/rosenthal/utils/transformations.scm (rosenthal-transformation-guix):
Deduplicate substitute URLs.
2025-06-16 00:20:09 +08:00
Hilton Chain 895e8285b4 utils: Rename package specification procedures.
* modules/rosenthal/utils/packages.scm (pkg): Deprecate and rename to
spec->pkg.
(pkg+out): Deprecate and rename to spec->pkg+out.
(pkgs): Deprecate and rename to specs->pkgs.
(pkgs+out): Deprecate and rename to specs->pkgs+out.
2025-06-15 19:40:34 +08:00
Hilton Chain 3f8a932c8a Revert "services: home-keyboard: Export set-xkb-variables."
This reverts commit 08f3b94e16.
2025-06-15 14:51:13 +08:00
Hilton Chain 186c7e29ed Revert "rosenthal: Add ‘keyboard-layout->console-keymap’."
This reverts commit a28d0921d9.
2025-06-15 14:51:10 +08:00
Hilton Chain 538eb0c46a rosenthal: ai-robots-txt: Update to 1.37.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.37.
2025-06-15 13:23:41 +08:00
Hilton Chain a28d0921d9 rosenthal: Add ‘keyboard-layout->console-keymap’.
* modules/rosenthal/system/keyboard.scm: New file.
2025-06-15 13:21:51 +08:00
Hilton Chain 08f3b94e16 services: home-keyboard: Export set-xkb-variables.
* modules/rosenthal/services/keyboard.scm (set-xkb-variables): Export.
2025-06-15 13:21:22 +08:00
Hilton Chain 5abcb40620 rosenthal: web: Fix module import.
Follow-up to b2666dac7d.

* modules/rosenthal/packages/web.scm: Fix module import.
2025-06-13 01:39:46 +08:00
Hilton Chain b2666dac7d rosenthal: Remove go-cloudflare.
* modules/rosenthal/packages/golang.scm: Delete file.
2025-06-13 01:21:36 +08:00
Hilton Chain 589d45724a rosenthal: cloudflared: Update to 2025.6.0.
Cloudflare's own go fork is no longer used:
https://github.com/cloudflare/cloudflared/commit/96ce66bd302872c41605f167775f7abe0681cb95

* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.6.0.
[arguments]<#:go>: Use go-1.24.
2025-06-13 01:18:56 +08:00
Hilton Chain 550f3ae1d1 maint: Cleanup. 2025-06-13 00:57:49 +08:00
Hilton Chain dcc1fad668 utils: Add ‘rosenthal-transformation-guix’.
* modules/rosenthal/utils/transformations.scm: New file.
2025-06-11 22:18:54 +08:00
Hilton Chain c87e5521de services: cuirass-worker-container: Clean up.
* modules/rosenthal/services/cuirass.scm (cuirass-service-type/hako): New
variable.
(cuirass-worker-container-service-type): Clean up.
2025-06-11 13:33:05 +08:00
Hilton Chain cc202637fd rosenthal: ai-robots-txt: Update to 1.36.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.36.
2025-06-11 13:05:01 +08:00
Hilton Chain 8bf237c8a3 rosenthal: tailscale: Update to 1.84.2.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.84.2.
2025-06-11 13:04:41 +08:00
Hilton Chain 5739b4de2c maint: Add update manifest for CI.
* etc/manifests/rosenthal-auto-update.scm: New file.
2025-06-11 12:58:39 +08:00
Hilton Chain c6228682d6 services: cuirass-worker-container: Add ‘workers’ configuration field.
* modules/rosenthal/services/cuirass.scm
(cuirass-worker-container-configuration)[workers]: New field.
(%cuirass-worker-container-script): Use it.
2025-06-11 09:13:38 +08:00
Hilton Chain 72a9d12836 services: Add cuirass-worker-container-service-type.
* modules/rosenthal/services/cuirass.scm: New file.
2025-06-11 01:26:29 +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
Hilton Chain 78aa289f23 rosenthal: Rename (rosenthal packages) to (rosenthal utils packages).
* modules/rosenthal/packages.scm: Move to...
* modules/rosenthal/utils/packages.scm: ...here.
* etc/manifests/all-packages.scm: Adjust accordingly.
* etc/manifests/auto-update.scm: Likewise.
* etc/manifests/manual-update.scm: Likewise.
2025-06-11 00:16:35 +08:00
Hilton Chain eda7ffadc2 rosenthal: Add cuirass-hako.
* modules/rosenthal/packages/ci.scm: New file.
2025-06-11 00:16:34 +08:00
Hilton Chain eea37a108a rosenthal: caddy-hako: Update to 2025.06.09-2.
* modules/rosenthal/packages/web.scm (caddy/hako): Update to 2025.06.09-2.
[native-inputs]: Update vendored dependencies.
2025-06-09 23:00:42 +08:00
Hilton Chain 71e10dca69 rosenthal: Add anubis-anti-crawler.
* modules/rosenthal/packages/web.scm (anubis-anti-crawler): New variable.
2025-06-09 21:30:49 +08:00
Hilton Chain e4c02fb834 rosenthal: hugo: Update to 0.147.8.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.147.8.
[native-inputs]: Update vendored dependencies.
2025-06-09 11:15:47 +08:00
Hilton Chain f6fb71e0fa rosenthal: ai-robots-txt: Update to 1.35.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.35.
2025-06-09 11:15:34 +08:00
Hilton Chain 863483061d rosenthal: hugo: Update to 0.147.7.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.147.7.
[native-inputs]: Update vendored dependencies.
2025-06-06 16:53:20 +08:00
Hilton Chain ebc3fabd2d rosenthal: ai-robots-txt: Update to 1.34.
* modules/rosenthal/packages/web.scm (ai-robots-txt): Update to 1.34.
2025-06-06 16:53:08 +08:00
Hilton Chain ad343a607d rosenthal: tailscale: Update to 1.84.1.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.84.1.
2025-06-06 16:53:08 +08:00
Hilton Chain 0f8aa4507f rosenthal: sing-box: Update to 1.11.13.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.11.13.
[native-inputs]: Update vendored dependencies.
2025-06-06 16:53:08 +08:00
Hilton Chain 0925025733 rosenthal: mihomo: Update to 1.19.10.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.10.
[native-inputs]: Update vendored dependencies.
2025-06-06 16:52:56 +08:00
Hilton Chain 43952a30a8 rosenthal: navidrome-bin: Update to 0.56.1.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.56.1.
2025-05-31 02:55:09 +08:00
Hilton Chain 6f133d4c48 utils: Relocate (rosenthal utils serializers utils).
* modules/rosenthal/utils/serializers/utils.scm: Rename to..
* modules/rosenthal/utils/serializers.scm: ...this.
* modules/rosenthal/utils/serializers/ini.scm (rosenthal): Adjust module
import.
* modules/rosenthal/utils/serializers/yaml.scm (rosenthal): Adjust module
import.
2025-05-31 02:53:46 +08:00
Hilton Chain 8ac0385185 rosenthal: hugo: Update to 0.147.6.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.147.6.
2025-05-29 20:15:19 +08:00
Hilton Chain 99437a4d05 rosenthal: navidrome-bin: Update to 0.56.0.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): Update to 0.56.0.
2025-05-29 20:15:18 +08:00
Hilton Chain cc554d7f5e maint: Add direnv configuration.
* .envrc: New file.
2025-05-29 20:00:36 +08:00
Hilton Chain 9073ac0309 rosenthal: Remove go-1.24.
* modules/rosenthal/packages/golang.scm (go-1.24): Delete variable.
2025-05-29 00:13:55 +08:00
Hilton Chain fbef0d3861 utils: Update serializers from RDE.
* modules/rosenthal/utils/serializers/ini.scm: New file.
* modules/rosenthal/utils/serializers/utils.scm: New file.
* modules/rosenthal/utils/serializers/yaml.scm: New file.
* modules/rosenthal/utils/home-services-utils.scm: Delete file.
* modules/rosenthal/services/child-error.scm (home-wakapi-shepherd-service):
Use the new serializer.
* modules/rosenthal/services/web.scm (misskey-oci-containers): Likewise.
2025-05-28 23:37:55 +08:00
Hilton Chain 0eb43ffea3 rosenthal: Add sops.
* modules/rosenthal/packages/password-utils.scm: New file.
2025-05-24 23:32:40 +08:00
Hilton Chain bbfce5ba97 rosenthal: dnsmasq-china-list: Update to 0-19.c7ed419.
* modules/rosenthal/packages/dns.scm (dnsmasq-china-list): Update to
0-19.c7ed419.
2025-05-24 16:58:00 +08:00
Hilton Chain 8ab6e64fe4 maint: Replace property ‘rosenthal-update?’ with ‘disable-updater?’.
* modules/rosenthal/packages.scm (rosenthal-disable-updater?): New procedure.
2025-05-24 16:54:56 +08:00
Hilton Chain 144a913149 rosenthal: go-1.24: Update to 1.24.3.
* modules/rosenthal/packages/golang.scm (go-1.24): Update to 1.24.3.
2025-05-24 00:08:03 +08:00
Hilton Chain 7f86daa4ab rosenthal: bitwarden-icecat: Update to 2025.5.0.
* modules/rosenthal/packages/browser-extensions.scm (bitwarden): Update to
2025.5.0.
2025-05-24 00:08:00 +08:00
Hilton Chain a32dd990ee rosenthal: wakatime-cli-bin: Update to 1.115.3.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to
1.115.3.
2025-05-24 00:07:58 +08:00
Hilton Chain 9e6028f12b rosenthal: cloudflare-warp-bin: Update to 2025.4.943.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to
2025.4.943.0.
2025-05-24 00:07:54 +08:00
Hilton Chain 3e0b55291e maint: Disable updater for some packages.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-caddyfile-mode)[properties]
<rosenthal-update?>: Disable.
* modules/rosenthal/packages/rust-apps.scm (atuin): Likewise.
* modules/rosenthal/packages/wm.scm (niri): Likewise.
2025-05-24 00:05:58 +08:00
Hilton Chain 931affd185 rosenthal: Add ai-robots-txt.
* modules/rosenthal/packages/web.scm (ai-robots-txt): New variable.
2025-05-23 19:17:35 +08:00
Hilton Chain a6597e8991 services: Add caddy-service-type.
* modules/rosenthal/services/web.scm (caddy-configuration): New data type.
(caddy-accounts, caddy-privileged-programs, caddy-activation)
(caddy-shepherd-services): New procedures.
(caddy-service-type): New variable.
2025-05-23 19:07:31 +08:00
Hilton Chain a05d3c5fa9 rosenthal: Add caddy-hako.
* modules/rosenthal/packages/web.scm (caddy)[arguments]<#:import-path>: Set
conditionally.
(caddy/hako): New variable.
2025-05-23 17:06:43 +08:00
Hilton Chain ce7409a4e1 rosenthal: hugo: Update to 0.147.5.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.147.5.
[native-inputs]: Update vendored dependencies.
2025-05-22 20:35:59 +08:00
Hilton Chain c3dc8a64aa rosenthal: tailscale: Update to 1.84.0.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.84.0.
[native-inputs]: Update vendored dependencies.
2025-05-22 20:35:46 +08:00
Hilton Chain e19a52b1ec rosenthal: sing-box: Update to 1.11.11.
* modules/rosenthal/packages/networking.scm (sing-box): Update to 1.11.11.
[native-inputs]: Update vendored dependencies.
2025-05-22 20:35:29 +08:00
Hilton Chain 611266ce29 rosenthal: mihomo: Update to 1.19.9.
* modules/rosenthal/packages/networking.scm (mihomo): Update to 1.19.9.
[native-inputs]: Update vendored dependencies.
2025-05-22 20:35:15 +08:00
Hilton Chain f5834187a1 rosenthal: cloudflared: Update to 2025.5.0.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.5.0.
2025-05-22 20:19:05 +08:00
Hilton Chain 3b6888420d rosenthal: komga-bin: Update to 1.21.3.
* modules/rosenthal/packages/binaries.scm (komga-bin): Update to 1.21.3.
2025-05-22 20:19:03 +08:00
Hilton Chain e4496a50ad rosenthal: forgejo: Update to 11.0.1.
* modules/rosenthal/packages/web.scm (forgejo): Update to 11.0.1.
[arguments]<#:go>: Use go-1.24.
<#:build-flags>: Adjust according to import path change.
<#:phases>: Likewise.
2025-05-17 19:19:49 +08:00
Hilton Chain 2748dca5eb rosenthal: Add emacs-caddyfile-mode.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-caddyfile-mode): New
variable.
2025-05-17 16:57:32 +08:00
Hilton Chain 1653fe453d rosenthal: ohmyech-icecat: Add source file name.
* modules/rosenthal/packages/browser-extensions.scm (ohmyech)[source]: Add
file name.
2025-05-17 16:52:29 +08:00
Hilton Chain 4989a66100 rosenthal: miniflux-injector-icecat: Move to browser-extensions.
* modules/rosenthal/packages/binaries.scm (miniflux-injector)
(miniflux-injector/icecat): Move to...
* modules/rosenthal/packages/browser-extensions.scm (miniflux-injector)
(miniflux-injector/icecat): ...here
2025-05-17 16:30:03 +08:00
Hilton Chain 1107486c29 rosenthal: bitwarden-icecat: Move to browser-extensions.
* modules/rosenthal/packages/binaries.scm (bitwarden, bitwarden/icecat): Move
to...
* modules/rosenthal/packages/browser-extensions.scm (bitwarden)
(bitwarden/icecat): ...here.
2025-05-17 16:30:03 +08:00
Hilton Chain a24818555e rosenthal: Add ohmyech-icecat.
* modules/rosenthal/packages/browser-extensions.scm: New file.
2025-05-17 16:30:02 +08:00
Hilton Chain bbeaebcd8e services: cloudflare-tunnel: Add dedicated account.
* modules/rosenthal/services/child-error.scm (%cloudflare-tunnel-accounts):
New variable.
(cloudflare-tunnel-service-type)[extensions]: Add it.
(cloudflare-tunnel-shepherd-service)[start]: Use the new user.
2025-05-16 00:08:29 +08:00
Hilton Chain 5d336ad0cf services: iwd: Unset default values for most fields.
* modules/rosenthal/services/networking.scm (maybe-boolean?)
(maybe-randomization-method?, maybe-randomization-range?)
(maybe-signal-strength?, maybe-seconds?, maybe-protection-mode?)
(maybe-integer?, maybe-number?, maybe-list-of-cidr4?): New procedures.
(iwd-configuration)[use-default-interface?, address-randomization]
[address-randomization-range, roam-threshold, roam-threshold-5g]
[roam-retry-interval, management-frame-protection]
[control-port-over-nl80211?, disable-anqp?, disable-ocv?, enable-ipv6?]
[route-priority-offset, initial-timeout, multiplier, maximum-timeout]
[band-modifier-5ghz, band-modifier-6ghz, disable-periodic-scan?]
[initial-periodic-scan-interval, maximum-periodic-scan-interval]
[disable-roaming-scan?, ap-address-pool]: Unset default value.
2025-05-15 20:08:23 +08:00
Hilton Chain cf5fc0ef73 rosenthal: rosenthal-cargo-inputs: Move to (rosenthal utils cargo).
* modules/rosenthal/packages/rust-crates.scm (rosenthal-cargo-inputs): Move
to...
* modules/rosenthal/utils/cargo.scm (rosenthal-cargo-inputs): ...here.
* modules/rosenthal/packages/rust-apps.scm: Adjust module import.
* modules/rosenthal/packages/wm.scm: Likewise.
* modules/rosenthal/packages/xorg.scm: Likewise.

Fixes: https://codeberg.org/hako/Rosenthal/issues/12
2025-05-15 19:47:20 +08:00
Hilton Chain 51a983adf3 rosenthal: hugo: Update to 0.147.3.
* modules/rosenthal/packages/web.scm (hugo): Update to 0.147.3.
[arguments]<#:go>: Use go-1.24.
2025-05-15 16:30:51 +08:00
Hilton Chain eccee1eb9b rosenthal: caddy: Update to 2.10.0.
* modules/rosenthal/packages/web.scm (caddy): Update to 2.10.0.
[arguments]<#:go>: Use go-1.24.
[native-inputs]: Updated vendored dependencies.
2025-05-15 16:30:51 +08:00
Hilton Chain 98dd8d365e rosenthal: tailscale: Update to 1.82.5.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.82.5.
[arguments]<#:go>: Use go-1.24.
[native-inputs]: Update vendored dependencies.
2025-05-15 16:30:51 +08:00
Hilton Chain b61f4cffd8 rosenthal: wakatime-cli-bin: Update to 1.115.2.
* modules/rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.115.2.
2025-05-15 16:30:51 +08:00
Hilton Chain 3a49fc6284 rosenthal: wakapi-bin: Update to 2.13.4.
* modules/rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.13.4.
2025-05-15 16:30:50 +08:00
Hilton Chain 7fb1e3dc11 rosenthal: cloudflare-warp-bin: Update to 2025.4.929.0.
* modules/rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.4.929.0.
2025-05-15 16:30:50 +08:00
Hilton Chain 2e50d68ad0 rosenthal: dinit: Update to 0.19.4.
* modules/rosenthal/packages/admin.scm (dinit): Update to 0.19.4.
2025-05-15 16:30:50 +08:00
Hilton Chain cba8ab4bfc maint: Add more manifests.
* etc/committer.scm: New file.
* etc/manifests/all-packages.scm: New file.
* etc/manifests/auto-update.scm: New file.
* etc/manifests/manual-update.scm: New file.
* etc/manifest.scm: Delete file.
2025-05-15 16:30:39 +08:00
Hilton Chain b9ca1cd567 rosenthal: Remove buku-run-dev.
* modules/rosenthal/packages/web.scm (buku-run-dev): Delete variable.
2025-05-15 15:47:41 +08:00
Hilton Chain 1f2c4cc936 rosenthal: Remove sidebery-icecat.
* modules/rosenthal/packages/binaries.scm (sidebery, sidebery/icecat): Delete
variables.
2025-05-15 15:42:32 +08:00
Hilton Chain f97d5858e9 rosenthal: Add all-rosenthal-packages.
* modules/rosenthal/packages.scm (%rosenthal-package-module-path): New
variable.
(all-rosenthal-packages): New procedure.
2025-05-15 15:26:30 +08:00
Hilton Chain 89ae340329 rosenthal: Add caddy.
* modules/rosenthal/packages/web.scm (caddy): New variable.
2025-05-15 15:26:30 +08:00
Hilton Chain de236c188b rosenthal: forgejo: Refresh package.
* modules/rosenthal/packages/web.scm (forgejo): Sync package with
https://gitlab.com/nonguix/nonguix/-/merge_requests/669.
2025-05-15 15:26:28 +08:00
Hilton Chain 2b37b85997 rosenthal: Add go-cloudflare.
* modules/rosenthal/packages/golang.scm (go-cloudflare): New variable.
* modules/rosenthal/packages/networking.scm (cloudflared)[arguments]<#:go>:
Use it.
2025-05-15 10:59:08 +08:00
Hilton Chain 297041998b rosenthal: Add go-1.24.
* modules/rosenthal/packages/golang.scm: New file.
2025-05-15 10:59:06 +08:00
Hilton Chain 2a36e8b621 README.org: Remove substitute server.
* README.org: Remove substitute server.
2025-05-15 10:34:07 +08:00
Hilton Chain f8986f696b services: Add navidrome-service-type.
* modules/rosenthal/services/web.scm (navidrome-configuration): New data type.
(navidrome-shepherd-service): New procedure.
(%navidrome-accounts, navidrome-service-type): New variables.
2025-05-15 10:32:42 +08:00
Hilton Chain e62aa32b6f rosenthal: Add navidrome-bin.
* modules/rosenthal/packages/binaries.scm (navidrome-bin): New variable.
2025-05-15 10:32:20 +08:00
Hilton Chain f076a6157a services: qbittorrent: Auto start.
* modules/rosenthal/services/bittorrent.scm
(home-qbittorrent-shepherd-service)[auto-start?]: Unset.
2025-05-15 10:27:58 +08:00
Hilton Chain aeff89a063 rosenthal: Add sing-box.
* modules/rosenthal/packages/networking.scm (sing-box): New variable.
* modules/rosenthal/packages/binaries.scm (sing-box-bin): Deprecated by it.
2025-05-15 02:03:25 +08:00
Hilton Chain b0231df023 rosenthal: Add mihomo.
* modules/rosenthal/packages/networking.scm (mihomo): New variable.
* modules/rosenthal/packages/binaries.scm (mihomo-bin): Deprecated by it.
(clash-bin): Delete variable.
2025-05-15 02:03:25 +08:00
Hilton Chain 3d4b11edc7 utils: Update ‘go mod vendor’ based fetch implementation. 2025-05-15 02:03:24 +08:00
Hilton Chain 975db02439 rosenthal: Add emacs-nftables-mode.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-nftables-mode): New
variable.
2025-05-15 02:03:24 +08:00
Hilton Chain 3e5383b922 rosenthal: Add emacs-treesit-auto.
* modules/rosenthal/packages/emacs-xyz.scm (emacs-treesit-auto): New variable.
2025-05-15 02:03:23 +08:00
Hilton Chain 879f4aef54 services: cloudflare-tunnel: Support token file.
* modules/rosenthal/services/child-error.scm
(cloudflare-tunnel-configuration)[token-file]: New field.
(cloudflare-tunnel-shepherd-service): Adjust accordingly.
2025-05-15 02:02:17 +08:00
Hilton Chain f851cdabfc rosenthal: cloudflared: Update to 2025.4.2.
* modules/rosenthal/packages/networking.scm (cloudflared): Update to 2025.4.2.
2025-05-15 02:02:00 +08:00
Hilton Chain 36eeac3b85 rosenthal: Update cargo-inputs implementation.
* modules/rosenthal/packages/rust-crates.scm: Update implementation.
Export interfaces ‘lookup-cargo-inputs’ and ‘rosenthal-cargo-inputs’.
* modules/rosenthal/packages/rust-apps.scm (atuin)[inputs]: Use
‘rosenthal-cargo-inputs’.
Remove rust-ring-0.17.
* modules/rosenthal/packages/wm.scm (rust-pipewire, rust-smithay): Hide and
export.
[arguments]<#:phases>: Update ‘package’ phase.
[inputs]: Use ‘rosenthal-cargo-inputs’.
(niri)[arguments]<#:phases>: Apply updates from rust-team.
[inputs]: Use ‘rosenthal-cargo-inputs’.
Remove rust-pipewire and rust-smithay.
* modules/rosenthal/packages/xorg.scm (xwayland-satellite)[inputs]: Use
‘rosenthal-cargo-inputs’.
2025-05-04 20:31:07 +08:00
Hilton Chain 9c782fad3c maint: Relocate modules to ‘modules’ directory. 2025-04-26 00:16:07 +08:00
Hilton Chain b917cd6d36 maint: Update etc/manifest.
* etc/manifest: Update.
2025-04-22 09:19:07 +08:00
Hilton Chain b3b3c423ce rosenthal: wakatime-cli-bin: Update to 1.115.1.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.115.1.
2025-04-22 09:17:25 +08:00
Hilton Chain ca3b30132c rosenthal: wakapi-bin: Update to 2.13.3.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.13.3.
2025-04-22 09:17:25 +08:00
Hilton Chain bcb6a4cc71 rosenthal: sing-box-bin: Update to 1.11.8.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.11.8.
2025-04-22 09:17:25 +08:00
Hilton Chain ad1918171b rosenthal: mihomo-bin: Update to 1.19.5.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.5.
2025-04-22 09:17:23 +08:00
Hilton Chain 2531f04148 rosenthal: cloudflared: Update to 2025.4.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2025.4.0.
2025-04-19 01:32:13 +08:00
Hilton Chain a3beed8bfa rosenthal: atuin: Correct license.
* rosenthal/packages/rust-apps.scm (atuin)[license]: Correct to expat.
2025-04-07 13:49:47 +08:00
Hilton Chain 387f07d970 rosenthal: Add tailscale.
* rosenthal/packages/networking.scm (tailscale): New variable.
* rosenthal/packages/binaries.scm (tailscale-bin): Deprecated by it.
* rosenthal/services/networking.scm (tailscale-configuration)[tailscale]: Use
it.
2025-04-03 00:58:25 +08:00
Hilton Chain fc947d3e1f rosenthal: Add hugo.
* rosenthal/packages/web.scm (hugo): New variable.
* rosenthal/packages/binaries.scm (hugo-bin): Deprecated by it.
2025-04-03 00:55:13 +08:00
Hilton Chain d87c76525a utils: Add go-vendored-fetch.
* rosenthal/utils/download.scm: New file.
2025-04-03 00:54:03 +08:00
Hilton Chain e2f1327b3b maint: Fix README markup.
* README.org: Fix markup.
2025-04-02 14:20:20 +08:00
Hilton Chain 64e467e461 maint: Update README.org.
* README.org: Update.
2025-04-02 12:29:57 +08:00
Hilton Chain df6044bef2 rosenthal: forgejo: Update to 10.0.3.
* rosenthal/packages/web.scm (forgejo): Update to 10.0.3.
2025-04-02 10:26:12 +08:00
Hilton Chain 27319d9666 rosenthal: tailscale-bin: Update to 1.82.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.82.0.
2025-04-02 10:25:44 +08:00
Hilton Chain 86f3cfc083 rosenthal: sing-box-bin: Update to 1.11.6.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.11.6.
2025-04-02 10:25:22 +08:00
Hilton Chain 4831a71081 rosenthal: sidebery-icecat: Update to 5.3.3.7.
* rosenthal/packages/binaries.scm (sidebery): Update to 5.3.3.7.
2025-04-02 10:24:58 +08:00
Hilton Chain e1a6098158 rosenthal: cloudflare-warp-bin: Update to 2025.2.600.0.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.2.600.0.
2025-04-02 10:24:31 +08:00
Hilton Chain 136eccd475 rosenthal: mihomo-bin: Update to 1.19.4.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.4.
2025-04-02 10:24:14 +08:00
Hilton Chain b11982494a rosenthal: bitwarden-icecat: Update to 2025.3.1.
* rosenthal/packages/binaries.scm (bitwarden): Update to 2025.3.1.
2025-04-02 10:23:49 +08:00
Hilton Chain 55e4d889a6 rosenthal: xwayland-satellite: Disable tests.
* rosenthal/packages/xorg.scm (xwayland-satellite)[arguments]<#:tests?>:
Disable.
2025-04-01 16:56:03 +08:00
Hilton Chain fbcf6a1d7d services: Add home-keyboard-service-type from RDE.
* rosenthal/services/keyboard.scm: New file.
2025-04-01 15:28:41 +08:00
Hilton Chain 5172fac369 rosenthal: tailscale-bin: Update to 1.80.3.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.80.3.
2025-03-12 22:07:30 +08:00
Hilton Chain e661f2788d rosenthal: bitwarden-icecat: Update to 2025.2.2.
* rosenthal/packages/binaries.scm (bitwarden): Update to 2025.2.2.
2025-03-12 22:06:54 +08:00
Hilton Chain 0436e37f39 rosenthal: wakapi-bin: Update to 2.13.1.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.13.1.
2025-03-12 22:01:19 +08:00
Hilton Chain cdb50050c5 rosenthal: sing-box-bin: Update to 1.11.5.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.11.5.
2025-03-12 22:00:34 +08:00
Hilton Chain d698802385 rosenthal: komga-bin: Update to 1.21.2.
* rosenthal/packages/binaries.scm (komga-bin): 1.21.2.
2025-03-12 22:00:05 +08:00
Hilton Chain 39ea4c7b4d rosenthal: mihomo-bin: Update to 1.19.3.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.3.
2025-03-12 21:59:44 +08:00
Hilton Chain 3c08ac7178 rosenthal: pam-dumb-runtime-dir: Add source file name.
* rosenthal/packages/admin.scm (pam-dumb-runtime-dir)[source]: Add file name.
2025-03-12 16:17:47 +08:00
Hilton Chain 8a00800a57 rosenthal: niri: Patch .desktop file.
* rosenthal/packages/wm.scm (niri)[arguments]<#:phases>: Patch .desktop file.
2025-03-12 16:17:07 +08:00
Hilton Chain 6db17fbcbe rosenthal: Add xwayland-satellite.
* rosenthal/packages/rust-crates.scm (xwayland-satellite-cargo-inputs): New variable.
* rosenthal/packages/xorg.scm (xwayland-satellite): New variable.
* README.org (Packages): Add it.
2025-03-08 15:25:00 +08:00
Hilton Chain 3ff5734c9e rosenthal: Move niri to (rosenthal packages wm).
* rosenthal/packages/rust-crates.scm: Update crates for importer change.
* rosenthal/packages/patches/atuin-disable-failing-tests.patch: Delete file.
* rosenthal/packages/patches/niri.patch: Delete file.
* rosenthal/packages/patches/rust-libspa-sys.patch: Delete file.
* rosenthal/packages/patches/rust-libspa.patch: Delete file.
* rosenthal/packages/patches/rust-pipewire.patch: Delete file.
* rosenthal/packages/patches/rust-smithay.patch: Delete file.
* rosenthal/packages/rust-apps.scm (atuin)[inputs]: Add rust-ring-0.17.
(niri): Move to ...
* rosenthal/packages/wm.scm (niri): ...here.
(rust-pipewire,rust-smithay): New variables.
2025-03-06 15:54:55 +08:00
Hilton Chain fb123e8840 rosenthal: sidebery-icecat: Update to 5.3.2.4.
* rosenthal/packages/binaries.scm (sidebery): Update to 5.3.2.4.
2025-03-01 14:08:06 +08:00
Hilton Chain f6feed951a rosenthal: bitwarden-icecat: Update to 2025.2.1.
* rosenthal/packages/binaries.scm (bitwarden): Update to 2025.2.1.
2025-03-01 14:07:23 +08:00
Hilton Chain 13171a0367 rosenthal: cloudflared: Update to 2025.2.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2025.2.1.
2025-03-01 14:02:45 +08:00
Hilton Chain f7671489fe rosenthal: cloudflare-warp-bin: Update to 2025.1.861.0.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2025.1.861.0.
2025-03-01 14:02:25 +08:00
Hilton Chain 4b5e6520d9 import: Support partial target versions.
Adjust for upstream commit f13f0769688493271f43f31a016957355dbecb30.

* guix/import/rosenthal-updaters.scm (cloudflare-warp-import): New
 #:partial-version? argument.
2025-03-01 13:59:54 +08:00
Hilton Chain df8f268abb rosenthal: wakapi-bin: Update to 2.13.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 2.13.0.
2025-03-01 13:54:56 +08:00
Hilton Chain 2c4a9784f4 rosenthal: sing-box-bin: Update to 1.11.4.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.11.4.
2025-03-01 13:54:28 +08:00
Hilton Chain 4b9d1af9a7 rosenthal: komga-bin: Update to 1.20.0.
* rosenthal/packages/binaries.scm (komga-bin): Update to 1.20.0.
2025-03-01 13:54:04 +08:00
Hilton Chain b45a505f97 rosenthal: hugo-bin: Update to 0.145.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.145.0.
2025-03-01 13:53:46 +08:00
Hilton Chain 5ce3ca6da3 rosenthal: dnsmasq-china-list: Update to 0-18.6601f38.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-18.6601f38.
2025-03-01 13:50:25 +08:00
Hilton Chain 3da3fa1eee rosenthal: atuin: Enable tests.
I forgot to remove this...

* rosenthal/packages/rust-apps.scm (atuin)[arguments]: Unset #:tests?.
2025-02-27 00:28:35 +08:00
Hilton Chain d197f3b2c6 rosenthal: atuin: Reference ‘atuin’ exectuable by store path.
* rosenthal/packages/rust-apps.scm (atuin)[arguments]<#:phases>: Add
'patch-references.
2025-02-27 00:19:11 +08:00
Hilton Chain f8c9cd9dcc rosenthal: Add niri.
* rosenthal/packages/patches/niri.patch: New file.
* rosenthal/packages/patches/rust-libspa-sys.patch: New file.
* rosenthal/packages/patches/rust-libspa.patch: New file.
* rosenthal/packages/patches/rust-pipewire.patch: New file.
* rosenthal/packages/patches/rust-smithay.patch: New file.
* rosenthal/packages/rust-crates.scm (niri-cargo-inputs): New variable.
* rosenthal/packages/rust-apps.scm (niri): New variable.
* README.org (Packages): Add it.
* etc/manifest: Add it.
2025-02-26 21:33:15 +08:00
Hilton Chain 891eb84b38 rosenthal: Add atuin.
* rosenthal/packages.scm: New file.
* rosenthal/packages/patches/atuin-disable-failing-tests.patch: New file.
* rosenthal/packages/rust-crates.scm (atuin-cargo-inputs): New variable.
* rosenthal/packages/rust-apps.scm (atuin): New variable.
* rosenthal/packages/binaries.scm (atuin-bin): Deprecated by atuin.
* README.org (Packages): Update.
* etc/manifest: Update.
2025-02-26 21:25:11 +08:00
Hilton Chain 8ab2595528 rosenthal: sing-box-bin: Update to 1.11.3.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.11.3.
2025-02-15 23:43:09 +08:00
Hilton Chain 8f9d27482f rosenthal: forgejo: Update to 10.0.1.
* rosenthal/packages/web.scm (forgejo): Update to 10.0.1.
2025-02-15 19:39:13 +08:00
Hilton Chain 501a99b2aa rosenthal: sidebery: Update to 5.3.1.7.
* rosenthal/packages/binaries.scm (sidebery): Update to 5.3.1.7.
2025-02-15 19:37:41 +08:00
Hilton Chain a4bc613b0c services: Add dumb-runtime-dir-service-type.
* rosenthal/services/file-systems.scm (dumb-runtime-dir-activation)
(dumb-runtime-dir-pam-service,dumb-runtime-dir-service-type): New variables.
* README.org (Services): Add it.
2025-02-13 20:11:24 +08:00
Hilton Chain 2d776b7195 rosenthal: Add pam-dumb-runtime-dir.
* rosenthal/packages/admin.scm (pam-dumb-runtime-dir): New variable.
* README.org (Packages): Add it.
2025-02-13 20:09:47 +08:00
Hilton Chain 35dabaf755 rosenthal: cloudflared: Update to 2025.2.0.
* rosenthal/packages/networking.scm (cloudflared):
2025-02-10 00:27:23 +08:00
Hilton Chain 535a30ac16 rosenthal: tailscale-bin: Update to 1.80.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.80.0.
2025-02-10 00:27:23 +08:00
Hilton Chain a08553c499 rosenthal: sing-box-bin: Update to 1.11.1.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.11.1.
2025-02-10 00:27:23 +08:00
Hilton Chain 77af19880f rosenthal: komga-bin: Update to 1.19.1.
* rosenthal/packages/binaries.scm (komga-bin): Update to 1.19.1.
2025-02-10 00:27:23 +08:00
Hilton Chain fcdd81ee92 rosenthal: hugo-bin: Update to 0.143.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.143.1.
2025-02-10 00:27:23 +08:00
Hilton Chain f613b22761 rosenthal: mihomo-bin: Update to 1.19.2.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.2.
2025-02-10 00:27:23 +08:00
Hilton Chain 2d941782ff rosenthal: Add bitwarden-icecat.
* rosenthal/packages/binaries.scm (bitwarden,bitwarden/icecat): New variables.
* README.org (Packages): Add it.
* etc/manifest: Add it.
2025-02-10 00:27:00 +08:00
Hilton Chain b46e9132f3 services: Add komga-service-type.
* rosenthal/services/web.scm (<komga-configuration>): New data type.
(%komga-accounts,komga-shepherd-service,komga-service-type): New variables.
* README.org (Services): Add komga-service-type.
2025-01-23 23:33:13 +08:00
Hilton Chain 18758a8415 rosenthal: Add komga-bin.
* rosenthal/packages/binaries.scm (komga-bin): New package.
* README.org (Packages): Add it.
* etc/manifest: Add it.
2025-01-23 23:33:12 +08:00
Hilton Chain 9dbc67579d rosenthal: cloudflared: Update to 2025.1.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2025.1.0.
2025-01-21 18:45:33 +08:00
Hilton Chain 891d09e2e9 rosenthal: wakatime-cli-bin: Update to 1.112.1.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.112.1.
2025-01-21 18:45:08 +08:00
Hilton Chain 707841ba58 rosenthal: sing-box-bin: Update to 1.10.7.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.10.7.
2025-01-21 18:44:48 +08:00
Hilton Chain 9b0e1b2bae rosenthal: hugo-bin: Update to 0.141.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.141.0.
2025-01-21 18:44:32 +08:00
Hilton Chain f199bf4c13 rosenthal: mihomo-bin: Update to 1.19.1.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.1.
2025-01-21 18:44:21 +08:00
Hilton Chain 4ec9e07cc9 rosenthal: Add package manifest.
* etc/manifest: New file.
2025-01-21 18:42:58 +08:00
Hilton Chain 7a6a28e872 services: forgejo: Allow SSH login.
* rosenthal/services/web.scm (%forgejo-accounts): All SSH login.
2025-01-19 23:45:48 +08:00
Hilton Chain 42cfb096d4 services: Add forgejo-service-type. 2025-01-19 23:29:00 +08:00
Hilton Chain a643e97280 rosenthal: Add forgejo.
* rosenthal/packages/web.scm (forgejo): New variable.
* README.org (Packages): Add it.
2025-01-19 21:04:49 +08:00
Hilton Chain de4f93a300 rosenthal: Add missing licenses. 2025-01-19 15:39:42 +08:00
Hilton Chain dd5d17c654 rosenthal: License compliance with REUSE.
$ reuse lint
 # SUMMARY

 * Bad licenses: 0
 * Deprecated licenses: 0
 * Licenses without file extension: 0
 * Missing licenses: 0
 * Unused licenses: 0
 * Used licenses: GPL-3.0-or-later, CC0-1.0
 * Read errors: 0
 * Files with copyright information: 25 / 25
 * Files with license information: 25 / 25

 Congratulations! Your project is compliant with version 3.3 of the REUSE Specification :-)
2025-01-19 15:36:03 +08:00
Hilton Chain 157db5d7ff import: %cloudflare-warp-updater: Use recutils->alist.
* guix/import/rosenthal-updaters.scm (cloudflare-warp-import): Use
recutils->alist.
2025-01-17 14:11:07 +08:00
Hilton Chain 3384f38b2b services: Adapt to log rotation change.
* rosenthal/services/child-error.scm (clash-log-rotations)
(cloudflare-tunnel-log-rotations): Delete procedure.
(clash-service-type,cloudflare-tunnel-service-type)[extensions]: Extend
log-rotation-service-type.
* rosenthal/services/mail.scm (docker-mailserver-log-rotations): Delete
procedure.
(docker-mailserver-service-type)[extensions]: Extend
log-rotation-service-type.
* rosenthal/services/networking.scm (iwd-log-rotations)
(tailscale-log-rotations): Delete procedures.
(iwd-service-type,tailscale-service-type)[extensions]: Extend
log-rotation-service-type.
* rosenthal/services/web.scm (jellyfin-log-rotations,misskey-log-rotations)
(vaultwarden-log-rotations): Delete procedures.
(jellyfin-service-type,misskey-service-type,vaultwarden-service-type)[extensions]:
Extend log-rotation-service-type.
2025-01-17 13:58:24 +08:00
Hilton Chain 0b26a4bf0e rosenthal: Add dinit.
* rosenthal/packages/admin.scm (dinit): New variable.
* README.org (Packages): Add it.
2025-01-12 20:27:53 +08:00
Hilton Chain c7689a56a2 rosenthal: cloudflared: Update to 2024.12.2.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.12.2.
2024-12-30 19:27:37 +08:00
Hilton Chain 4ef2eb9ad1 import: Add %cloudflare-warp-updater.
* guix/import/rosenthal-updaters.scm: New file.
2024-12-29 16:25:26 +08:00
Hilton Chain a59d496c74 rosenthal: wakatime-cli-bin: Update to 1.107.0.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.107.0.
[properties]: Add upstream-name.
2024-12-29 16:21:07 +08:00
Hilton Chain c35a935163 rosenthal: wakapi-bin: Update to 2.12.3.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.12.3.
[properties]: Add upstream-name.
2024-12-29 16:20:38 +08:00
Hilton Chain dc184aa9fd rosenthal: tailscale-bin: Update to 1.78.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.78.1.
[properties]: Add release-monitoring-url and upstream-name.
2024-12-29 16:19:56 +08:00
Hilton Chain d5b1236487 rosenthal: sing-box-bin: Update to 1.10.5.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.10.5.
[properties]: Add upstream-name.
2024-12-29 16:19:22 +08:00
Hilton Chain c30bf61086 rosenthal: shadow-tls-bin: Add upstream-name.
* rosenthal/packages/binaries.scm (shadow-tls-bin)[properties]: Add
upstream-name.
2024-12-29 16:18:53 +08:00
Hilton Chain 6945a72a17 rosenthal: hugo-bin: Update to 0.140.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.140.1.
[properties]: Add upstream-name.
2024-12-29 16:18:39 +08:00
Hilton Chain 9b280ab3c4 rosenthal: cloudflare-warp-bin: Update to 2024.12.554.0.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to
2024.12.554.0.
[properties]: Add upstream-name and release-monitoring-url.
2024-12-29 16:17:58 +08:00
Hilton Chain 7c2d02c6e7 rosenthal: mihomo-bin: Update to 1.19.0.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.19.0.
[properties]: Add upstream-name.
2024-12-29 16:15:11 +08:00
Hilton Chain c73748e9d2 rosenthal: atuin-bin: Update to 18.4.0.
* rosenthal/packages/binaries.scm (atuin-bin): Update to 18.4.0.
[properties]: Add upstream-name.
2024-12-29 16:14:27 +08:00
Hilton Chain c7986b5d58 rosenthal: Add sidebery-icecat.
* rosenthal/packages/binaries.scm (sidebery,sidebery/icecat): New variables.
2024-12-12 14:21:02 +08:00
Hilton Chain 79f92602d6 rosenthal: Add miniflux-injector-icecat.
* rosenthal/packages/binaries.scm (miniflux-injector,miniflux-injector/icecat):
New variables.
2024-12-12 14:13:02 +08:00
Hilton Chain f559aee629 NEWS: Hyprland upstreamed.
* NEWS: Add entry for Hyprland removal.
2024-12-08 16:07:23 +08:00
Hilton Chain 162defb838 rosenthal: Remove hyprland packages.
* rosenthal/packages/wm.scm (udis86-for-hyprland,aquamarine,grimblast)
(hyprcursor,hyprland,hyprland-protocols,hyprlang,hyprpicker,hyprutils)
(hyprwayland-scanner,xdg-desktop-portal-hyprland): Delete variables.
* README.org (Packages / 軟件包): Update.
2024-12-08 15:56:21 +08:00
Hilton Chain 342349de15 rosenthal: cloudflared: Update to 2024.11.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.11.1.
2024-12-02 12:23:42 +08:00
Hilton Chain 5cb609ce31 rosenthal: tailscale-bin: Update to 1.76.6.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.76.6.
2024-12-02 12:23:42 +08:00
Hilton Chain a072092d6f Update README.org.
* README.org (Services / 服務): Add docker-mailserver-service-type.
2024-12-02 12:23:42 +08:00
Hilton Chain 04ad9e3b30 services: Add docker-mailserver-service-type.
* rosenthal/services/mail.scm: New file.
2024-12-01 23:31:57 +08:00
Hilton Chain d219e6e520 rosenthal: wm: Adjust for mesa-updates merge.
* rosenthal/packages/wm.scm (aquamarine)[inputs]:
Replace libinput-minimal-for-hyprland with libinput-minimal.
Replace wayland-protocols-next with wayland-protocols.
(hyprland)[inputs]:
Replace libinput-minimal-for-hyprland with libinput-minimal.
Replace wayland-for-hyprland with wayland.
Replace wayland-protocols-next with wayland-protocols.
(hyprpicker)[inputs]: Replace wayland-protocols-next with wayland-protocols.
(libinput-minimal-for-hyprland,wayland-for-hyprland): Delete variables.
2024-11-06 07:32:22 +08:00
Hilton Chain 61f7bbcdf5 rosenthal: wayland-for-hyprland: Export variable.
As reported in <https://github.com/rakino/Rosenthal/issues/15> , the
inconsistency between wayland versions may cause issue on hyprland.

This commit exports ‘wayland-for-hyprland’, a newer version of "wayland"
package used by hyprland in rosenthal, so that affected users can install it
as a workaround.

* rosenthal/packages/wm.scm (wayland-for-hyprland): Export variable.
2024-11-05 14:21:24 +08:00
Hilton Chain f45687f13b rosenthal: Add atuin-bin.
* rosenthal/packages/binaries.scm (atuin-bin): New variable.
* README.org (Binary Packages): Add it.
2024-11-02 21:45:18 +08:00
Hilton Chain c2a899bd7d README: Update packages and services.
* README.org (Packages,Services): Update.
2024-11-02 11:53:34 +08:00
Hilton Chain 7d9214d18e rosenthal: hyprland: Update to 0.44.1.
* rosenthal/packages/wm.scm (libinput-minimal-for-hyprland,wayland-for-hyprland)
(aquamarine,hyprpicker,hyprutils): New variables.
(grimblast): Update to grimblast-0.1-1.9d67858.
(hyprcursor): Update to 0.1.9.
(hyprland): Update to 0.44.1.
(hyprland-protocols): Update to 0.4.0.
(hyprlang): Update to 0.5.3.
(hyprwayland-scanner): Update to 0.4.2.
(xdg-desktop-portal-hyprland): Update to 1.3.6.
(cairo-for-hyprland,hwdata-for-hyprland,libdrm-for-hyprland)
(hyprland-unbundle-wlroots-patch,wayland-protocols-for-hyprland)
(wlroots-for-hyprland): Delete variables.
2024-10-31 16:46:36 +08:00
Hilton Chain 38e2be2728 rosenthal: wlroots-for-hyprland: Remove non-existent reference.
* rosenthal/packages/wm.scm (wlroots-for-hyprland)[propagated-inputs]: Remove
reference to libinput-minimal-1.24.0.
2024-10-31 14:38:33 +08:00
Hilton Chain 97b9e2436a rosenthal: Remove libinput-minimal-1.24.0. [upstreamed]
* rosenthal/packages/freedesktop.scm (libinput-minimal-1.24.0): Delete variable.
2024-10-31 14:19:57 +08:00
Hilton Chain e52520cbaa rosenthal: dnsmasq-china-list: Update to 0-17.8c4858a.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-17.8c4858a.
2024-10-31 14:19:00 +08:00
Hilton Chain 2eb66f8bad rosenthal: wakatime-cli-bin: Update to 1.102.4.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.102.4.
2024-10-31 14:16:56 +08:00
Hilton Chain 2888e95b2a rosenthal: wakapi-bin: Update to 2.12.1.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.12.1.
2024-10-31 14:16:08 +08:00
Hilton Chain afe3c41f96 rosenthal: sing-box-bin: Update to 1.10.1.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.10.1.
2024-10-31 14:14:35 +08:00
Hilton Chain 2cbf87a1b5 rosenthal: hugo-bin: Update to 0.136.5.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.136.5.
2024-10-31 14:06:29 +08:00
Hilton Chain 7e970f49e4 rosenthal: cloudflared: Update to 2024.10.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.10.1.
2024-10-31 14:01:37 +08:00
Hilton Chain ad9f05d5da rosenthal: tailscale-bin: Update to 1.76.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.76.1.
2024-10-31 14:00:37 +08:00
Hilton Chain 966d4ac483 rosenthal: cloudflare-warp-bin: Update to 2024.9.346.0.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to
2024.9.346.0.
[arguments]<#:phases>: Simplify 'unpack-deb phase.
2024-10-31 13:58:41 +08:00
Hilton Chain fb0a73108e services: clash: Run as root.
Process name related matching is only available to root user.
This commit also changes the default clash implementation to mihomo.

* rosenthal/services/child-error.scm (clash-configuration)
[clash]: Use mihomo-bin.
(%clash-accounts): Remove user account "clash".
(clash-activation): Don't change directory owner.
(clash-shepherd-service)[start]<#:user>: Remove.
2024-10-31 13:50:43 +08:00
Hilton Chain bcf1b0c464 services: jellyfin: Add auto-start? option.
* rosenthal/services/web.scm (jellyfin-configuration)[auto-start?]: New field.
(jellyfin-oci-containers)[auto-start?]: Use it.
2024-10-31 13:49:14 +08:00
Hilton Chain b5f9128798 services: tailscale: Change back socket path.
Modified by accident.

* rosenthal/services/networking.scm (tailscale-configuration)[socket]: Change
back socket path.
2024-10-31 13:41:44 +08:00
Hilton Chain e4b84dfa2c services: jellyfin: Allow gexps in extra-options.
* rosenthal/services/web.scm (jellyfin-configuration)[extra-options]: Change
type to list.
2024-10-11 09:37:14 +08:00
Hilton Chain 1014d146c0 rosenthal: hugo-bin: Update to 0.135.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.135.0.
[native-inputs]: Replace patchelf to its 0.16 version.
2024-10-10 16:30:37 +08:00
Hilton Chain 64f925e075 rosenthal: cloudflare-warp-bin: Use patchelf 0.16.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin)
[native-inputs]: Replace patchelf with its 0.16 version.
2024-10-10 16:29:25 +08:00
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.
2024-10-05 21:58:14 +08:00
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".
2024-10-05 21:54:34 +08:00
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.
2024-10-04 20:24:07 +08:00
Hilton Chain bd6508000e services: Add misskey-service-type.
* rosenthal/services/web.scm (misskey-configuration): New data type.
(misskey-service-type): New variable.
2024-10-03 16:55:25 +08:00
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.
2024-10-02 20:50:47 +08:00
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.
2024-10-02 20:42:52 +08:00
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.
2024-10-02 20:41:04 +08:00
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.
2024-10-02 20:39:05 +08:00
Hilton Chain f9dc2afc50 rosenthal: cloudflared: Update to 2024.9.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.9.1.
[arguments]<#:go>: Use go-1.23.
2024-10-02 20:37:09 +08:00
Hilton Chain 82619c24fe rosenthal: tailscale-bin: Update to 1.74.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.74.1.
2024-10-02 20:36:36 +08:00
Hilton Chain 81d1a87938 rosenthal: mihomo-bin: Update to 1.18.9.
* rosenthal/packages/binaries.scm (mihomo-bin): Update to 1.18.9.
2024-10-02 20:36:10 +08:00
Hilton Chain 4c0e2a3166 rosenthal: wakatime-cli-bin: Update to 1.98.3.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.98.3.
2024-08-23 19:51:50 +08:00
Hilton Chain 58d385b258 rosenthal: wakapi-bin: Update to 2.11.2.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.11.2.
2024-08-23 19:51:23 +08:00
Hilton Chain 94a2591d70 rosenthal: tailscale-bin: Update to 1.72.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.72.1.
2024-08-23 19:50:57 +08:00
Hilton Chain 8a32229ee0 rosenthal: sing-box-bin: Update to 1.9.4.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.9.4.
2024-08-23 19:50:45 +08:00
Hilton Chain 7ca7964b79 rosenthal: hugo-bin: Update to 0.133.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.133.0.
2024-08-23 19:49:48 +08:00
Hilton Chain 2315a3cd5f rosenthal: cloudflare-warp-bin: Update to 2024.6.497.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2024.6.497.
[inputs]: Add nspr, nss.
[arguments]<#:phases>: Patch their paths in.
2024-08-23 19:48:28 +08:00
Hilton Chain 277ddb85fa rosenthal: mihomo: Update to 1.18.7.
* rosenthal/packages/binaries.scm (mihomo): Update to 1.18.7.
2024-08-23 19:47:56 +08:00
Hilton Chain f031e3cb29 rosenthal: cloudflared: Update to 2024.8.3.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.8.3.
2024-08-23 18:05:14 +08:00
Hilton Chain a73d01c657 rosenthal: emacs-wakatime-mode: Update to 1.0.2-60.1c5b225.
* rosenthal/packages/emacs-xyz.scm (emacs-wakatime-mode): Update to
1.0.2-60.1c5b225.
2024-08-23 18:04:32 +08:00
Hilton Chain 764c01831d rosenthal: dnsmasq-china-list: Update to 0-16.a460349.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-16.a460349.
2024-08-23 18:03:31 +08:00
Thanos Apollo ca386c52be rosenthal: Add emacs-pcmpl-tailscale.
* rosenthal/packages/emacs-xyz.scm (emacs-pcmpl-tailscale): New variable.

Modified-by: Hilton Chain <hako@ultrarare.space>
2024-07-16 23:54:15 +08:00
Hilton Chain 517b8c15a2 rosenthal: cloudflared: Update to 2024.7.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.7.0.
2024-07-16 23:46:55 +08:00
Hilton Chain ef4bf83d65 rosenthal: sing-box-bin: Update to 1.9.3.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.9.3.
2024-07-12 16:18:18 +08:00
Hilton Chain 02535ef82c rosenthal: cloudflared: Update to 2024.6.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.6.1.
2024-07-12 16:15:45 +08:00
Hilton Chain eeea0186f9 rosenthal: tailscale-bin: Update to 1.68.2.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.68.2.
2024-07-12 16:12:11 +08:00
Hilton Chain 7217382971 rosenthal: hugo-bin: Update to 0.128.2.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.128.2.
2024-07-12 16:05:31 +08:00
Hilton Chain fb9b069154 rosenthal: grub-efi-luks2: Update patches for GRUB 2.12.
* rosenthal/packages/bootloaders.scm (grub-luks2-argon2-support-patch): Update
for GRUB 2.12.
(grub-runtime-memregion-alloc-patch,grub-install-luks2-fix-patch): Delete
variables.
(grub-efi-luks2)[source]<patches>: Remove them.
2024-07-12 16:02:11 +08:00
Hilton Chain 8ca24e4559 rosenthal: hyprland: Update to 0.40.0.
* rosenthal/packages/wm.scm (hyprland): Update to 0.40.0.
[native-inputs]: Add hyprwayland-scanner.
(hyprland-unbundle-wlroots-patch): Update patch.
(wlroots-for-hyprland): Update to 0.18.0-dev-hyprland-1.5c1d51c.
2024-05-23 11:22:32 +08:00
Hilton Chain f8f12cd8ba rosenthal: Add hyprwayland-scanner.
* rosenthal/packages/wm.scm (hyprwayland-scanner): New variable.
2024-05-23 11:22:07 +08:00
Hilton Chain 40a7a02e3e rosenthal: wayland-protocols-for-hyprland: Update to 1.36.
* rosenthal/packages/wm.scm (wayland-protocols-for-hyprland): Update to 1.36.
2024-05-23 11:21:29 +08:00
Hilton Chain 0c81e2e430 rosenthal: hugo-bin: Update to 0.126.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.126.1.
2024-05-23 10:03:40 +08:00
Hilton Chain 0f6d2fad45 rosenthal: cloudflared: Update to 2024.5.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.5.0.
2024-05-23 10:01:25 +08:00
Hilton Chain 2a5957880e rosenthal: tailscale-bin: Update to 1.66.4.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.66.4.
2024-05-23 09:58:32 +08:00
Hilton Chain cf00c09e23 rosenthal: cloudflared: Update to 2024.4.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.4.1.
2024-05-10 22:08:16 +08:00
Hilton Chain d42e3a531c rosenthal: hugo-bin: Update to 0.125.7.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.125.7.
2024-05-10 22:06:02 +08:00
Hilton Chain 35c7ec3d5f rosenthal: tailscale-bin: Update to 1.66.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.66.1.
2024-05-10 22:03:58 +08:00
Hilton Chain a2b89574ff .guix-authorizations: Remove the revoked key.
* .guix-authorizations: Remove the revoked key.
2024-05-10 21:59:15 +08:00
Hilton Chain a28767296f rosenthal: cloudflared: Update to 2024.4.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.4.0.
2024-04-20 09:44:13 +08:00
Hilton Chain 63fe2d3dfb rosenthal: hyprland: Update to 0.39.1.
* rosenthal/packages/wm.scm (hyprland): Update to 0.39.1.
(hyprland-unbundle-wlroots-patch): Update patch.
(wlroots-for-hyprland): Update to 0.18.0-dev-hyprland-0.611a4f2.
2024-04-20 09:40:51 +08:00
Hilton Chain 3097fc1888 rosenthal: hyprcursor: Update to 0.1.7.
* rosenthal/packages/wm.scm (hyprcursor): Update to 0.1.7.
[inputs]: Add tomlplusplus.
2024-04-20 09:40:16 +08:00
Hilton Chain d2ef9be9e2 rosenthal: wlroots-for-hyprland: Switch to Hyprland fork.
* rosenthal/packages/wm.scm (wlroots-for-hyprland)[source]: Switch to Hyprland
fork.
2024-04-20 07:59:53 +08:00
Hilton Chain dd4e21f1d0 rosenthal: tailscale-bin: Update to 1.64.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.64.0.
2024-04-20 07:43:04 +08:00
Hilton Chain 72839719d4 rosenthal: hugo-bin: Update to 0.125.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.125.1.
2024-04-20 07:38:53 +08:00
lucy 32aeafcd6b rosenthal: hyprland: Update to 0.38.1.
* rosenthal/packages/wm.scm (hyprland): Update to 0.38.1.
2024-04-13 12:26:11 +08:00
Hilton Chain f49fdfe799 rosenthal: tailscale-bin: Update to 1.62.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.62.1.
2024-03-28 10:15:21 +08:00
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.
2024-03-28 08:42:58 +08:00
Hilton Chain 06eb07b022 bootloader: grub: Add grub-efi-luks2-removable-bootloader.
* rosenthal/bootloader/grub.scm (grub-efi-luks2-removable-bootloader): New
variable.
2024-03-25 22:01:03 +08:00
Hilton Chain 8db5f08afd rosenthal: tailscale-bin: Update to 1.62.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.62.0.
2024-03-24 23:33:11 +08:00
Ryan Schanzenbacher 2c967e048f rosenthal: xdg-desktop-portal-hyprland: Wrap QT_PLUGIN_PATH.
* rosenthal/packages/wm.scm (xdg-desktop-portal-hyprland):
[build-system]: Switch to qt-build-system.
[arguments]<#:qtbase>: Use qtbase.
[inputs]: Add qtwayland.
Remove qtbase-5.
2024-03-24 17:45:58 +08:00
Hilton Chain a233498094 rosenthal: hyprland: Update to 0.37.1.
* rosenthal/packages/wm.scm (hyprland-unbundle-wlroots-patch): Update patch.
(wlroots-for-hyprland): Update to 0.17.0-255.50eae51.
(hyprland): Update to 0.37.1.
[inputs]: Add hyprcursor.
2024-03-24 17:08:11 +08:00
Hilton Chain 21dd77b5bb rosenthal: Add hyprcursor.
* rosenthal/packages/wm.scm (hyprcursor): New variable.
2024-03-24 17:07:54 +08:00
Hilton Chain 187aca7883 rosenthal: Add wayland-protocols-for-hyprland.
* rosenthal/packages/wm.scm (wayland-protocols-for-hyprland): New variable.
2024-03-23 13:20:38 +08:00
Hilton Chain 5b3388f59c rosenthal: hyprlang: Update to 0.5.0.
* rosenthal/packages/wm.scm (hyprlang): Update to 0.5.0.
2024-03-23 13:09:32 +08:00
Hilton Chain 828e3cf99e rosenthal: sing-box-bin: Update to 1.8.9.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.8.9.
2024-03-23 12:42:32 +08:00
Hilton Chain 4c6496f269 rosenthal: cloudflared: Update to 2024.3.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.3.0.
2024-03-23 12:40:20 +08:00
Hilton Chain d27d9217f2 rosenthal: hugo-bin: Update to 0.124.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.124.1.
2024-03-23 12:38:37 +08:00
Hilton Chain b6f31cd035 rosenthal: hugo-bin: Update to 0.123.6.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.123.6.
2024-02-29 13:32:00 +08:00
Hilton Chain 0e31205d73 rosenthal: hyprland: Update to 0.36.0.
* rosenthal/packages/wm.scm (hyprland-unbundle-wlroots-patch): Update patch.
(hyprland): Update to 0.36.0.
[arguments]<#:phases>: Patch addr2line path.
[inputs]: Add hyprlang.
2024-02-28 22:02:26 +08:00
Hilton Chain a9f3f17922 rosenthal: hyprlang: Update to 0.4.1.
* rosenthal/packages/wm.scm (hyprlang): Update to 0.4.1.
2024-02-28 22:01:18 +08:00
Hilton Chain a158d18681 rosenthal: cloudflared: Update to 2024.2.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.2.1.
2024-02-27 13:14:25 +08:00
Hilton Chain 1cffca962d rosenthal: dnsmasq-china-list: Update to 0-15.5550ed5.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-15.5550ed5.
2024-02-27 13:11:02 +08:00
Hilton Chain c408907454 rosenthal: sing-box-bin: Update to 1.8.6.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.8.6.
2024-02-27 13:08:27 +08:00
Hilton Chain 1ce1e67bc2 rosenthal: hugo-bin: Update to 0.123.4.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.123.4.
2024-02-27 13:06:31 +08:00
Hilton Chain 2fa86ce45a bootloader: grub-efi-luks2-bootloader: Keep the 'grub-efi name.
* rosenthal/bootloader/grub.scm (grub-efi-luks2-bootloader)[name]: Use grub-efi.
2024-02-20 13:13:37 +08:00
Hilton Chain 2ea774f9ed rosenthal: Remove libdisplay-info-for-hyprland.
* rosenthal/packages/wm.scm (libdisplay-info-for-hyprland): Delete variable.
(wlroots-for-hyprland)[propagated-inputs]: Use libdisplay-info in Guix.
2024-02-19 13:39:03 +08:00
Hilton Chain 8e379d1d94 rosenthal: wakatime-cli-bin: Update to 1.90.0.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.90.0.
2024-02-18 20:04:25 +08:00
Hilton Chain 731e01de85 rosenthal: cloudflared: Update to 2024.2.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.2.0.
2024-02-18 20:00:44 +08:00
Hilton Chain 192d3d0ba5 rosenthal: tailscale-bin: Update to 1.60.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.60.0.
2024-02-18 19:55:53 +08:00
Hilton Chain 657f2055f9 rosenthal: xdg-desktop-portal-hyprland: Update to 1.3.1.
* rosenthal/packages/wm.scm (xdg-desktop-portal-hyprland): Update to 1.3.1.
[build-system]: Switch to cmake-build-system.
[inputs]: Add hyprlang.
2024-02-18 19:03:29 +08:00
Hilton Chain a079a438da rosenthal: Add hyprlang.
* rosenthal/packages/wm.scm (hyprlang): New variable.
2024-02-18 19:02:34 +08:00
Hilton Chain 23c15e0785 rosenthal: networking: Fix module import (again).
* rosenthal/packages/networking.scm: Add back (gnu packages golang).
2024-02-14 08:33:46 +08:00
Hilton Chain 9cbf42e01f rosenthal: networking: Fix module import.
go-golang-org-x-net has been moved to (gnu packages golang-build):
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=8b3daeca5545b97556b7f7f196bda6ca84e3dfa3

* rosenthal/packages/networking.scm: Fix module import.
2024-02-14 08:25:14 +08:00
Hilton Chain d29af10233 rosenthal: hyprland: Update to 0.35.0.
* rosenthal/packages/wm.scm (libdrm-for-hyprland): Update to 2.4.120.
(wlroots-for-hyprland): Update to 0.17.0-168.00b869c.
(hyprland): Update to 0.35.0.
[source]<snippet>: Remove hyprpm.
[arguments]<#:phases>: Adjust substitution.
[inputs]: Add cairo-for-hyprland, gcc-13.
2024-02-06 10:34:45 +08:00
Hilton Chain f0c3bba1ec rosenthal: Add cairo-for-hyprland.
* rosenthal/packages/wm.scm (cairo-for-hyprland): New variable.
2024-02-05 23:17:20 +08:00
Hilton Chain af9372339a Revert "rosenthal: Add pam-uaccess." [upstreamed]
This reverts commit 3d8dbdb97b.
2024-02-05 16:07:08 +08:00
Hilton Chain 7433409450 rosenthal: sing-box-bin: Update to 1.8.4.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.8.4.
2024-01-28 15:44:35 +08:00
Hilton Chain e307f037d9 rosenthal: tailscale-bin: Update to 1.58.2.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.58.2.
2024-01-28 15:41:55 +08:00
Hilton Chain c1936d42cf rosenthal: cloudflared: Update to 2024.1.5.
rosenthal/packages/networking.scm (cloudflared): Update to 2024.1.5.
2024-01-28 14:40:05 +08:00
Hilton Chain 4539e364fe rosenthal: hugo-bin: Update to 0.122.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.122.0.
2024-01-28 14:38:11 +08:00
Hilton Chain 98f58fc2fe rosenthal: wakapi-bin: Update to 2.10.4.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.10.4.
2024-01-28 14:35:06 +08:00
Hilton Chain 3d8dbdb97b rosenthal: Add pam-uaccess.
* rosenthal/packages/admin.scm (pam-uaccess): New variable.
2024-01-25 20:36:05 +08:00
Hilton Chain 477c3df102 rosenthal: wakapi-bin: Update to 2.10.3.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.10.3.
2024-01-21 11:56:16 +08:00
Hilton Chain f077a7aa55 rosenthal: tailscale-bin: Update to 1.58.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.58.0.
2024-01-21 11:54:41 +08:00
Hilton Chain b05ab57766 rosenthal: sing-box-bin: Update to 1.8.2.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.8.2.
2024-01-21 11:52:30 +08:00
Hilton Chain 2eff1e3ec2 rosenthal: cloudflared: Update to 2024.1.4.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.1.4.
2024-01-21 11:51:17 +08:00
Hilton Chain f887e0fd8a rosenthal: wakatime-cli-bin: Update to 1.88.7.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.88.7.
2024-01-21 11:48:29 +08:00
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.
2024-01-15 09:13:19 +08:00
Hilton Chain 1825c484c4 services: iwd: Remove resolvconf configuration.
* rosenthal/services/networking.scm (iwd-configuration)[resolvconf]: Remove
field.
[iwd-shepherd-service]: Adjust accordingly.
2024-01-13 21:32:50 +08:00
Hilton Chain 56a4ff8d10 rosenthal: wakatime-cli-bin: Update to 1.88.1.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.88.1.
2024-01-13 21:14:34 +08:00
Hilton Chain 2c20cd4eff services: iwd: Use default environment variables.
* rosenthal/services/networking.scm (iwd-shepherd-service)
[#:environment-variables]: Remove field.
2024-01-13 20:52:12 +08:00
Hilton Chain b5befb0b7c rosenthal: wakapi-bin: Update to 2.10.2.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.10.2.
2024-01-13 20:43:38 +08:00
Hilton Chain 10e484ab4e rosenthal: cloudflared: Update to 2024.1.2.
* rosenthal/packages/networking.scm (cloudflared): Update to 2024.1.2.
[arguments]<#:go>: Use go-1.21.
2024-01-13 20:36:11 +08:00
Hilton Chain 5df5b533ad gnu: hugo-bin: Update to 0.121.2.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.121.2.
2024-01-06 20:01:50 +08:00
Hilton Chain 3af3a15130 gnu: sing-box-bin: Update to 1.8.0.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.8.0.
2024-01-06 19:33:18 +08:00
Hilton Chain 0d789becf6 rosenthal: shadow-tls-bin: Update to 0.2.25.
* rosenthal/packages/binaries.scm (shadow-tls-bin): Update to 0.2.25.
2023-12-19 16:53:49 +08:00
Hilton Chain 934f6521d6 rosenthal: tailscale-bin: Update to 1.56.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.56.1.
2023-12-19 16:50:54 +08:00
Hilton Chain 1d8fa9db37 rosenthal: sing-box-bin: Update to 1.7.5.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.7.5.
2023-12-19 16:46:30 +08:00
Hilton Chain 8e2fa8cb08 rosenthal: xdg-desktop-portal-hyprland: Change license to BSD 3-Clause.
* rosenthal/packages/wm.scm (xdg-desktop-portal-hyprland)[license]: Change to
bsd-3.
2023-12-08 21:09:37 +08:00
Hilton Chain befe81a423 rosenthal: xdg-desktop-portal-hyprland: Update to 1.2.5.
* rosenthal/packages/wm.scm (xdg-desktop-portal-hyprland): Update to 1.2.5.
[arguments]<#:phases>: Adjust 'fix-path.
Remove QT Build System related phases.
<#:imported-modules,#:modules>: Remove arguments.
[native-inputs]: Add gcc-13, wayland.
Remove cmake-minimal.
[inputs]: Add hyprland, sdbus-c++.
Remove basu, libinih, util-linux:lib, wayland.
2023-12-08 20:46:00 +08:00
Hilton Chain 9ca1896dc9 rosenthal: hyprland: Update to 0.33.1.
* rosenthal/packages/wm.scm (hyprland): Update to 0.33.1.
(wlroots-for-hyprland): Update to wlroots-0.16.0-903.5d63939.
[propagated-inputs]: Add libdrm-for-hyprland.
Remove libxcb, xcb-util-renderutil.
2023-12-08 20:45:51 +08:00
Hilton Chain c90ec31fef rosenthal: Add libdrm-for-hyprland.
* rosenthal/packages/wm.scm (libdrm-for-hyprland): New variable.
2023-12-08 20:09:08 +08:00
Hilton Chain bb3538a937 services: wakapi: Add configuration action.
* rosenthal/services/child-error.scm (home-wakapi-shepherd-service)[actions]:
Add configuration action.
2023-12-08 19:44:30 +08:00
Hilton Chain 59bf0214ba rosenthal: tailscale-bin: Update to 1.54.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.54.1.
2023-12-08 17:39:30 +08:00
Hilton Chain c3bfcc39f6 rosenthal: wakapi-bin: Update to 2.10.0.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.10.0.
2023-12-08 17:35:10 +08:00
Hilton Chain 9343dca3cf rosenthal: hugo-bin: Update to 0.121.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.121.1.
2023-12-08 17:25:57 +08:00
Hilton Chain 7bfe230793 services: tailscale: Add `ip' command to PATH.
* rosenthal/services/networking.scm (tailscale-shepherd-service)
[start]<#:environment-variables>: Add iproute to PATH.
2023-12-08 17:18:04 +08:00
Hilton Chain f29a65440d rosenthal: sing-box-bin: Update to 1.7.2.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.7.2.
2023-12-08 16:05:46 +08:00
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.
2023-12-08 16:05:41 +08:00
Hilton Chain 1109aed83b services: iwd: Simplify configuration serialization procedure.
* rosenthal/services/networking.scm (serialize-iwd-configuration): Simplify.
2023-12-08 16:05:35 +08:00
Hilton Chain 7944d2b25c services: clash: Add configuration action.
* rosenthal/services/child-error.scm (clash-shepherd-service)[actions]: Add
configuration action.
2023-12-08 16:05:29 +08:00
Hilton Chain eda1456a74 services: qbittorrent: Add configuration action.
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service)[actions]:
Add configuration action.
2023-12-08 16:05:24 +08:00
Hilton Chain 08c2d38b09 services: qbittorrent: Add default configuration file.
* rosenthal/services/bittorrent.scm (%qbittorrent-default-config-file):
New variable.
(qbittorrent-activation): Install it.
2023-12-08 16:05:10 +08:00
Hilton Chain 73e4ea9ae0 rosenthal: Remove empty modules.
* rosenthal/packages/flashing-tools.scm: Delete file.
* rosenthal/packages/xdisorg.scm: Likewise.
* rosenthal/packages/wm.scm: Adjust accordingly.
2023-12-08 12:56:30 +08:00
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.
2023-12-08 12:56:23 +08:00
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.
2023-12-08 12:55:55 +08:00
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.
2023-12-08 12:55:49 +08:00
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.
2023-12-08 12:55:44 +08:00
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.
2023-12-08 12:55:33 +08:00
Hilton Chain bcde595503 rosenthal: libinput-minimal: Update to 1.24.0.
* rosenthal/packages/freedesktop.scm (libinput-minimal-1.23.0):
Update to 1.24.0.
Rename variable to ...
(libinput-minimal-1.24.0): ... this.
* rosenthal/packages/wm.scm (wlroots-for-hyprland)[propagated-inputs]: Adjust
accordingly.
2023-12-01 13:40:50 +08:00
Hilton Chain fd28e17494 rosenthal: Remove pixman-0.42.2. [upstreamed]
* rosenthal/packages/xdisorg.scm (pixman-0.42.2): Delete variable.
* rosenthal/packages/wm.scm (wlroots-for-hyprland)[propagated-inputs]: Adjust
accordingly.
2023-12-01 13:38:35 +08:00
Hilton Chain d39f8ce07a rosenthal: Remove libxkbcommon.
* rosenthal/packages/xdisorg.scm (libxkbcommon-1.5.0,libxkbcommon-minimal):
Delete variables.
2023-12-01 13:38:08 +08:00
Hilton Chain 033e890a25 rosenthal: Remove libdrm-2.4.115. [upstreamed]
* rosenthal/packages/xdisorg.scm (libdrm-2.4.115): Delete variable.
2023-12-01 13:37:51 +08:00
Hilton Chain ee4fab769b rosenthal: Remove flashrom-dev.
* rosenthal/packages/flashing-tools.scm (flashrom-dev): Delete variable.
2023-12-01 13:29:54 +08:00
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.
2023-11-26 13:23:57 +08:00
Hilton Chain 1c50972d30 rosenthal: cloudflared: Adjust version use in G-expressions.
* rosenthal/packages/networking.scm (cloudflared): Replace #$version with
 #$(package-version this-package).
2023-11-23 20:09:33 +08:00
Hilton Chain f84002986f rosenthal: tree-sitter-yaml: Remove bundled binary.
* rosenthal/packages/tree-sitter.scm (tree-sitter-yaml)
[#:get-cleanup-snippet]: Remove docs directory.
2023-11-23 20:04:19 +08:00
Hilton Chain 7c331b0bb4 rosenthal: hugo-bin: Update to 0.120.4.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.120.4.
2023-11-13 22:23:10 +08:00
Hilton Chain 7445fb02e3 rosenthal: sing-box-bin: Update to 1.6.4.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.6.4.
2023-11-13 22:20:34 +08:00
Hilton Chain e83b06538e rosenthal: hyprland: Update to 0.32.3.
* rosenthal/packages/wm.scm (hyprland-unbundle-wlroots-patch): Update patch.
(hyprland): Update to 0.32.3.
(wlroots-for-hyprland): Update to 0.16.0-811.5de9e1a.
2023-11-13 22:14:50 +08:00
Hilton Chain 6cfd8be802 rosenthal: wakapi-bin: Update to 2.9.3.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.9.3.
2023-11-13 21:36:26 +08:00
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.
2023-11-09 19:18:04 +08:00
Hilton Chain 417dd04e82 services: clash: Support Clash.Meta kernel.
* rosenthal/services/child-error.scm (clash-shepherd-service)[start]: Support
Clash.Meta kernel.
2023-11-03 20:33:21 +08:00
Hilton Chain 6673d31eee rosenthal: Add clash-meta-bin.
* rosenthal/packages/binaries.scm (clash-meta-bin): New variable.
2023-11-03 20:31:12 +08:00
Hilton Chain 9591b4adc9 rosenthal: hugo-bin: Update to 0.120.3.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.120.3.
2023-11-03 12:29:32 +08:00
Hilton Chain fb068ad2ef rosenthal: dnsmasq-china-list: Update to 0-14.db49c15.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-14.db49c15.
2023-10-31 22:54:29 +08:00
Hilton Chain 890efd83e7 rosenthal: wakapi-bin: Update to 2.9.2.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.9.2.
2023-10-31 22:50:43 +08:00
Hilton Chain 2e0478eb72 rosenthal: cloudflared: Update to 2023.10.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.10.0.
2023-10-31 22:49:05 +08:00
Hilton Chain 8cf9a52584 rosenthal: cloudflare-warp-bin: Update to 2023.10.120.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin): Update to 2023.10.120
[#:phases]<patch-elf>: Reference gcc:lib from inputs.
[inputs]: Add gcc:lib.
2023-10-31 22:47:52 +08:00
Hilton Chain dc908f3819 rosenthal: sing-box-bin: Update to 1.6.0.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.6.0.
2023-10-31 22:38:14 +08:00
Hilton Chain a907681d0e rosenthal: hugo-bin: Update to 0.120.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.120.1.
2023-10-31 22:33:31 +08:00
Hilton Chain e8f4d10e52 rosenthal: tailscale-bin: Update to 1.52.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.52.0.
2023-10-31 22:26:07 +08:00
Hilton Chain 46b0642ed1 rosenthal: wakatime-cli-bin: Update to 1.86.5.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.86.5.
2023-10-31 22:18:08 +08:00
Hilton Chain 2e3affd193 services: iwd: Only provision networking when configured.
* rosenthal/services/networking.scm (iwd-shepherd-service)[provision]:
Provision networking when network configuration enabled.
2023-10-28 11:48:40 +08:00
Hilton Chain d47daea1e4 rosenthal: hyprland: Update to 0.31.0.
* rosenthal/packages/wm.scm (hyprland): Update to 0.31.0.
[arguments]<#:phases>: Remove 'substitute-meson-build.
(wlroots-for-hyprland): Update to 0.16.0-751.3406c1b.
2023-10-17 09:03:44 +08:00
Hilton Chain d2342204fd gnu: wakapi-bin: Update to 2.9.1.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.9.1.
2023-10-13 21:12:31 +08:00
Hilton Chain 05aadcc245 gnu: wakatime-cli-bin: Update to 1.85.2.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.85.2.
2023-10-13 21:08:39 +08:00
Hilton Chain 71a580d429 gnu: sing-box-bin: Update to 1.5.3.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.5.3.
2023-10-13 21:01:31 +08:00
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.
2023-10-08 20:52:57 +08:00
Hilton Chain 6b1a540e24 rosenthal: sing-box-bin: Update to 1.5.1.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.5.1.
2023-10-03 13:20:42 +08:00
Hilton Chain 6eaca1aa9f rosenthal: wakatime-cli-bin: Update to 1.85.1.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.85.1.
2023-10-03 09:21:10 +08:00
Hilton Chain 67f1999817 rosenthal: tailscale-bin: Update to 1.50.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.50.1.
2023-10-03 09:20:11 +08:00
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.
2023-10-01 00:30:46 +08:00
Hilton Chain 1c7ae40607 rosenthal: sing-box-bin: Update to 1.5.0.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.5.0.
2023-09-29 20:17:22 +08:00
Hilton Chain d49f5adb51 rosenthal: hyprland: Update to 0.30.0.
* rosenthal/packages/wm.scm (hyprland-unbundle-wlroots-patch): Update patch.
(hyprland): Update to 0.30.0.
[native-inputs]: Replace gcc-12 with gcc-13.
(wlroots-for-hyprland): Update to 0.16.0-735.98a745d.
2023-09-29 09:59:37 +08:00
Hilton Chain e217e5d0b4 rosenthal: sing-box-bin: Update to 1.4.6.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.4.6.
2023-09-27 18:20:54 +08:00
Hilton Chain 47c14d4cd5 rosenthal: hugo-bin: Reference libraries from inputs.
See (guix build-system copy), `copy-build' only passes native-inputs
to #:inputs...

* rosenthal/packages/binaries.scm (hugo-bin)[#:phases]<patch-elf>: Use
`this-package-input' instead of `search-input-file'.
2023-09-26 13:17:19 +08:00
Hilton Chain 9b8194cc7f rosenthal: hugo-bin: Update to 0.119.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.119.0.
2023-09-26 13:06:31 +08:00
Hilton Chain 194a081a28 rosenthal: sing-box-bin: Update to 1.4.5.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.4.5.
2023-09-26 13:01:29 +08:00
Hilton Chain 628de5b81a rosenthal: tailscale-bin: Fix description.
* rosenthal/packages/binaries.scm (tailscale-bin)[description]: Mark tailscale
as code correctly.
2023-09-26 12:56:15 +08:00
Hilton Chain 6d827c6a2d rosenthal: tailscale-bin: Update to 1.50.0.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.50.0.
2023-09-26 12:55:45 +08:00
Hilton Chain 846441ba04 rosenthal: wakatime-cli-bin: Update to 1.84.0.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.84.0.
2023-09-26 12:52:59 +08:00
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.
2023-09-20 21:00:04 +08:00
Hilton Chain 8a3260ecb0 Revert "Import iwd-service-type from Nikita Domnitskii's dotfiles."
This reverts commit bbbdd6afec.
2023-09-18 20:59:02 +08:00
Hilton Chain 644184344d rosenthal: emacs-wakatime-mode: Adjust description.
* rosenthal/packages/emacs-xyz.scm (emacs-wakatime-mode)[version]: Inline
version.
[description]: Adjust description.
2023-09-18 19:33:57 +08:00
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.
2023-09-18 19:33:20 +08:00
Hilton Chain 58ad8f96b6 rosenthal: hyprland: Update to 0.29.1.
* rosenthal/packages/wm.scm (hyprland): Update to 0.29.1.
2023-09-09 09:16:56 +08:00
Hilton Chain 5f5fa3d81d rosenthal: hugo-bin: Update to 0.118.2.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.118.2.
2023-09-02 21:51:01 +08:00
Hilton Chain 280a64270c rosenthal: cloudflared: Update to 2023.8.2.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.8.2.
2023-09-02 21:21:57 +08:00
Hilton Chain 42035556fa rosenthal: sing-box-bin: Update to 1.4.1.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.4.1.
2023-09-02 21:20:25 +08:00
Hilton Chain f0c920f5be rosenthal: wakapi-bin: Update to 2.8.2.
* rosenthal/packages/binaries.scm (wakapi-bin): Update to 2.8.2.
2023-09-02 21:11:00 +08:00
Hilton Chain d3c51cfe7a rosenthal: Remove qogir-icon-theme. [upstreamed]
* rosenthal/packages/gnome-xyz.scm (qogir-icon-theme): Delete variable.
* README.org (Packages): Adjust accordingly.
2023-08-29 23:24:37 +08:00
Hilton Chain ebb9a4e88e rosenthal: hyprland: Update to 0.29.0.
* rosenthal/packages/wm.scm (wlroots-for-hyprland): Update to
0.16.0-724.717ded9.
(hyprland-portals-patch): Delete variable.
(hyprland): Update to 0.29.0.
[source]: Switch to tarball.
2023-08-29 15:47:01 +08:00
Ryan Schanzenbacher bd96a46416 rosenthal: Add xdg-desktop-portal-hyprland
* rosenthal/packages/wm.scm (xdg-desktop-portal-hyprland): New variable.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-08-29 14:18:54 +08:00
Hilton Chain 8d4e983bd3 rosenthal: cloudflared: Update to 2023.8.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.8.1.
2023-08-28 16:35:01 +08:00
Hilton Chain c77c367149 rosenthal: Remove tree-sitter-cmake. [upstreamed]
* rosenthal/packages/tree-sitter.scm (tree-sitter-cmake): Delete variable.
* README.org (Packages): Remove it.
2023-08-27 12:46:54 +08:00
Hilton Chain 5e2dea2d52 gnu: tailscale-bin: Update to 1.48.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.48.1.
2023-08-25 19:05:31 +08:00
Hilton Chain 23376685b9 gnu: cloudflared: Update to 2023.8.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.8.0.
[#:go]: Switch to go-1.20.
2023-08-25 18:36:58 +08:00
Hilton Chain 3753e7ad1c services: shadow-tls: Support service-type mapping.
* rosenthal/services/child-error.scm <top level>: Use
define-service-type-mapping.
2023-08-21 16:22:22 +08:00
Hilton Chain 5b8aa7cfda rosenthal: wakatime-cli-bin: Update to 1.76.0.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.76.0.
2023-08-21 16:17:13 +08:00
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.
2023-08-21 10:22:03 +08:00
Hilton Chain ee0975705c rosenthal: Remove tree-sitter-dockerfile. [upstreamed]
* rosenthal/packages/tree-sitter.scm (tree-sitter-dockerfile): Delete variable.
* README.org (Packages): Remove it.
2023-08-20 23:23:29 +08:00
Hilton Chain 6d1ae3d2c0 gnu: dnsmasq-china-list: Update to 0-13.f17390d.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-13.f17390d.
2023-08-20 21:34:45 +08:00
Hilton Chain 79cbe6d5a2 rosenthal: clash-bin: Update to 1.18.0.
* rosenthal/packages/binaries.scm (clash-bin): Update to 1.18.0.
2023-08-18 10:07:49 +08:00
Hilton Chain 7a6d037315 rosenthal: wakatime-cli-bin: Update to 1.75.1.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.75.1.
2023-08-18 10:05:54 +08:00
Hilton Chain f303f6b00a Update README. 2023-08-16 11:50:19 +08:00
Hilton Chain c7dc95c293 services: iwd: Ungexp file-append.
* rosenthal/services/networking.scm (iwd-shepherd-service)
[#:environment-variables]: Ungexp file-append.
2023-08-14 08:41:33 +08:00
Hilton Chain 939ec4a7c4 bootloader: Add grub-efi-luks2-bootloader.
* rosenthal/bootloader/grub.scm: New file.
(grub-efi-luks2-bootloader): New variable.
2023-08-14 01:23:11 +08:00
Hilton Chain 1eb4642a73 rosenthal: Add grub-efi-luks2.
* rosenthal/packages/bootloaders.scm: New file.
(grub-runtime-memregion-alloc-patch,grub-luks2-argon2-support-patch)
(grub-install-luks2-fix-patch,grub-efi-luks2): New variables.
2023-08-14 01:21:31 +08:00
Hilton Chain 0ef5c4c2eb rosenthal: Add shadow-tls-bin.
* rosenthal/packages/binaries.scm (shadow-tls-bin): New variable.
2023-08-13 11:18:10 +08:00
Hilton Chain 8f3a6b5ee9 rosenthal: wakatime-cli-bin: Update to 1.73.4.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.73.4.
2023-08-13 09:31:53 +08:00
Hilton Chain fc26b38cbb Revert "Import seatd-service-type from Guix."
This reverts commit 2bc27145b3.

Guix has switched to cgroup v2 in 969cea683615e79c7e6548f945f15af80ad58a8a.
2023-08-09 09:00:48 +08:00
Hilton Chain d29f278c2d rosenthal: hugo-bin: Update to 0.117.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.117.0.
2023-08-08 14:22:32 +08:00
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.
2023-08-08 13:57:56 +08:00
Hilton Chain b1fc64d837 rosenthal: sing-box-bin: Update to 1.3.6.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.3.6.
2023-08-07 21:07:08 +08:00
Hilton Chain 129ca6fe16 rosenthal: wakatime-cli-bin: Update to 1.73.2.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): Update to 1.73.2.
2023-08-06 23:31:06 +08:00
Hilton Chain f2ed29ac95 rosenthal: cloudflare-warp-bin: Adjust license name and description.
* rosenthal/packages/binaries.scm (cloudflare-warp-bin)[license]: Change name
and description to what Nonguix uses for nonfree software.
2023-08-06 23:30:27 +08:00
Hilton Chain b9eb466764 gnu: hyprland: Update to 0.28.0.
* rosenthal/packages/wm.scm (hyprland): Update to 0.28.0.
<#:phases>: Substitute program paths.
Substitute GIT_BRANCH, GIT_COMMIT_MESSAGE and GIT_TAG.
[inputs]: Add pciutils.
(wlroots-for-hyprland): Update to 0.16.0-669.e8d545a
2023-08-04 15:25:53 +08:00
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
2023-08-04 13:28:45 +08:00
Hilton Chain 87db633fab rosenthal: Add socks2http.
* rosenthal/packages/networking.scm (socks2http): New variable.
2023-08-02 20:26:07 +08:00
Hilton Chain c8c4a6f991 rosenthal: Remove wayland-protocols-1.31.
wayland-protocols in Guix has been updated to 1.32, this package is not needed.

* rosenthal/packages/freedesktop.scm (wayland-protocols-1.31): Delete variable.
* rosenthal/packages/wm.scm (wlroots-for-hyprland)[propagated-inputs]: Don't
replace wayland-protocols.
2023-08-01 18:07:36 +08:00
Hilton Chain 3fc6f0e46f rosenthal: hugo-bin: Update to 0.116.1.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.116.1.
2023-08-01 18:07:08 +08:00
Hilton Chain 2fcd23369b rosenthal: hugo-bin: Update to 0.116.0.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.116.0.
[arguments]<#:install-plan>: Adjust plan.
<#:phases>: Find gcc:lib with search-input-file.
[inputs]: Add gcc:lib, glibc.
2023-08-01 13:00:29 +08:00
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'.
2023-07-29 18:59:31 +08:00
Hilton Chain 2ba2f5a117 rosenthal: tailscale-bin: Update to 1.46.1.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.46.1.
[arguments]<#:install-plan>: Merge install plans.
2023-07-27 11:05:54 +08:00
Hilton Chain a2c164d008 rosenthal: cloudflared: Update to 2023.7.3.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.7.3.
2023-07-27 00:46:03 +08:00
Hilton Chain b48529e7e4 rosenthal: sing-box-bin: Update to 1.3.4.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.3.4.
2023-07-25 21:40:24 +08:00
Hilton Chain 5289be88a7 rosenthal: cloudflared: Update to 2023.7.2.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.7.2.
2023-07-24 20:17:18 +08:00
Hilton Chain c13a7498b5 rosenthal: sing-box-bin: Update to 1.3.3.
* rosenthal/packages/binaries.scm (sing-box-bin): Update to 1.3.3.
[arguments]<#:install-plan>: Adjust plan.
2023-07-24 20:15:20 +08:00
Hilton Chain d8a88b3fae rosenthal: hugo-bin: Update to 0.115.4.
* rosenthal/packages/binaries.scm (hugo-bin): Update to 0.115.4.
[arguments]<#:phases>: Use libc from build environment.
[inputs]: Remove glibc.
2023-07-21 00:27:47 +08:00
Hilton Chain 4cfd770031 rosenthal: hyprland: Update to 0.27.2.
* rosenthal/packages/wm.scm (hyprland): Update to 0.27.2.
2023-07-19 21:17:52 +08:00
Hilton Chain c06db22c7c rosenthal: hyprland: Update to 0.27.1.
* rosenthal/packages/wm.scm (hyprland): Update to 0.27.1.
(wlroots-for-hyprland): Update to 0.16.0-660.7791ffe.
2023-07-19 11:17:40 +08:00
Hilton Chain c9a8ae39d4 rosenthal: tailscale-bin: Update to 1.44.2.
* rosenthal/packages/binaries.scm (tailscale-bin): Update to 1.44.2.
2023-07-19 11:17:25 +08:00
Hilton Chain 8dfefb0ef0 rosenthal: cloudflared: Update to 2023.7.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.7.1.
2023-07-17 15:58:51 +08:00
Hilton Chain db117efdda Update README.org. 2023-07-16 00:13:53 +08:00
Hilton Chain bf8cd7341a services: Add cloudflare-warp-service-type.
* rosenthal/services/child-error.scm (cloudflare-warp-configuration)
(cloudflare-warp-service-type): New variables.
2023-07-15 23:59:21 +08:00
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.
2023-07-15 00:53:22 +08:00
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.
2023-07-15 00:51:13 +08:00
Hilton Chain d9762b66ac rosenthal: Add wakatime-cli-bin.
* rosenthal/packages/binaries.scm (wakatime-cli-bin): New variable.
2023-07-15 00:47:19 +08:00
Hilton Chain e1ece8946d rosenthal: Add wakapi-bin.
* rosenthal/packages/binaries.scm (wakapi-bin): New variable.
2023-07-15 00:46:55 +08:00
Hilton Chain 4424b36680 rosenthal: Add tailscale-bin.
* rosenthal/packages/binaries.scm (tailscale-bin): New variable.
2023-07-15 00:46:35 +08:00
Hilton Chain 67fe9b6ef8 rosenthal: Add sing-box-bin.
* rosenthal/packages/binaries.scm (sing-box-bin): New variable.
2023-07-15 00:46:21 +08:00
Hilton Chain b629fa832c rosenthal: Add hugo-bin.
* rosenthal/packages/binaries.scm (hugo-bin): New variable.
2023-07-15 00:45:02 +08:00
Hilton Chain f24ac6493e rosenthal: Add clash-bin.
* rosenthal/packages/binaries.scm (clash-bin): New variable.
2023-07-15 00:44:24 +08:00
Hilton Chain 99dfeaf2d7 rosenthal: Add cloudflare-warp-bin. [nonfree]
* rosenthal/packages/binaries.scm: New file.
(license,cloudflare-warp-bin): New variables.
2023-07-15 00:43:31 +08:00
Hilton Chain 47e6b72e60 rosenthal: cloudflared: Update to 2023.7.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.7.0.
[arguments]<#:phases>: Add 'disable-cgo.
2023-07-14 10:06:24 +08:00
Hilton Chain 2c594e3fac rosenthal: Add tree-sitter-yaml.
* rosenthal/packages/tree-sitter.scm (tree-sitter-yaml): New variable.
2023-07-13 21:31:40 +08:00
Hilton Chain 091c21ec8b rosenthal: Add tree-sitter-dockerfile.
* rosenthal/packages/tree-sitter.scm (tree-sitter-dockerfile): New variable.
2023-07-13 21:25:44 +08:00
Hilton Chain a07833bbc0 rosenthal: Add tree-sitter-cmake.
* rosenthal/packages/tree-sitter.scm: New file.
(tree-sitter-grammar,tree-sitter-cmake): New variables.
2023-07-13 21:25:03 +08:00
Hilton Chain a954fccc99 rosenthal: hyprland: Update to 0.27.0.
* rosenthal/packages/wm.scm (hyprland-portals-patch): New variable.
(hyprland)[patches]: Add it.
Update to 0.27.0.
(wlroots-for-hyprland): Update to 0.16.0-548.7e7633a.
2023-07-13 15:52:26 +08:00
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.
2023-07-07 15:30:06 +08:00
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.
2023-07-07 15:28:22 +08:00
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.
2023-07-07 14:57:36 +08:00
Hilton Chain b810c93083 Update README.org. 2023-07-02 17:02:00 +08:00
Hilton Chain c609c50603 NEWS: qbittorrent-enhanced upstreamed.
* NEWS: Add entry for qbittorrent-enhanced removal.
2023-07-02 17:00:15 +08:00
Hilton Chain ed1058c688 rosenthal: Remove qbittorrent-enhanced. [upstreamed]
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced)
(qbittorrent-enhanced-edition): Delete variables.
2023-07-02 16:47:01 +08:00
Hilton Chain f668b716b6 rosenthal: Remove qbittorrent-enhanced-nox. [upstreamed]
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced-nox)
(qbittorrent-enhanced-edition-nox): Delete variables.
2023-07-02 16:46:06 +08:00
Hilton Chain 7e9fe5760b NEWS: linux-xanmod merged to Nonguix.
* NEWS: Add entry for linux-xanmod removal.
2023-07-01 11:05:07 +08:00
Hilton Chain 17106e7ed3 rosenthal: Remove linux-xanmod.
* rosenthal/packages/linux.scm (%default-extra-linux-options,config->string)
(make-linux-xanmod-source,make-linux-xanmod,linux-xanmod-version)
(linux-xanmod-revision,linux-xanmod-source,linux-xanmod): Delete variables.
* README.org: Adjusted accordingly.
2023-07-01 10:40:23 +08:00
Hilton Chain e545bc545d services: qbittorrent: Require networking.
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service)
[requirement]: Replace loopback to networking.
2023-07-01 01:59:40 +08:00
Hilton Chain ece7f31eb3 rosenthal: linux-xanmod: Update to 6.3.10.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.10.
2023-06-29 13:44:45 +08:00
Hilton Chain 766732fa64 rosenthal: linux-xanmod: Update to 6.3.9.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.9.
2023-06-28 22:47:05 +08:00
Hilton Chain c1187b9188 rosenthal: dnsmasq-china-list: Update to 0-12.04ff7d2.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-12.04ff7d2.
2023-06-28 22:39:06 +08:00
Hilton Chain b23c4c6f50 gnu: qbittorrent-enhanced: Update to 4.5.4.10.
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced): Update to 4.5.4.10
2023-06-28 21:36:44 +08:00
Hilton Chain a999008749 rosenthal: Rename qbittorrent-enhanced-edition to qbittorrent-enhanced.
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced)
(qbittorrent-enhanced-nox): New variables.
(qbittorrent-enhanced-edition,qbittorrent-enhanced-edition-nox): Mark as
deprecated aliases.
2023-06-28 21:36:23 +08:00
Hilton Chain b829115cda services: qbittorrent: Use qbittorrent-nox.
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[qbittorrent]:
Use qbittorrent-nox.
2023-06-28 21:35:05 +08:00
Hilton Chain 5ae5900f2d services: qbittorrent: Use match-record.
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service): Use
match-record.
2023-06-28 20:45:09 +08:00
Hilton Chain 45061dd211 services: qbittorrent: Increase Shepherd grace period.
* rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service):
[start]: Remove #:environment-variables.
[stop]: Add #:grace-period.
2023-06-28 20:30:48 +08:00
Hilton Chain ceb36522f0 rosenthal: qogir-icon-theme: Update to 2023.06.05.
* rosenthal/packages/gnome-xyz.scm (qogir-icon-theme): Update to 2023.06.05.
[license]: Correct license to GPL3+.
2023-06-21 20:05:28 +08:00
Hilton Chain fbdaac770a rosenthal: cloudflared: Update to 2023.6.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.6.1.
2023-06-20 21:37:15 +08:00
Hilton Chain b3aa69459f rosenthal: linux-xanmod: Update to 6.3.8.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.8.
2023-06-20 18:40:55 +08:00
Hilton Chain 5cf7452091 Add NEWS.
* .guix-channel: Add news-file field.
* NEWS: New file.
2023-06-17 20:57:33 +08:00
Hilton Chain c3ed521085 Move channel to Codeberg.
* .guix-channel: Change URL.
* README.org: Ditto.
2023-06-17 19:20:59 +08:00
Hilton Chain 002ad35d6e Update README.org. 2023-06-14 23:07:14 +08:00
Hilton Chain 4c5dfa0583 rosenthal: linux-xanmod: Update to 6.3.7.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.7.
(make-linux-xanmod-source,make-linux-xanmod,linux-xanmod-version)
(linux-xanmod-revision): New variables.
(%xanmod-version,%xanmod-revision): Delete variables.
2023-06-14 18:53:57 +08:00
Hilton Chain bf089a2d2e rosenthal: Remove linux-hardened.
* rosenthal/packages/linux.scm (%hardened-version,%hardened-revision)
(linux-hardened-source,linux-hardened): Delete variables.
2023-06-14 14:53:07 +08:00
Hilton Chain aa6d2d652c rosenthal: qogir-icon-theme: Update to 2023.02.23.
* rosenthal/packages/gnome-xyz.scm (qogir-icon-theme): Update to 2023.02.23.
[build-system]: Switch to copy-build-system.
2023-06-02 23:05:12 +08:00
Hilton Chain 1423079db1 rosenthal: hyprland: Update to 0.26.0.
* rosenthal/packages/wm.scm (hyprland): Update to 0.26.0.
(wlroots-for-hyprland)[propagated-inputs]: Replace libinput-minimal to
libinput-minimal-1.23.0.
2023-06-02 23:04:25 +08:00
Hilton Chain 8aa643c684 rosenthal: Add libinput-minimal-1.23.0.
* rosenthal/packages/freedesktop.scm (libinput-minimal-1.23.0): New variable.
2023-06-02 23:04:06 +08:00
Hilton Chain 8e4b2f23fe rosenthal: linux-xanmod: Update to 6.3.5.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.5.
2023-06-01 21:36:18 +08:00
Hilton Chain f8115b491c rosenthal: grimblast: Update to 0.1.
* rosenthal/packages/wm.scm (grimblast): Update to 0.1.
2023-05-29 19:58:59 +08:00
Hilton Chain 5791ad387d rosenthal: grimblast: Wrap script.
* rosenthal/packages/wm.scm (grimblast)[argument]<#:phases>: Remove phase
'patch-script-dependencies.
Add phase 'wrap.
[inputs]: Add guile-3.0.
2023-05-29 19:52:11 +08:00
Hilton Chain 99ad73db4f rosenthal: hyprland: Update to 0.25.0-2.0432804.
* rosenthal/packages/wm.scm (wlroots-for-hyprland): Update to
0.16.0-368.6830bfc.
[build-system,arguments]: Drop field, use inherited value.
[propagated-inputs]: Add libdisplay-info-for-hyprland.
Remove libdrm-2.4.115.
Don't replace libxkbcommon.
[native-inputs]: Replace hwdata:pnp to hwdata-for-hyprland:out.
(hyprland-unbundle-wlroots-patch): Update patch.
(hyprland): Update to 0.25.0-2.0432804.
[arguments]<#:phases>: Add phase 'substitute-meson-build.
[inputs]: Add pango, udis86-for-hyprland.
Remove cairo, pixman-0.42.2.
2023-05-29 17:14:07 +08:00
Hilton Chain ee5b6600e5 rosenthal: Add udis86-for-hyprland.
* rosenthal/packages/wm.scm (udis86-for-hyprland): New variable.
2023-05-29 16:49:50 +08:00
Hilton Chain 7d16b8f5bc rosenthal: Add libdisplay-info-for-hyprland.
* rosenthal/packages/wm.scm (libdisplay-info-for-hyprland): New variable.
2023-05-29 16:49:34 +08:00
Hilton Chain a7fb74617e rosenthal: Add hwdata-for-hyprland.
* rosenthal/packages/wm.scm (hwdata-for-hyprland): New variable.
2023-05-29 16:47:50 +08:00
Hilton Chain 18b5f4779c rosenthal: Remove wayland-1.21.0.
* rosenthal/packages/freedesktop.scm (wayland-1.21.0): Delete variable.
2023-05-29 15:51:49 +08:00
Hilton Chain cbe04c1d70 rosenthal: hyprland-protocols: Update to 0.2.
* rosenthal/packages/wm.scm (hyprland-protocols): Update to 0.2.
2023-05-29 15:34:13 +08:00
Hilton Chain 6e8ceea382 fixup! rosenthal: Remove empty modules. 2023-05-29 14:58:26 +08:00
Hilton Chain 92ba09a173 rosenthal: Remove empty modules.
* rosenthal/packages/golang.scm: ...
* rosenthal/packages/python-xyz.scm: ...
* rosenthal/packages/virtualization.scm: Delete files.
2023-05-29 14:17:38 +08:00
Hilton Chain d9f338e021 gnu: emacs-xyz: Remove -dev packages.
* rosenthal/packages/emacs-xyz.scm (emacs-company-dev,emacs-doom-modeline-dev)
(emacs-rime-dev,emacs-volatile-highlights-dev,emacs-org-rainbow-tags-dev):
Delete variables.
2023-05-29 11:29:36 +08:00
Hilton Chain a0264444b6 rosenthal: linux-xanmod: Update to 6.3.4.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.4.
2023-05-27 12:21:02 +08:00
Hilton Chain bc54704728 Revert "rosenthal: linux-xanmod: Update to 6.3.4."
This reverts commit 9e54a74bf1.
2023-05-27 11:43:32 +08:00
Hilton Chain 9e54a74bf1 rosenthal: linux-xanmod: Update to 6.3.4.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.4.
2023-05-27 11:31:56 +08:00
Hilton Chain 1adba81d3f rosenthal: cloudflared: Update to 2023.5.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.5.1.
2023-05-27 11:31:08 +08:00
Hilton Chain f6fdb520ca rosenthal: dnsmasq-china-list: Update to 0-11.d545efe.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-11.d545efe.
2023-05-27 10:58:47 +08:00
Hilton Chain 43e374a2dd utils: Remove counter-stop.scm.
* rosenthal/utils/counter-stop.scm: Delete file.
* rosenthal/utils/kicksecure.scm: Delete file.
2023-05-07 16:36:21 +08:00
Hilton Chain 35a4bc0849 rosenthal: Remove RPi related stuff.
* rosenthal/bootloader/u-boot.scm: Delete file.
* rosenthal/packages/bootloaders.scm: Delete file.
2023-05-07 16:09:38 +08:00
Hilton Chain 14c41f9400 rosenthal: cloudflared: Update to 2023.5.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.5.0.
2023-05-07 15:50:55 +08:00
Hilton Chain a963a388b1 rosenthal: wm: Fix use-module.
Some modules are missing for grimblast.
2023-05-07 15:38:58 +08:00
Hilton Chain b47c1ca746 rosenthal: linux-hardened: Update to 6.1.27.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.27.
2023-05-07 15:27:59 +08:00
Hilton Chain a8b892dd6e rosenthal: linux-xanmod: Update to 6.3.1.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.3.1.
2023-05-07 15:21:58 +08:00
Hilton Chain cdce2bb0b9 rosenthal: Replace wlroots-0.16.1 and wlroots-dev to wlroots-for-hyprland.
* rosenthal/packages/wm.scm (wlroots-0.16.1,wlroots-dev): Replace them to ...
(wlroots-for-hyprland): ... this.
2023-04-25 19:58:21 +08:00
Hilton Chain 6ce35403a5 rosenthal: Remove waylock.
* rosenthal/packages/wm.scm (waylock): Delete variable.
2023-04-25 19:55:19 +08:00
Hilton Chain 26653dae61 rosenthal: Remove libva-2.16.0. [upstreamed]
* rosenthal/packages/video.scm (libva-2.16.0): Delete variable.
2023-04-25 19:12:21 +08:00
Hilton Chain d3b50c0dac rosenthal: Remove emacs-xonsh-mode. [upstreamed]
* rosenthal/packages/emacs-xyz.scm (emacs-xonsh-mode): Delete variable.
2023-04-25 17:56:17 +08:00
Hilton Chain 1e8702cf45 rosenthal: cloudflared: Update to 2023.4.2.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.4.2.
2023-04-25 14:52:32 +08:00
Hilton Chain 7e5d525a7e rosenthal: emacs-volatile-highlights-dev: Update to 1.15-9.fcf6e27.
* rosenthal/packages/emacs-xyz.scm (emacs-volatile-highlights-dev): Update to
1.15-9.fcf6e27.
2023-04-01 14:16:56 +08:00
Hilton Chain c1c35204fd rosenthal: emacs-rime-dev: Update to 1.0.5-13.6438aba.
* rosenthal/packages/emacs-xyz.scm (emacs-rime-dev): Update to 1.0.5-13.6438aba.
2023-04-01 14:14:59 +08:00
Hilton Chain 5d51859314 rosenthal: linux-hardened: Update to 6.1.21.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.21.
2023-04-01 14:11:14 +08:00
Hilton Chain 5817ee9def rosenthal: emacs-doom-modeline-dev: Update to 3.3.2-54.236fa33.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): Update to
3.3.2-54.236fa33.
2023-04-01 14:09:41 +08:00
Hilton Chain 255bb1d632 rosenthal: linux-xanmod: Update to 6.2.9.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.2.9.
2023-04-01 14:07:24 +08:00
Hilton Chain 8140782823 rosenthal: emacs-company-dev: Update to 0.9.13-377.b3b9fa3.
* rosenthal/packages/emacs-xyz.scm (emacs-company-dev): Update to
0.9.13-377.b3b9fa3.
2023-04-01 13:37:12 +08:00
Hilton Chain 8efad93dcf rosenthal: cloudflared: Update to 2023.3.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.3.1.
2023-03-14 14:31:59 +08:00
Hilton Chain b79cf7e9a1 rosenthal: linux-hardened: Update to 6.1.19.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.19.
2023-03-14 14:25:33 +08:00
Hilton Chain 3fcebc74ab rosenthal: linux-xanmod: Update to 6.2.5.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.2.5.
2023-03-14 14:20:50 +08:00
Hilton Chain 3add85fda0 rosenthal: linux-xanmod: Update to 6.2.3.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.2.3.
2023-03-12 21:01:28 +08:00
Hilton Chain 4cc33d3370 rosenthal: linux-hardened: Update to 6.1.15.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.15.
2023-03-10 15:24:13 +08:00
Hilton Chain 246150d862 rosenthal: linux-xanmod: Update to 6.2.2.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.2.2.
2023-03-10 15:24:01 +08:00
Hilton Chain c4a4ba04a6 rosenthal: Remove bubblewrap-0.7.0.
* rosenthal/packages/virtualization.scm (bubblewrap-0.7.0): Delete variable.

Version 0.8.0 is available in Guix now.
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=5755c5b33ceb92be4511afd167a0dc17a46a6d3d
2023-03-10 14:07:41 +08:00
Hilton Chain 41aa2300a6 rosenthal: cloudflared: Update to 2023.3.0.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.3.0.
2023-03-03 21:43:22 +08:00
Hilton Chain b18bdcc4af rosenthal: linux-hardened: Update to 6.1.14.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.14.
2023-02-27 19:00:31 +08:00
Hilton Chain b4cb000495 rosenthal: linux-xanmod: Update to 6.2.1.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.2.1.
2023-02-27 19:00:00 +08:00
Hilton Chain fb04d47f46 rosenthal: libxkbcommon: Update to 1.5.0.
* rosenthal/packages/xdisorg.scm (libxkbcommon-1.4.1): Update to 1.5.0.
Rename to ...
(libxkbcommon-1.5.0): ... this.
(libxkbcommon-minimal): Replace it.
2023-02-24 14:31:24 +08:00
Hilton Chain 77cfc7b05b rosenthal: hyprland: Don't depend on pango.
* rosenthal/packages/wm.scm (hyprland-unbundle-wlroots-patch): Update patch.
(hyprland)[inputs]: Add cairo.
Remove pango-next.
2023-02-24 14:25:55 +08:00
Hilton Chain 1852de97f6 rosenthal: libdrm: Update to 2.4.115.
* rosenthal/packages/xdisorg.scm (libdrm-2.4.114): Update to 2.4.115.
Rename to ...
(libdrm-2.4.115): ... this.
* rosenthal/packages/wm.scm (wlroots-0.16.1)[propagated-inputs]: Replace it.
2023-02-24 14:17:35 +08:00
Hilton Chain ab00ea374c rosenthal: Remove kconfig-hardened-check-dev.
* rosenthal/packages/linux.scm (kconfig-hardened-check-dev): Delete variable.
2023-02-24 01:35:28 +08:00
Hilton Chain c84648b1e1 rosenthal: linux-hardened: Update to 6.1.13.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.13.
(%upstream-linux-source,source-with-patches,linux-hardened-patch): Delete
variables.
2023-02-24 00:37:48 +08:00
Hilton Chain 4b8c8963ff rosenthal: linux-xanmod: Update to 6.1.13.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.13.
(linux-xanmod-patch): Delete variable.
* rosenthal/utils/download.scm: Remove file.
2023-02-24 00:02:42 +08:00
Hilton Chain 2f85fae959 rosenthal: dnsmasq-china-list: Update to 0-10.15da9b0.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to 0-10.15da9b0.
2023-02-21 16:57:28 +08:00
Hilton Chain ecac695859 rosenthal: cloudflared: Add build flags and install documentation.
* rosenthal/packages/networking.scm (cloudflared)[arguments]<#:build-flags>:
Add field.
<#:phases>: Install documentation.
2023-02-21 15:09:13 +08:00
Hilton Chain cae796ef1c rosenthal: Add emacs-volatile-highlights-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-volatile-highlights-dev): New
variable.
2023-02-21 13:54:28 +08:00
Hilton Chain 287d6c9b64 rosenthal: linux-hardened: Update to 6.1.12.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.12.
2023-02-19 00:49:17 +08:00
Hilton Chain f5447aac23 rosenthal: linux-xanmod: Update to 6.1.12.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.12.
2023-02-18 23:48:18 +08:00
Hilton Chain cdb60de596 rosenthal: qbittorrent-enhanced-edition: Update to 4.5.0.10.
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced-edition): Update to
4.5.0.10.
2023-02-12 13:00:50 +08:00
Hilton Chain 698731e230 rosenthal: Remove smartdns. [upstreamed]
* rosenthal/packages/dns.scm (smartdns): Delete variable.
2023-02-12 11:42:50 +08:00
Hilton Chain 7d0593aad1 rosenthal: linux-xanmod: Update to 6.1.11.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.11.
2023-02-10 15:43:06 +08:00
Hilton Chain ff43bbbca8 rosenthal: linux-hardened: Update to 6.1.10.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.10.
2023-02-08 14:48:22 +08:00
Hilton Chain 91d880f371 rosenthal: linux-xanmod: Update to 6.1.10.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.10.
2023-02-07 18:01:21 +08:00
Hilton Chain 4716f4de90 rosenthal: cloudflared: Update to 2023.2.1.
* rosenthal/packages/networking.scm (cloudflared): Update to 2023.2.1.
2023-02-03 22:18:43 +08:00
Hilton Chain 9f839a51ea gnu: linux-hardened: Update to 6.1.9.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.9.
2023-02-02 16:52:42 +08:00
Hilton Chain 368106c421 rosenthal: linux-xanmod: Update to 6.1.9.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.9.
2023-02-02 16:51:34 +08:00
Hilton Chain 66025a538f rosenthal: linux-xanmod: Disable localversion.
* rosenthal/packages/linux.scm (linux-xanmod): Disable localversion.
2023-02-02 16:46:01 +08:00
Hilton Chain 44c7908c53 rosenthal: Remove go-github-com-google-gopacket. [upstreamed]
* rosenthal/packages/golang.scm (go-github-com-google-gopacket): Delete
variable.
2023-01-31 12:57:31 +08:00
Hilton Chain fa49f7f272 rosenthal: Remove go-github-com-macronut-go-tproxy. [upstreamed]
* rosenthal/packages/golang.scm (go-github-com-macronut-go-tproxy): Delete
variable.
2023-01-31 12:57:03 +08:00
Hilton Chain 77658f8519 rosenthal: Remove phantomsocks. [upstreamed]
* rosenthal/packages/networking.scm (phantomsocks): Delete variable.
2023-01-31 11:44:15 +08:00
Hilton Chain 5d1063ae60 rosenthal: hyprland: Update to 0.21.0beta.
* rosenthal/packages/wm.scm (hyprland): Update to 0.21.0beta.
2023-01-30 15:23:43 +08:00
Hilton Chain ba07b209c4 rosenthal: hyprland-protocols: Update to commit eb7dcc0132ad.
* rosenthal/packages/wm.scm (hyprland-protocols): Update to commit
eb7dcc0132ad.
2023-01-30 15:23:11 +08:00
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.
2023-01-28 20:07:36 +08:00
Hilton Chain e16ddf7be9 rosenthal: Add cloudflared.
* rosenthal/packages/networking.scm (cloudflared): New variable.
2023-01-28 19:47:24 +08:00
Hilton Chain a33c77f33d counter-stop: Add channels.
* rosenthal/utils/counter-stop.scm (%channel-guix,%channel-nonguix)
(%channel-rosenthal,%guix-authorized-key-dorphine)
(%rosenthal-default-channels): New variables.
2023-01-27 16:10:38 +08:00
Hilton Chain a7f3db40a7 rosenthal: linux-xanmod: Fix %base-initrd-modules support.
* rosenthal/packages/linux.scm (linux-xanmod)[arguments]<#:phases>: Build
virtio_console and xts kernel modules.

They are needed for %base-initrd-modules.
2023-01-26 01:06:42 +08:00
Hilton Chain 4be45cb381 rosenthal: linux-hardened: Update to 6.1.8.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.8.
2023-01-25 15:47:19 +08:00
Hilton Chain 2399087de9 rosenthal: linux-xanmod: Update to 6.1.8.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.8.
2023-01-25 13:32:26 +08:00
Hilton Chain 5d8b51d469 rosenthal: flashrom-dev: Update to commit 7ffa626d1278.
* rosenthal/packages/flashing-tools.scm (flashrom-dev): Update to commit
7ffa626d1278.
2023-01-24 16:23:47 +08:00
Hilton Chain ac3c17adb3 rosenthal: emacs-rime-dev: Update to commit 0a50c918d2de.
* rosenthal/packages/emacs-xyz.scm (emacs-rime-dev): Update to commit
0a50c918d2de.
2023-01-24 14:57:45 +08:00
Hilton Chain 4f5322927d rosenthal: Remove emacs-macrostep-geiser-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-macrostep-geiser-dev): Delete
variable.
2023-01-24 14:52:02 +08:00
Hilton Chain 14e9955727 rosenthal: emacs-doom-modeline-dev: Update to commit f6a2d5bb96ad.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): Update to commit
f6a2d5bb96ad.
2023-01-24 14:51:34 +08:00
Hilton Chain e7bd509970 rosenthal: emacs-company-dev: Update to commit 93b0284e5a6b.
* rosenthal/packages/emacs-xyz.scm (emacs-company-dev): Update to commit
93b0284e5a6b.
2023-01-24 14:48:15 +08:00
Hilton Chain 4c7542d973 rosenthal: smartdns: Correct license to GPL3+.
* rosenthal/packages/dns.scm (smartdns)[source]: Add a snippet to avoid
installing systemd service.
[license]: Correct to GPL3+.
2023-01-24 14:42:20 +08:00
Hilton Chain 431a808aa5 rosenthal: dnsmasq-china-list: Update to commit 511c27681623.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
511c27681623.
2023-01-24 14:39:56 +08:00
Hilton Chain f6e5c1866c rosenthal: linux-xanmod: Build with shipped kconfig.
* rosenthal/packages/linux.scm (linux-xanmod)[arguments]<#:phases>: Build with
shipped kconfig.
[native-inputs]: Add cpio and zstd.
(%default-extra-linux-options,config->string): New variables.
2023-01-24 13:42:37 +08:00
Hilton Chain 962a589fec rosenthal: linux: Use source-with-patches procedure.
* rosenthal/packages/linux.scm (source-with-patches): New variable.
(linux-xanmod-source,linux-hardened-source): Use the `source-with-patches`
procedure from `(gnu packages linux)`.
2023-01-23 20:08:10 +08:00
Hilton Chain 4b82e7f2c8 rosenthal: linux: Build kernels with default compiler and options.
* rosenthal/packages/linux.scm (linux-xanmod,linux-hardened): Build with gcc
and default flags.
(%cflags,%ldflags): Delete variables.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-01-23 15:33:26 +08:00
Hilton Chain 02e58caf7f rosenthal: hyprland: Enable Xwayland support.
* rosenthal/packages/wm.scm (hyprland)[arguments]<#:configure-flags>: Drop
field.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-01-22 22:54:00 +08:00
Hilton Chainandegiorgis 7be40aad14 rosenthal: wlroots-0.16.1: Add Xwayland support.
* rosenthal/packages/wm.scm (wlroots-0.16.1)[propagated-inputs]: Add libxcb
and xcb-util-renderutil.

Co-authored-by: egiorgis <giorgiserik@gmail.com>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-01-22 22:44:01 +08:00
Hilton Chain efab3058a8 rosenthal: linux-xanmod: Correct extra-version.
* rosenthal/packages/linux.scm (linux-xanmod): Correct extra-version to
%xanmod-revision.

Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-01-22 22:42:12 +08:00
Hilton Chain fcf02ccc93 rosenthal: linux-hardened: Update to 6.1.7-hardened1.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.7-hardened1.
2023-01-20 17:20:02 +08:00
Hilton Chain 92bc6f73cc rosenthal: linux-xanmod: Update to 6.1.7-xanmod1.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.7-xanmod1.
2023-01-20 17:19:53 +08:00
Hilton Chain dc5f6b65b3 rosenthal: linux: Adjust source file names.
* rosenthal/packages/linux.scm (linux-xanmod-source,linux-hardened-source):
Add `file-name` field.
2023-01-20 17:19:46 +08:00
Hilton Chain 2cec4f4718 rosenthal: linux-xanmod-patch: Use url-fetch/xz-file instead.
* rosenthal/packages/linux.scm (linux-xanmod-patch): Use url-fetch/xz-file
instead.
(computed-origin-method,extract-xanmod-patch): Removed variables.
2023-01-20 17:19:26 +08:00
Hilton Chain 8a7ea1a8bd utils: Add url-fetch/xz-file.
* rosenthal/utils/download.scm (url-fetch*,url-fetch/xz-file): New variables.
2023-01-20 16:55:30 +08:00
Hilton Chain cd9db13a31 rosenthal: linux-hardened: Update to 6.1.6-hardened2.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.1.6-hardened2.
2023-01-16 21:40:17 +08:00
Hilton Chain fed616e5e6 .guix-authorizations: Move up the new key.
* .guix-authorizations: Move up the new key.

This workarounds <https://issues.guix.gnu.org/60852>.
2023-01-16 21:13:47 +08:00
Hilton Chain eb96e484f5 rosenthal: linux-hardened: Update to 6.0.18.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.0.18.
2023-01-14 01:09:49 +08:00
Hilton Chain 38290070c5 rosenthal: linux-xanmod: Update to 6.1.5.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.5.
2023-01-14 01:09:49 +08:00
Hilton Chain 06cf49842f utils: counter-stop: Remove unneeded settings.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-packages): Remove curl,
mosh, unzip and zstd.
(%rosenthal-base-services): Remove ntp-service-type, openssh-service-type and
rngd-service.
2023-01-14 01:09:41 +08:00
Hilton Chain 1c1b79d2f1 .guix-authorizations: Authorize Hilton Chain's new key.
* .guix-authorizations (Hilton Chain): Add OpenPGP key fingerprint.
2023-01-12 01:08:33 +08:00
Hilton Chain c78aa90232 rosenthal: wlroots: Support elogind.
* rosenthal/packages/wm.scm (wlroots-0.16.0)[propagated-inputs]: Replace
libseat to the one with elogind support.
2023-01-09 22:10:30 +08:00
Hilton Chain eac46630f9 rosenthal: dnsmasq-china-list: Update to commit c533934ffcdc.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
c533934ffcdc.
2023-01-09 14:30:25 +08:00
Hilton Chain 96893ace38 rosenthal: linux-hardened: Update to 6.0.17.
* rosenthal/packages/linux.scm (linux-hardened): Update to 6.0.17.
2023-01-09 14:24:11 +08:00
Hilton Chain 36f746614f rosenthal: linux-xanmod: Update to 6.1.4.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.4.
[arguments]<#:phases>: Add phase to remove the localversion file.
2023-01-09 14:21:16 +08:00
Hilton Chain 46e8c75db0 rosenthal: hyprland: Update to 0.20.1beta.
* rosenthal/packages/wm.scm (hyprland): Update to 0.20.1beta.
2023-01-09 13:38:31 +08:00
Hilton Chain bb2da8f6ef rosenthal: wlroots-dev: Update to commit 5f264a7d6c8a.
* rosenthal/packages/wm.scm (wlroots-dev): Update to commit 5f264a7d6c8a.
2023-01-09 13:20:11 +08:00
Hilton Chain 62adfd2225 rosenthal: wlroots: Update to 0.16.1.
* rosenthal/packages/wm.scm (wlroots-0.16.0): Update to 0.16.1.
Rename variable to wlroots-0.16.1.
(wlroots-dev): Changed accordingly.
2023-01-09 13:18:39 +08:00
Hilton Chain ce5d53d4a8 rosenthal: linux-xanmod: Update to 6.1.3.
* rosenthal/packages/linux.scm (linux-xanmod): Update to 6.1.3.
2023-01-07 20:13:29 +08:00
Hilton Chain dd3a4f1c4f rosenthal: grimblast: Update to commit 37c8121f98d7.
* rosenthal/packages/wm.scm (grimblast): Update to commit 37c8121f98d7.
2023-01-07 19:18:13 +08:00
Hilton Chain 5c7721f208 rosenthal: hyprland: Update to 0.20.0beta.
* rosenthal/packages/wm.scm (hyprland): Update to 0.20.0beta.
2023-01-07 19:07:34 +08:00
Hilton Chain daf971cba2 utils: %rosenthal-base-services: Change substitute URL for Nonguix.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-services): Change
substitute URL for Nonguix.
2023-01-05 00:49:54 +08:00
Hilton Chain 3227d2a0e3 rosenthal: Add phantomsocks.
* rosenthal/packages/networking.scm (phantomsocks): New variable.
2023-01-04 23:38:02 +08:00
Hilton Chain 69ac40bc3e rosenthal: Add go-github-com-macronut-go-tproxy.
* rosenthal/packages/golang.scm (go-github-com-macronut-go-tproxy): New
variable.
2023-01-04 23:35:38 +08:00
Hilton Chain ea8fd51d9b rosenthal: Add go-github-com-google-gopacket.
* rosenthal/packages/golang.scm (go-github-com-google-gopacket): New variable.
2023-01-04 23:34:25 +08:00
Hilton Chain cb389fa771 rosenthal: linux-xanmod: Update to 6.1.2.
* rosenthal/packages/linux.scm (%xanmod-version,linux-xanmod-patch)
(linux-xanmod-source): Update to 6.1.2.
2023-01-04 23:15:15 +08:00
Hilton Chain 78b1fc864a rosenthal: linux-hardened: Update to 6.0.16.
* rosenthal/packages/linux.scm (%hardened-version,linux-hardened-patch)
(linux-hardened-source): Update to 6.0.16.
2023-01-04 23:14:19 +08:00
Hilton Chain 81d3200c84 rosenthal: linux: Version variables adjustment.
* rosenthal/packages/linux.scm (%xanmod-version): Rename to %xanmod-revision.
(%hardened-version): Rename to %hardened-revision.
(%xanmod-version,%hardened-version): New variables in place of %linux-version.
2023-01-04 23:03:54 +08:00
Hilton Chain 2d423a6615 rosenthal: Remove linux-rosenthal.
* rosenthal/packages/aux-files/config.zen3-dorphine: Delete file.
* rosenthal/packages/patches/linux-hardened-xanmod-adaption.patch: Likewise.
* rosenthal/packages/patches/linux-libre-deblob-check-omit-error.patch:
Likewise.
* rosenthal/packages/patches/linux-libre-deblob-keep-needed.patch: Likewise.
* rosenthal/packages/linux.scm (deblob-scripts,make-linux-libre-source)
(linux-rosenthal-deblob-scripts,linux-hardened-patch-for-xanmod)
(linux-rosenthal-source,linux-rosenthal-source-deblobed)
(linux-rosenthal): Delete variables.
2023-01-04 22:57:13 +08:00
Hilton Chain 2372c7a34c rosenthal: dnsmasq-china-list: Update to commit 781e3ac074ec.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
781e3ac074ec.
2023-01-04 22:51:37 +08:00
Hilton Chain 46fdf0991b rosenthal: smartdns: Update to 40.
* rosenthal/packages/dns.scm (smartdns): Update to 40.
2023-01-02 19:25:00 +08:00
Hilton Chain a461de806b rosenthal: dnsmasq-china-list: Update to commit 1ec4e92f741d.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
1ec4e92f741d.
2022-12-29 23:48:42 +08:00
Hilton Chain a2733bb2de rosenthal: kconfig-hardened-check-dev: Update to commit 6211b6852b6b.
* rosenthal/packages/linux.scm (kconfig-hardened-check-dev): Update to commit
6211b6852b6b.
2022-12-29 23:46:05 +08:00
Hilton Chain 1ebbc475b9 utils: %rosenthal-base-file-systems: Mount /run and /var/run as tmpfs.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-file-systems): Mount /run
and /var/run as tmpfs.
2022-12-22 15:03:42 +08:00
Hilton Chain 43c39fa355 rosenthal: Remove emacs-god-mode-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-god-mode-dev): Delete variable.
2022-12-22 14:04:38 +08:00
Hilton Chain b79f9092f3 rosenthal: linux-rosenthal: Update kconfig.
* rosenthal/packages/aux-files/config.zen3-dorphine: Update file.
2022-12-22 14:03:09 +08:00
Hilton Chain 158cd0c5a1 rosenthal: emacs-god-mode-dev: Update to commit c2d655e0baeb.
* rosenthal/packages/emacs-xyz.scm (emacs-god-mode-dev): Update to commit
c2d655e0baeb.
2022-12-20 21:21:02 +08:00
Hilton Chain 46d5a25ae0 rosenthal: emacs-doom-modeline-dev: Update to commit fe9ee5a2a950.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): Update to commit
fe9ee5a2a950.
2022-12-20 21:20:19 +08:00
Hilton Chain 945d8c0764 rosenthal: linux-rosenthal: Update to 6.0.12.
* rosenthal/packages/linux.scm (%linux-version): 6.0.12.
(linux-xanmod-patch,linux-hardened-patch,linux-hardened-source): Adjusted
accordingly.
2022-12-19 18:03:25 +08:00
Hilton Chain 2421ac75ee rosenthal: hyprland: Update to 0.19.2beta.
* rosenthal/packages/wm.scm (hyprland): Update to 0.19.2beta.
2022-12-19 16:58:09 +08:00
Hilton Chain 034f499178 rosenthal: hyprland-protocols: Update to commit 301733ae466b.
* rosenthal/packages/wm.scm (hyprland-protocols): Update to commit
301733ae466b.
2022-12-19 16:57:40 +08:00
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.
2022-12-19 14:57:26 +08:00
Hilton Chain 16a443b30d rosenthal: Add emacs-xonsh-mode.
* rosenthal/packages/emacs-xyz.scm (emacs-xonsh-mode): New variable.
2022-12-19 14:44:53 +08:00
Hilton Chain 717945c98e utils: %rosenthal-base-services: Re-order substitute URLs.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-services): Re-order
substitute URLs.
2022-12-19 13:14:03 +08:00
Hilton Chain 4c19ddeb48 rosenthal: linux: Add supported-systems field.
* rosenthal/packages/linux.scm (linux-xanmod,linux-hardened): Add
supported-systems field.
2022-12-19 11:44:55 +08:00
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.
2022-12-10 00:06:22 +08:00
Hilton Chain 93fa311070 rosenthal: dnsmasq-china-list: Update to commit 0bee4d245e35.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
0bee4d245e35.
2022-12-09 23:44:13 +08:00
Hilton Chain 60da81067c rosenthal: linux: Update source to 6.0.11.
* rosenthal/packages/linux.scm (%linux-version,linux-xanmod-patch)
(linux-hardened-patch,linux-hardened-source): Update to 6.0.11.
(linux-hardened-patch-for-xanmod): Use a fixed file name.
* rosenthal/packages/patches/linux-hardened-xanmod-adaption.patch: Updated
accordingly.
2022-12-09 12:20:50 +08:00
Hilton Chain be9036707e rosenthal: Remove buku-run. [upstreamed]
* rosenthal/packages/web.scm (buku-run): Delete variable.
2022-12-09 10:48:14 +08:00
Hilton Chain 302f06ca61 rosenthal: linux: Switch to customize-linux procedure.
* rosenthal/packages/linux.scm: Define Linux kernel variants with
`customize-linux` procedure.
(linux-xanmod)[arguments]<#:phases>: Avoid input label usage.
(linux-rosenthal)[supported-systems]: Add field.
[description]: Adjusted accordingly.
(linux-hardened-patch,linux-hardened-source,linux-hardened)
(linux-rosenthal-source-deblobed): New variables.
(%xanmod-version): Rename to %linux-version.
(%xanmod-revision): Rename to %xanmod-version.
(%hardened-version): Rename to %hardened-version.
(doc-supported?): Deleted variable.
2022-12-08 18:24:54 +08:00
Hilton Chain 6e43046913 rosenthal: dnsmasq-china-list: Update to commit 4a96e02847ec.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
4a96e02847ec.
2022-12-08 15:50:18 +08:00
Hilton Chain 2c5d1f4588 rosenthal: hyprland: Update to 0.19.1beta.
* rosenthal/packages/wm.scm (hyprland): Update to 0.19.1beta.
2022-12-08 15:48:39 +08:00
Hilton Chain 5469ef7ff2 rosenthal: linux-xanmod: Add linux-hardened patch.
* rosenthal/packages/patches/linux-hardened-xanmod-adaption.patch: New file.
* rosenthal/packages/linux.scm (%hardened-revision)
(linux-hardened-patch-for-xanmod): New variables.
(linux-xanmod-source)[patches]: Add linux-hardened-patch-for-xanmod.
2022-12-07 19:55:25 +08:00
Hilton Chain e30e13349f rosenthal: kconfig-hardened-check-dev: Update to commit d361925ba8e7.
* rosenthal/packages/linux.scm (kconfig-hardened-check-dev): Update to commit
d361925ba8e7.
2022-12-07 16:08:54 +08:00
Hilton Chain f3953bfad3 rosenthal: wayland-protocols-1.30: Rename to wayland-protocols-1.31.
* rosenthal/packages/freedesktop.scm (wayland-protocols-1.30): Rename to
wayland-protocols-1.31.
* rosenthal/packages/wm.scm (wlroots-0.16.0,waylock): Adjusted accordingly.
2022-12-07 15:58:10 +08:00
Hilton Chain 8fc703dc04 rosenthal: wayland-protocols-1.30: Update to 1.31.
* rosenthal/packages/freedesktop.scm (wayland-protocols-1.30): Update to 1.31.
2022-12-07 15:54:42 +08:00
Hilton Chain b041068595 rosenthal: hyprland: Update to 0.19.0beta.
* rosenthal/packages/wm.scm (hyprland): Update to 0.19.0beta.
[inputs]: Add hyprland-protocols.
Replace wlroots-0.16.0 with wlroots-dev.
2022-12-07 15:39:56 +08:00
Hilton Chain 224c3307fa rosenthal: Add hyprland-protocols.
* rosenthal/packages/wm.scm (hyprland-protocols): New variable.
2022-12-07 15:39:45 +08:00
Hilton Chain 633d63c485 rosenthal: wlroots-dev: Update to commit 86fc2199f85a.
* rosenthal/packages/wm.scm (wlroots-dev): Update to commit 86fc2199f85a.
2022-12-07 15:39:13 +08:00
Hilton Chain 1f7ca21826 rosenthal: emacs-doom-modeline-dev: Update to commit d0cb6de14a71.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): Update to commit
d0cb6de14a71.
2022-12-07 15:03:28 +08:00
Hilton Chain 5c02d87d3b rosenthal: emacs-company-dev: Update to commit 6884e3ad7174.
* rosenthal/packages/emacs-xyz.scm (emacs-company-dev): Update to commit
6884e3ad7174.
2022-12-07 14:53:37 +08:00
Hilton Chain 257c5c56ec utils: %rosenthal-base-file-systems: Add /tmp (tmpfs).
* rosenthal/utils/counter-stop.scm (%rosenthal-base-file-systems): Add
/tmp (tmpfs).
2022-12-07 14:52:41 +08:00
Hilton Chain 6f9173ca3d utils: %rosenthal-base-services: Add ntp-service-type and rngd-service.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-services): Add
ntp-service-type and rngd-service.
2022-12-06 19:51:58 +08:00
Hilton Chain e660229753 utils: %rosenthal-base-packages: Add mosh.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-packages): Add mosh.
2022-12-06 19:51:34 +08:00
Hilton Chain caa37db34a rosenthal: dnsmasq-china-list: Update to commit 840fc72b3cbb.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
840fc72b3cbb.
2022-12-06 18:40:54 +08:00
Hilton Chain e7f392448d bootloader: install-rpi4-arm64-bootloader: Don't depend on Nonguix.
* rosenthal/bootloader/u-boot.scm (install-rpi4-arm64-bootloader): Don't
depend on Nonguix.
2022-12-06 18:00:15 +08:00
Hilton Chain a1e7e1df3c services: Add smartdns-service-type.
* rosenthal/services/dns.scm: New file.
(smartdns-configuration,smartdns-shepherd-service,smartdns-service-type): New
variables.
2022-12-06 17:59:36 +08:00
Hilton Chain 5e809cd80d rosenthal: smartdns: Update to 39.
* rosenthal/packages/dns.scm (smartdns): Update to 39.
2022-12-06 16:32:06 +08:00
Hilton Chain f8aacd14fa bootloader: Fix modules related build issue.
* rosenthal/bootloader/u-boot.scm: Fix modules related build issue.
* rosenthal/packages/gnome-xyz.scm: Likewise.
2022-12-06 14:06:35 +08:00
Hilton Chain 74501fd33a utils: %rosenthal-base-services: Remove nftables-service-type.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-services): Remove
nftables-service-type.
2022-12-06 13:08:05 +08:00
Hilton Chain 4b6fab01ca bootloader: Add u-boot-rpi4-arm64-bootloader.
* rosenthal/bootloader/u-boot.scm: New file.
(%rpi4-arm64-boot-config,install-rpi4-arm64-bootloader)
(u-boot-rpi4-arm64-bootloader): New variables.
2022-12-06 18:48:45 +08:00
Hilton Chain 0b31c973e8 rosenthal: Add u-boot-rpi-arm64.
* rosenthal/packages/bootloaders.scm: New file.
(u-boot-rpi-arm64): New variable.
2022-12-06 06:45:32 +08:00
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.
2022-12-03 15:40:07 +08:00
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.
2022-12-03 15:25:52 +08:00
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.
2022-12-03 15:24:50 +08:00
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.
2022-12-03 13:59:41 +08:00
Hilton Chain 1f31dedb6f rosenthal: linux-xanmod: Update to 6.0.10.
* rosenthal/packages/linux.scm (%xanmod-version): Update to 6.0.10.
(doc-supported?): New variable.
(linux-xanmod-source,linux-xanmod): Adjusted accordingly.
2022-12-02 22:42:34 +08:00
Hilton Chain 5478467f96 rosenthal: qbittorrent-enhanced-edition-nox: Fix build issue.
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced-edition-nox)
[arguments]<#:phases>: Delete `wrap-qt` phase.
2022-12-02 21:33:22 +08:00
Hilton Chain 5f28176ab8 rosenthal: qbittorrent-enhanced-edition: Use QT5.
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced-edition)
(qbittorrent-enhanced-edition-nox): Use QT5.

The WebUI seems unusable when building with QT6...
2022-12-02 21:26:30 +08:00
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.
2022-12-02 21:01:41 +08:00
Hilton Chain abeacc8731 services: cloudflare-tunnel-shepherd-service: Inline tunnel options.
* rosenthal/services/child-error.scm (cloudflare-tunnel-shepherd-service):
Inline tunnel-options.
2022-12-01 23:02:20 +08:00
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.
2022-12-01 23:00:29 +08:00
Hilton Chain 6dc8bbfa04 services: cloudflare-tunnel-configuration: Define with define-configuration.
* rosenthal/services/child-error.scm (cloudflare-tunnel-configuration): Change
to `define-configuration` form.
2022-12-01 22:47:18 +08:00
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.
2022-12-01 22:36:03 +08:00
Hilton Chain 2370498264 services: cloudflare-tunnel-shepherd-service: Reduce requirements.
* rosenthal/services/child-error (cloudflare-tunnel-shepherd-service)
[requirement]: Remove loopback and user-processes.
2022-12-01 15:51:26 +08:00
Hilton Chain c41676ed0d rosenthal: wlroots-dev: Update to commit f103dc74d89c.
* rosenthal/packages/wm.scm (wlroots-dev): Update to commit f103dc74d89c.
2022-12-01 15:02:35 +08:00
Hilton Chain 08744e6b0e rosenthal: emacs-doom-modeline-dev: Update to commit 9f6ca7d61d89.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): Update to commit
9f6ca7d61d89.
2022-12-01 00:00:41 +08:00
Hilton Chain b8dc8360e3 rosenthal: emacs-company-dev: Update to commit 00a739f9684c.
* rosenthal/packages/emacs-xyz.scm (emacs-company-dev): Update to commit
00a739f9684c.
2022-11-30 23:59:49 +08:00
Hilton Chain 6cb376d52e rosenthal: dnsmasq-china-list: Update to commit 6e292dc0630f.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
6e292dc0630f.
2022-11-30 23:44:17 +08:00
Hilton Chain 93baac80be rosenthal: Remove python-pynixutil. [upstreamed]
* rosenthal/packages/python-xyz.scm (python-pynixutil): Delete variable.
2022-11-29 20:55:59 +08:00
Hilton Chain 5dfcd408b7 rosenthal: Remove emacs-org-rainbow-tags. [upstreamed]
* rosenthal/packages/emacs-xyz.scm (emacs-org-rainbow-tags): Delete variable.
2022-11-27 12:56:32 +08:00
Hilton Chain d4a52bd492 utils: %rosenthal-base-packages: Don't remove less.
* rosenthal/utils/counter-stop.scm (%rosenthal-base-packages): Keep less.
2022-11-26 19:49:04 +08:00
Hilton Chain 029d265317 rosenthal: dnsmasq-china-list: Update to commit d52acc37309e.
* rosenthal/packages/dns.scm (dnsmasq-china-list): Update to commit
d52acc37309e.
2022-11-26 19:46:13 +08:00
Hilton Chain 7916cbb6fe rosenthal: emacs-doom-modeline-dev: Update to commit 986e9e0ab14a.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): Update to commit
986e9e0ab14a.
2022-11-26 19:44:06 +08:00
Hilton Chain 1be5726510 Add common variables shared across my configurations.
* rosenthal/utils/counter-stop.scm: New file.
2022-11-26 10:56:57 +08:00
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.
2022-11-25 23:22:29 +08:00
Hilton Chain 0dff44354a Add contents extracted from Kicksecure's resources.
* rosenthal/utils/kicksecure.scm: New file.
(%kicksecure-kernel-arguments,%kicksecure-sysctl-rules): New variables.
<https://github.com/kicksecure/security-misc>

See also: <https://www.kicksecure.com/wiki/Security-misc>
2022-11-25 19:52:50 +08:00
Hilton Chain 76acf97ec6 rosenthal: linux-xanmod: Don't build docs.
* rosenthal/packages/linux.scm (linux-xanmod)[arguments]<#:phases>: Don't
build docs.
2022-11-25 19:41:40 +08:00
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.
2022-11-25 19:37:08 +08:00
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>
2022-11-25 19:37:06 +08:00
Hilton Chain b61194a46b Import home-services-utils from rde.
* rosenthal/utils/home-services-utils.scm: New file imported from rde.
<https://git.sr.ht/~abcdw/rde/tree/master/item/gnu/home-services-utils.scm>
2022-11-25 19:14:59 +08:00
Hilton Chain 0b597e65c6 rosenthal: Add waylock.
* rosenthal/packages/wm.scm (waylock): New variable.
2022-11-25 15:39:52 +08:00
Hilton Chain 4c36462bef rosenthal: Add grimblast.
* rosenthal/packages/wm.scm (grimblast): New variable.
2022-11-25 15:39:29 +08:00
Hilton Chain 9be629c953 rosenthal: Add hyprland.
* rosenthal/packages/wm.scm (hyprland-unbundle-wlroots-patch,hyprland): New
variables.
2022-11-25 15:38:22 +08:00
Hilton Chain 3702505c9c rosenthal: Add wlroots-dev.
* rosenthal/packages/wm.scm (wlroots-dev): New variable.
2022-11-25 15:35:57 +08:00
Hilton Chain ecd7d744e4 rosenthal: Add wlroots-0.16.0.
* rosenthal/packages/wm.scm: New file.
(wlroots-0.16.0): New variable.
2022-11-25 15:35:37 +08:00
Hilton Chain 6e6d098eb9 rosenthal: Add pixman-0.42.2.
* rosenthal/packages/xdisorg.scm (pixman-0.42.2): New variable.
2022-11-25 15:33:39 +08:00
Hilton Chain bfee3c2dd3 rosenthal: Add libxkbcommon-minimal.
* rosenthal/packages/xdisorg.scm (libxkbcommon-minimal): New variable.
2022-11-25 15:33:28 +08:00
Hilton Chain 24b3016230 rosenthal: Add libxkbcommon-1.4.1.
* rosenthal/packages/xdisorg.scm (libxkbcommon-1.4.1): New variable.
2022-11-25 15:33:20 +08:00
Hilton Chain 8794ae8697 rosenthal: Add libdrm-2.4.114.
* rosenthal/packages/xdisorg.scm: New file.
(libdrm-2.4.114): New variable.
2022-11-25 15:33:03 +08:00
Hilton Chain 2f2deb4d77 rosenthal: Add buku-run-dev.
* rosenthal/packages/web.scm (buku-run-dev): New variable.
2022-11-25 15:26:50 +08:00
Hilton Chain 142f7c1b20 rosenthal: Add buku-run.
* rosenthal/packages/web.scm: New file.
(buku-run): New variable.
2022-11-25 15:26:40 +08:00
Hilton Chain c062a2eecf rosenthal: Add bubblewrap-0.7.0.
* rosenthal/packages/virtualization.scm: New file.
(bubblewrap-0.7.0): New variable.
2022-11-25 15:23:33 +08:00
Hilton Chain 145ebf94aa rosenthal: Add libva-nox.
* rosenthal/packages/video.scm (libva-nox): New variable.
2022-11-25 15:22:53 +08:00
Hilton Chain bd4f4e7da0 rosenthal: Add libva-2.16.0.
* rosenthal/packages/video.scm: New file.
(libva-2.16.0): New variable.
2022-11-25 15:22:37 +08:00
Hilton Chain 8496689f75 rosenthal: Add dropbear/static.
* rosenthal/packages/ssh.scm: New file.
(dropbear/static): New variable.
2022-11-25 15:21:13 +08:00
Hilton Chain 282ce91a06 rosenthal: Add python-pynixutil.
* rosenthal/packages/python-xyz.scm: New file.
(python-pynixutil): New variable.
2022-11-25 15:20:16 +08:00
Hilton Chain 8c82286bfc rosenthal: Add kconfig-hardened-check-dev.
* rosenthal/packages/linux.scm (kconfig-hardened-check-dev): New variable.
2022-11-25 15:20:15 +08:00
Hilton Chain b953b1c7e9 rosenthal: Add linux-rosenthal.
* rosenthal/packages/aux-files/config.zen3-dorphine: New file.
* rosenthal/packages/patches/linux-libre-deblob-check-omit-error.patch: New
file.
* rosenthal/packages/patches/linux-libre-deblob-keep-needed.patch: New file.
* rosenthal/packages/linux.scm (deblob-scripts,make-linux-libre-source)
(linux-rosenthal-deblob-scripts,linux-rosenthal-source,linux-rosenthal): New
variables.
2022-11-25 15:20:15 +08:00
Hilton Chain 146bc7f068 rosenthal: Add linux-xanmod.
* rosenthal/packages/linux.scm: New file.
(computed-origin-method,%upstream-linux-source,%cflags,%ldflags)
(%xanmod-version,%xanmod-revision,extract-xanmod-patch,linux-xanmod-patch)
(linux-xanmod-source,linux-xanmod): New variables.
2022-11-25 15:20:15 +08:00
Hilton Chain 7fbe28af8b rosenthal: Add qogir-icon-theme.
* rosenthal/packages/gnome-xyz.scm: New file.
(qogir-icon-theme): New variable.
2022-11-25 15:20:10 +08:00
Hilton Chain 65b564a33c rosenthal: Add wayland-protocols-1.30.
* rosenthal/packages/freedesktop.scm (wayland-protocols-1.30): New variable.
2022-11-25 14:51:49 +08:00
Hilton Chain d6c5ca89f7 rosenthal: Add wayland-1.21.0.
* rosenthal/packages/freedesktop.scm: New file
(wayland-1.21.0): New variable.
2022-11-25 14:51:49 +08:00
Hilton Chain 84837df370 rosenthal: Add flashrom-dev.
* rosenthal/packages/flashing-tools.scm: New file.
(flashrom-dev): New variable.
2022-11-25 14:51:49 +08:00
Hilton Chain 62921a9228 rosenthal: Add emacs-org-rainbow-tags-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-org-rainbow-tags-dev): New variable.
2022-11-25 14:51:49 +08:00
Hilton Chain 02dcbbf930 rosenthal: Add emacs-org-rainbow-tags.
* rosenthal/packages/emacs-xyz.scm (emacs-org-rainbow-tags): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain 16ea01ca3c rosenthal: Add emacs-wakatime-mode.
* rosenthal/packages/emacs-xyz.scm (emacs-wakatime-mode): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain 6acd6d64a1 rosenthal: Add emacs-rime-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-rime-dev): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain 0029ca1592 rosenthal: Add emacs-macrostep-geiser-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-macrostep-geiser-dev): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain 340bdd232f rosenthal: Add emacs-god-mode-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-god-mode-dev): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain 17fd8f49f1 rosenthal: Add emacs-doom-modeline-dev.
* rosenthal/packages/emacs-xyz.scm (emacs-doom-modeline-dev): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain d67cb6b312 rosenthal: Add emacs-company-dev.
* rosenthal/packages/emacs-xyz.scm: New file.
(emacs-company-dev): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain 61d6698fbf rosenthal: Add smartdns.
* rosenthal/packages/dns.scm (smartdns): New variable.
2022-11-25 14:51:48 +08:00
Hilton Chain b94ca27982 rosenthal: Add dnsmasq-china-list.
* rosenthal/packages/dns.scm: New file.
(dnsmasq-china-list): New variable.
2022-11-25 14:51:47 +08:00
Hilton Chain 6c9c8abcae rosenthal: Add busybox/static.
* rosenthal/packages/busybox.scm: New file.
(busybox/static): New variable.
2022-11-25 14:51:47 +08:00
Hilton Chain dd0b4c69d1 rosenthal: Add qbittorrent-enhanced-edition-nox.
* rosenthal/packages/bittorrent.scm (qbittorrent-enhanced-edition-nox): New
variable.
2022-11-25 14:51:47 +08:00
Hilton Chain 771fd649a3 rosenthal: Add qbittorrent-enhanced-edition.
* rosenthal/packages/bittorrent.scm: New file.
(qbittorrent-enhanced-edition): New variable.
2022-11-25 14:51:47 +08:00
Hilton Chain 579e2b36bb rosenthal: Add seatd-sans-logind.
* rosenthal/packages/admin.scm (seatd-sans-logind): New variable.
2022-11-25 14:51:47 +08:00
Hilton Chain c0d8f03cb9 rosenthal: Add libseat-sans-logind.
* rosenthal/packages/admin.scm: New file.
(libseat-sans-logind): New variable.
2022-11-25 14:51:47 +08:00
Hilton Chain fe77624a03 Add README.org.
* README.org: New file.
2022-11-25 14:51:41 +08:00
Hilton Chain 7677db7633 Initial commit.
* .gitattributes: New file.
* .guix-authorizations: New file.
* .guix-channel: New file.
* LICENSES/GPL-3.0.txt: New file.
* pre-inst-env: New file.
2022-11-25 14:50:51 +08:00
106 changed files with 19246 additions and 55 deletions

No files matched your search

+190
View File
@@ -0,0 +1,190 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2012-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013,2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
;;; Copyright © 2015 David Thompson <davet@gnu.org>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2017 Alex Kost <alezost@gmail.com>
;;; Copyright © 2018-2020 Caleb Ristvedt <caleb.ristvedt@cune.org>
;;; Copyright © 2020-2023,2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
;;; Copyright © 2022 Brian Cully <bjc@kublai.com>
;;; Copyright © 2023 (unmatched-parenthesis <paren@disroot.org>
;;; Copyright © 2024 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2025 David Elsing <david.elsing@posteo.net>
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
;; Per-directory local variables for GNU Emacs 23 and later.
((nil
. ((fill-column . 78)
(tab-width . 8)
(sentence-end-double-space . t)
;; For use with 'bug-reference-prog-mode'.
(bug-reference-url-format . "https://codeberg.org/hako/Rosenthal/issues/%s")
(bug-reference-bug-regexp
. "\\(#\\([0-9]+\\)\\)")
(geiser-insert-actual-lambda . nil)
(eval . (add-to-list 'completion-ignored-extensions ".go"))))
(c-mode . ((c-file-style . "gnu")))
(emacs-lisp-mode . ((indent-tabs-mode . nil)))
(texinfo-mode . ((indent-tabs-mode . nil)
(fill-column . 72)))
(scheme-mode
.
((geiser-repl-add-project-paths . ("modules"))
(eval . (put 'match-record/dolly 'scheme-indent-function 3))
(eval . (put 'match-record-lambda/dolly 'scheme-indent-function 2))
(eval . (put 'computed-substitution-with-inputs 'scheme-indent-function 1))
(eval . (put 'hidden-desktop-entry 'scheme-indent-function 1))
(eval . (put 'modify-services/by-name 'scheme-indent-function 1))
;; Nonguix
;; Note this next setting will use the current guix as the geiser binary;
;; one working with a local guix checkout may want something different.
(geiser-guile-binary . ("guix" "repl"))
(eval . (put 'with-transformation 'scheme-indent-function 1))
;; Below are copied from Guix.
(indent-tabs-mode . nil)
;; Emacs 28 changed the behavior of 'lisp-fill-paragraph', which causes the
;; first line of package descriptions to extrude past 'fill-column', and
;; somehow that is deemed more correct upstream (see:
;; https://issues.guix.gnu.org/56197).
(eval . (progn
(require 'lisp-mode)
(defun emacs27-lisp-fill-paragraph (&optional justify)
(interactive "P")
(or (fill-comment-paragraph justify)
(let ((paragraph-start
(concat paragraph-start
"\\|\\s-*\\([(;\"]\\|\\s-:\\|`(\\|#'(\\)"))
(paragraph-separate
(concat paragraph-separate "\\|\\s-*\".*[,\\.]$"))
(fill-column (if (and (integerp emacs-lisp-docstring-fill-column)
(derived-mode-p 'emacs-lisp-mode))
emacs-lisp-docstring-fill-column
fill-column)))
(fill-paragraph justify))
;; Never return nil.
t))
(setq-local fill-paragraph-function #'emacs27-lisp-fill-paragraph)))
;; This notably allows '(' in Paredit to not insert a space when the
;; preceding symbol is one of these.
(eval . (modify-syntax-entry ?~ "'"))
(eval . (modify-syntax-entry ?$ "'"))
(eval . (modify-syntax-entry ?+ "'"))
(eval . (put 'eval-when 'scheme-indent-function 1))
(eval . (put 'call-with-prompt 'scheme-indent-function 1))
(eval . (put 'test-assert 'scheme-indent-function 1))
(eval . (put 'test-assertm 'scheme-indent-function 1))
(eval . (put 'test-equalm 'scheme-indent-function 1))
(eval . (put 'test-equal 'scheme-indent-function 1))
(eval . (put 'test-eq 'scheme-indent-function 1))
(eval . (put 'call-with-input-string 'scheme-indent-function 1))
(eval . (put 'call-with-port 'scheme-indent-function 1))
(eval . (put 'guard 'scheme-indent-function 1))
(eval . (put 'lambda* 'scheme-indent-function 1))
(eval . (put 'substitute* 'scheme-indent-function 1))
(eval . (put 'match-record 'scheme-indent-function 3))
(eval . (put 'match-record-lambda 'scheme-indent-function 2))
;; TODO: Contribute these to Emacs' scheme-mode.
(eval . (put 'let-keywords 'scheme-indent-function 3))
;; 'modify-inputs' and its keywords.
(eval . (put 'modify-inputs 'scheme-indent-function 1))
(eval . (put 'replace 'scheme-indent-function 1))
;; 'modify-phases' and its keywords.
(eval . (put 'modify-phases 'scheme-indent-function 1))
(eval . (put 'replace 'scheme-indent-function 1))
(eval . (put 'add-before 'scheme-indent-function 2))
(eval . (put 'add-after 'scheme-indent-function 2))
(eval . (put 'modify-services 'scheme-indent-function 1))
(eval . (put 'with-directory-excursion 'scheme-indent-function 1))
(eval . (put 'with-file-lock 'scheme-indent-function 1))
(eval . (put 'with-file-lock/no-wait 'scheme-indent-function 1))
(eval . (put 'with-profile-lock 'scheme-indent-function 1))
(eval . (put 'with-writable-file 'scheme-indent-function 2))
(eval . (put 'package/inherit 'scheme-indent-function 1))
(eval . (put 'substitute-keyword-arguments 'scheme-indent-function 1))
(eval . (put 'with-store 'scheme-indent-function 1))
(eval . (put 'with-store/non-blocking 'scheme-indent-function 1))
(eval . (put 'with-external-store 'scheme-indent-function 1))
(eval . (put 'with-error-handling 'scheme-indent-function 0))
(eval . (put 'with-mutex 'scheme-indent-function 1))
(eval . (put 'with-atomic-file-output 'scheme-indent-function 1))
(eval . (put 'call-with-compressed-output-port 'scheme-indent-function 2))
(eval . (put 'call-with-decompressed-port 'scheme-indent-function 2))
(eval . (put 'call-with-gzip-input-port 'scheme-indent-function 1))
(eval . (put 'call-with-gzip-output-port 'scheme-indent-function 1))
(eval . (put 'call-with-lzip-input-port 'scheme-indent-function 1))
(eval . (put 'call-with-lzip-output-port 'scheme-indent-function 1))
(eval . (put 'signature-case 'scheme-indent-function 1))
(eval . (put 'emacs-batch-eval 'scheme-indent-function 0))
(eval . (put 'emacs-batch-edit-file 'scheme-indent-function 1))
(eval . (put 'emacs-substitute-sexps 'scheme-indent-function 1))
(eval . (put 'emacs-substitute-variables 'scheme-indent-function 1))
(eval . (put 'with-derivation-narinfo 'scheme-indent-function 1))
(eval . (put 'with-derivation-substitute 'scheme-indent-function 2))
(eval . (put 'with-status-report 'scheme-indent-function 1))
(eval . (put 'with-status-verbosity 'scheme-indent-function 1))
(eval . (put 'with-build-handler 'scheme-indent-function 1))
(eval . (put 'mlambda 'scheme-indent-function 1))
(eval . (put 'mlambdaq 'scheme-indent-function 1))
(eval . (put 'syntax-parameterize 'scheme-indent-function 1))
(eval . (put 'with-monad 'scheme-indent-function 1))
(eval . (put 'mbegin 'scheme-indent-function 1))
(eval . (put 'mwhen 'scheme-indent-function 1))
(eval . (put 'munless 'scheme-indent-function 1))
(eval . (put 'mlet* 'scheme-indent-function 2))
(eval . (put 'mlet 'scheme-indent-function 2))
(eval . (put 'state-parameterize 'scheme-indent-function 2))
(eval . (put 'store-parameterize 'scheme-indent-function 2))
(eval . (put 'run-with-store 'scheme-indent-function 1))
(eval . (put 'run-with-state 'scheme-indent-function 1))
(eval . (put 'wrap-program 'scheme-indent-function 1))
(eval . (put 'wrap-script 'scheme-indent-function 1))
(eval . (put 'with-imported-modules 'scheme-indent-function 1))
(eval . (put 'with-extensions 'scheme-indent-function 1))
(eval . (put 'with-parameters 'scheme-indent-function 1))
(eval . (put 'let-system 'scheme-indent-function 1))
(eval . (put 'with-build-variables 'scheme-indent-function 2))
(eval . (put 'with-database 'scheme-indent-function 2))
(eval . (put 'call-with-database 'scheme-indent-function 1))
(eval . (put 'call-with-transaction 'scheme-indent-function 1))
(eval . (put 'call-with-retrying-transaction 'scheme-indent-function 1))
(eval . (put 'call-with-container 'scheme-indent-function 1))
(eval . (put 'container-excursion 'scheme-indent-function 1))
(eval . (put 'eventually 'scheme-indent-function 1))
(eval . (put 'call-with-progress-reporter 'scheme-indent-function 1))
(eval . (put 'with-repository 'scheme-indent-function 2))
(eval . (put 'with-temporary-git-repository 'scheme-indent-function 2))
(eval . (put 'with-environment-variables 'scheme-indent-function 1))
(eval . (put 'with-fresh-gnupg-setup 'scheme-indent-function 1))
(eval . (put 'with-paginated-output-port 'scheme-indent-function 1))
(eval . (put 'with-shepherd-action 'scheme-indent-function 3))
(eval . (put 'with-http-server 'scheme-indent-function 1)))))
+7
View File
@@ -0,0 +1,7 @@
;;; -*- mode: scheme -*-
(authorizations
(version 0)
(;; primary: "220F 98D9 5E86 204C 0036 DA7B 6DEC 4360 408B 4185"
("F4C2 D1DF 3FDE EA63 D1D3 0776 ACC6 6D09 CA52 8292"
(name "Hilton Chain"))))
+8
View File
@@ -0,0 +1,8 @@
;; -*- mode: scheme -*-
(channel
(version 0)
(directory "modules")
(keyring-reference "keyring")
(url "https://codeberg.org/hako/rosenthal.git")
(news-file "NEWS"))
+427
View File
@@ -0,0 +1,427 @@
Attribution-ShareAlike 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution-ShareAlike 4.0 International Public
License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution-ShareAlike 4.0 International Public License ("Public
License"). To the extent this Public License may be interpreted as a
contract, You are granted the Licensed Rights in consideration of Your
acceptance of these terms and conditions, and the Licensor grants You
such rights in consideration of benefits the Licensor receives from
making the Licensed Material available under these terms and
conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
e. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name
of a Creative Commons Public License. The License Elements of this
Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
i. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
k. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. Additional offer from the Licensor -- Adapted Material.
Every recipient of Adapted Material from You
automatically receives an offer from the Licensor to
exercise the Licensed Rights in the Adapted Material
under the conditions of the Adapter's License You apply.
c. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
b. ShareAlike.
In addition to the conditions in Section 3(a), if You Share
Adapted Material You produce, the following conditions also apply.
1. The Adapter's License You apply must be a Creative Commons
license with the same License Elements, this version or
later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the
Adapter's License You apply. You may satisfy this condition
in any reasonable manner based on the medium, means, and
context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms
or conditions on, or apply any Effective Technological
Measures to, Adapted Material that restrict exercise of the
rights granted under the Adapter's License You apply.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material,
including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.
+121
View File
@@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.
+232
View File
@@ -0,0 +1,232 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
“This License” refers to version 3 of the GNU General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based on the Program.
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <https://www.gnu.org/philosophy/why-not-lgpl.html>.
+58
View File
@@ -0,0 +1,58 @@
;; -*- mode: scheme -*-
;; SPDX-License-Identifier: GPL-3.0-or-later
;; Copyright © 2023, 2024 Hilton Chain <hako@ultrarare.space>
(channel-news
(version 0)
(entry ;2025-09-05
(commit "c171b73ae7e66e55b4fc60422bc030c5aade444c")
(title (en "Manual intervention required for Caddy service change")
(zh "Caddy 服務改動需要人爲干預"))
(body (en "@code{caddy-service-type} has switched to @code{etc-service-type}
to set up Caddy configuration file. Please remove the existing
@file{/etc/caddy} directory before system reconfiguration.")
(zh "@code{caddy-service-type} 已改爲使用 @code{etc-service-type} 設置
配置文件。請在重新配置系統前刪除已有的 @file{/etc/caddy} 目錄。")))
(entry ;2024-12-08
(commit "162defb8388b4099f6ae8699ec8872f845a2481e")
(title (en "Hyprland upstreamed")
(zh "Hyprland 已合併至上游"))
(body (en "All Hyprland packages have been upstreamed to Guix and deleted in
Rosenthal.")
(zh "所有 Hyprland 相關軟件包已合併至 Guix 上游並在 Rosenthal 中刪除。")))
(entry ;2023-07-01
(commit "ed1058c688a2655521beeba3e6295db2c0c1f274")
(title (en "@code{qbittorrent-enhanced} upstreamed")
(zh "@code{qbittorrent-enhanced} 已合併至上游"))
(body (en "Packages @code{qbittorrent-enhanced} and
@code{qbittorrent-enhanced-nox} are upstreamed to Guix, they are now available
in module @code{(gnu packages bittorrent)}. Previously deprecated packages
@code{qbittorrent-enhanced-edition} and @code{qbittorrent-enhanced-edition-nox}
are no longer available.")
(zh "@code{qbittorrent-enhanced} 與 @code{qbittorrent-enhanced-nox}
已合併至 Guix 上游 @code{(gnu packages bittorrent)} 模塊。先前標記爲棄用的軟件包
@code{qbittorrent-enhanced-edition} 及 @code{qbittorrent-enhanced-edition-nox}
已不再可用。")))
(entry ;2023-07-01
(commit "17106e7ed3d21544dfd80e77aa785e1e5781fb1c")
(title (en "@code{linux-xanmod} merged to Nonguix")
(zh "@code{linux-xanmod} 已合併至 Nonguix"))
(body (en "Package @code{linux-xanmod} has been merged to channel
@url{https://gitlab.com/nonguix/nonguix, Nonguix}, it's not available in
Rosenthal any more.")
(zh "@code{linux-xanmod} 已移出 Rosenthal,合併至
@url{https://gitlab.com/nonguix/nonguix, Nonguix} 頻道。")))
(entry ;2023-06-17
(commit "c3ed521085962524d78f4c7007e7d77535ae085e")
(title (en "Channel moved to Codeberg")
(zh "頻道已移至 Codeberg"))
(body (en "Rosenthal has been moved to Codeberg and the GitHub repository
will remain as a mirror. Changing the URL in your @file{channels.scm} to
@url{https://codeberg.org/hako/rosenthal.git} is recommended.")
(zh "Rosenthal 頻道已移至 Codeberg,先前的 GitHub 倉庫將用作鏡像。建議修改
@file{channels.scm} 內 URL 爲 @url{https://codeberg.org/hako/rosenthal.git}。"))))
+173
View File
@@ -0,0 +1,173 @@
# SPDX-License-Identifier: CC0-1.0
# Copyright © 2022, 2024, 2025-2026 Hilton Chain <hako@ultrarare.space>
#+TITLE: Rosenthal - A certain Guix channel
** Overview
#+html: <a href="https://ci.guix.moe/jobset/rosenthal"><img src="https://ci.guix.moe/jobset/rosenthal/badge.svg?type=1"></a>
Rosenthal is a [[https://guix.gnu.org/manual/devel/en/html_node/Channels.html][Guix channel]] created for experiments. It currently holds some
packages and services not ready for upstreaming.
Feel free to upstream things from this channel if you find them useful and
suitable. I can help with that but don't have the energy to finish all the
process by myself.
NOTE: everything in this channel is subject to change and may be deleted *at
any time*, please [[https://codeberg.org/hako/Rosenthal/issues][report an issue]] if you are affected.
Channel specification:
#+begin_src scheme
(channel
(name 'rosenthal)
(url "https://codeberg.org/hako/rosenthal.git")
(branch "trunk")
(introduction
(make-channel-introduction
"7677db76330121a901604dfbad19077893865f35"
(openpgp-fingerprint
"13E7 6CD6 E649 C28C 3385 4DF5 5E5A A665 6149 17F7"))))
#+end_src
You can use [[https://toys.whereis.social/?search=&channel=rosenthal][toys.whereis.social]] or [[https://search.guix.moe/?search=&channel=rosenthal][search.guix.moe]] to search packages, services
and public symbols from Rosenthal and other Guix channels.
[[https://guix.gnu.org/manual/devel/en/html_node/Substitutes.html][Substitutes]] (pre-built package binaries) for this channel are available via [[https://guix.moe/][Guix
Moe]]'s infrastructure.
** Content
Outputed by the [[file:etc/scripts/index.scm][index.scm]] script.
*** Packages
| PACKAGE | SYNOPSIS | LOCATION |
|-+-+-|
|[[https://github.com/ai-robots-txt/ai.robots.txt][=ai-robots-txt=]]@1.50|List of AI agents and robots to block|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/web.scm#L29][web.scm]]|
|[[https://grafana.com/oss/alloy-opentelemetry-collector/][=alloy-bin=]]@1.18.1|OpenTelemetry Collector distribution with programmable pipelines|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/utils/packages.scm#L167][packages.scm]]|
|[[https://github.com/anthonyhab/bb-auth][=bb-auth=]]@0.2.0|Unified polkit, keyring, and pinentry authentication daemon|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/authentication.scm#L22][authentication.scm]]|
|[[https://bitwarden.com/][=bitwarden-icecat=]]@2026.3.0|Bitwarden client browser extension|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/browser-extensions.scm#L48][browser-extensions.scm]]|
|[[https://www.busybox.net][=busybox-static=]]@1.37.0|Many common UNIX utilities in a single executable|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/busybox.scm#L14][busybox.scm]]|
|[[https://caddyserver.com/][=caddy=]]@2.11.4|Extensible HTTP web server with automatic HTTPS|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/web.scm#L62][web.scm]]|
|[[https://git.guix.moe/hako/caddy][=caddy-dolly=]]@2026.06.01|Extensible HTTP web server with automatic HTTPS|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/web.scm#L131][web.scm]]|
|[[https://1.1.1.1/][=cloudflare-warp-bin=]]@2026.6.880.0|Cloudflare WARP client|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L42][binaries.scm]]|
|[[https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/][=cloudflared=]]@2026.8.2|Cloudflare Tunnel client|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/networking.scm#L25][networking.scm]]|
|[[https://guix.gnu.org/cuirass/][=cuirass-dolly=]]@1.3.6|Continuous integration system|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/ci.scm#L16][ci.scm]]|
|[[https://davmac.org/projects/dinit/][=dinit=]]@0.22.1|Service manager with dependency management|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/admin.scm#L25][admin.scm]]|
|[[https://github.com/felixonmars/dnsmasq-china-list][=dnsmasq-china-list=]]@0.0.0-21.7da1a5a|Chinese-specific DNS server configurations|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/dns.scm#L18][dns.scm]]|
|[[https://matt.ucc.asn.au/dropbear/dropbear.html][=dropbear-static=]]@2025.89|Small SSH server and client|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/ssh.scm#L16][ssh.scm]]|
|[[https://github.com/Schnouki/caddyfile-mode][=emacs-caddyfile-mode=]]@0.2-0.fc41148|Emacs major mode for editing Caddy configuration files|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L25][emacs-xyz.scm]]|
|[[https://github.com/dakra/ghostel][=emacs-consult-ghostel=]]@0.53.0|Consult integration for ghostel|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L51][emacs-xyz.scm]]|
|[[https://codeberg.org/akib/emacs-eat][=emacs-eat-dolly=]]@0.9.4|Terminal emulator in Emacs|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L77][emacs-xyz.scm]]|
|[[https://github.com/flycheck/flycheck-eglot][=emacs-flycheck-eglot=]]@1.0-0.cd1dd78|Flycheck support for eglot|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L97][emacs-xyz.scm]]|
|[[https://github.com/astoff/isearch-mb][=emacs-isearch-mb=]]@0.8|Control `isearch' from the minibuffer|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L119][emacs-xyz.scm]]|
|[[https://github.com/taquangtrung/emacs-kdl-mode][=emacs-kdl-mode=]]@0.0.1-0.2d849e2|Emacs major mode for editing files in the KDL document language|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L144][emacs-xyz.scm]]|
|[[https://github.com/dandavison/magit-delta][=emacs-magit-delta-dolly=]]@0.1-0.5fc7dbd|Integration of `delta' with `emacs-magit'|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L165][emacs-xyz.scm]]|
|[[https://github.com/0WD0/majutsu][=emacs-majutsu-dolly=]]@0.6.0-5.56b6e26|Emacs interface for Jujutsu version control system|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L180][emacs-xyz.scm]]|
|[[https://github.com/xuchunyang/msgpack.el][=emacs-msgpack=]]@0.1.1-0.5353a7b|Read and write MessagePack object in Emacs|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L204][emacs-xyz.scm]]|
|[[https://git.thanosapollo.org/pcmpl-tailscale][=emacs-pcmpl-tailscale=]]@0.0.1-0.acd6bce|Enhanced shell completions for tailscale|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L230][emacs-xyz.scm]]|
|[[https://codeberg.org/divyaranjan/emacs-reader][=emacs-reader=]]@0.3.2-2.a0e3615|Emacs document reader|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L255][emacs-xyz.scm]]|
|[[https://github.com/ArthurHeymans/emacs-tramp-rpc][=emacs-tramp-rpc=]]@0.13.1|TRAMP backend using RPC|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L288][emacs-xyz.scm]]|
|[[https://wakatime.com/emacs][=emacs-wakatime-mode=]]@1.0.2-60.1c5b225|Automatic time tracking extension for Emacs using WakaTime|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/emacs-xyz.scm#L322][emacs-xyz.scm]]|
|[[https://forgejo.org/][=forgejo=]]@14.0.4|Lightweight software forge|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/web.scm#L152][web.scm]]|
|[[https://grafana.com/][=grafana-bin=]]@12.4.2|Platform for monitoring and observability|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L416][binaries.scm]]|
|[[https://github.com/hylophile/guile-toml][=guile-toml=]]@1.0|TOML module for Guile Scheme|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/guile-xyz.scm#L19][guile-xyz.scm]]|
|[[https://www.gnu.org/software/guix/][=guix-dolly=]]@1.5.0-7.5ceffb6|Functional package manager for installed software packages and versions|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/package-management.scm#L22][package-management.scm]]|
|[[https://github.com/hifi/heisenbridge][=heisenbridge=]]@1.15.4|Bouncer-style Matrix IRC bridge|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/messaging.scm#L33][messaging.scm]]|
|[[https://komga.org/][=komga-bin=]]@1.26.3|Media server for comics/mangas/BDs/magazines/eBooks|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L190][binaries.scm]]|
|[[https://sr.ht/~kennylevinsen/seatd][=libseat-sans-logind=]]@0.9.3|Seat management library|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/admin.scm#L62][admin.scm]]|
|[[https://www.freedesktop.org/wiki/Software/vaapi/][=libva-nox=]]@2.22.0|Video acceleration library|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/video.scm#L14][video.scm]]|
|[[https://github.com/Limine-Bootloader/Limine][=limine=]]@11.3.1|Multiprotocol bootloader and boot manager|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/bootloaders.scm#L40][bootloaders.scm]]|
|[[https://grafana.com/oss/loki/][=loki-bin=]]@3.7.6|Log aggregation system|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L545][binaries.scm]]|
|[[https://github.com/sot-tech/LottieConverter][=lottie-converter=]]@0.2-0.3ad34af|Lottie animation converter|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/animation.scm#L22][animation.scm]]|
|[[https://github.com/mautrix/telegram][=mautrix-telegram=]]@0.2608.0|Matrix-Telegram hybrid puppeting/relaybot bridge|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/messaging.scm#L66][messaging.scm]]|
|[[https://wiki.metacubex.one/][=mihomo=]]@1.19.30|Rule-based proxy|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/networking.scm#L72][networking.scm]]|
|[[https://grafana.com/oss/mimir/][=mimir-bin=]]@3.0.4|Scalable long-term storage for Prometheus|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L505][binaries.scm]]|
|[[https://github.com/Sevichecc/miniflux-injector][=miniflux-injector-icecat=]]@2.3.3|Injects Miniflux search results into search page|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/browser-extensions.scm#L97][browser-extensions.scm]]|
|[[https://codeberg.org/hako/mirror-substitutes][=mirror-substitutes=]]@0.0.2|Mirror Guix substitutes|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/package-management.scm#L51][package-management.scm]]|
|[[https://www.navidrome.org/][=navidrome-bin=]]@0.63.2|Web-based music collection server and streamer|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L238][binaries.scm]]|
|[[https://noctalia.dev/][=noctalia=]]@5.2.0|Wayland shell and bar|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/wm.scm#L56][wm.scm]]|
|[[https://noctalia.dev/][=noctalia-greeter=]]@1.6.0|Login greeter for greetd|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/wm.scm#L128][wm.scm]]|
|[[https://github.com/27justin/ohmyech][=ohmyech-icecat=]]@1.2|Visual indicator for Encrpted Client Hello|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/browser-extensions.scm#L147][browser-extensions.scm]]|
|[[https://github.com/ifreund/dumb_runtime_dir][=pam-dumb-runtime-dir=]]@1.0.4|Create `XDG_RUNTIME_DIR' on login and never remove it|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/admin.scm#L74][admin.scm]]|
|[[https://prismlauncher.org/][=prismlauncher-dolly=]]@11.0.3|Free, open source launcher for Minecraft|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/games.scm#L45][games.scm]]|
|[[https://prometheus.io/][=prometheus-bin=]]@3.14.0|Monitoring system and time series database|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L453][binaries.scm]]|
|[[https://pypi.org/project/coherent.licensed/][=python-coherent-licensed=]]@0.5.2|License management tooling|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L31][python-xyz.scm]]|
|[[https://github.com/cher-nov/cryptg][=python-cryptg=]]@0.5.2|Cryptographic utilities for Telegram|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L53][python-xyz.scm]]|
|[[https://github.com/jaraco/irc][=python-irc=]]@20.3.1|Python Internet Relay Chat protocol library|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L109][python-xyz.scm]]|
|[[https://github.com/jaraco/jaraco.logging][=python-jaraco-logging=]]@3.4.0|Python logging facility|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L144][python-xyz.scm]]|
|[[https://github.com/jaraco/jaraco.stream][=python-jaraco-stream=]]@3.0.4|Routines for dealing with data streams|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L170][python-xyz.scm]]|
|[[https://github.com/mautrix/python][=python-mautrix=]]@0.20.8|Python 3 asyncio Matrix framework|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L195][python-xyz.scm]]|
|[[https://github.com/tulir/Telethon][=python-tulir-telethon=]]@1.99.0a6|Python 3 MTProto API Telegram client library|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/python-xyz.scm#L228][python-xyz.scm]]|
|[[https://sr.ht/~kennylevinsen/seatd][=seatd-sans-logind=]]@0.9.3|Seat management daemon|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/admin.scm#L111][admin.scm]]|
|[[https://www.ihcblog.com/a-better-tls-obfs-proxy/][=shadow-tls-bin=]]@0.2.25|Proxy to expose real tls handshake to the firewall|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L288][binaries.scm]]|
|[[https://sing-box.sagernet.org/][=sing-box=]]@1.14.0|Universal proxy platform|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/networking.scm#L120][networking.scm]]|
|[[https://github.com/zenhack/socks2http][=socks2http=]]@0.0.0-20160712034938-bafa2cde8eb4|SOCKS5 to HTTP proxy|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/networking.scm#L192][networking.scm]]|
|[[https://systemd.io/][=systemd-stub=]]@261.2|Unified kernel image UEFI stub|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/bootloaders.scm#L104][bootloaders.scm]]|
|[[https://tailscale.com/][=tailscale=]]@1.102.3|Mesh VPN service utilizing the WireGuard protocol and 2FA|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/networking.scm#L219][networking.scm]]|
|[[https://matrix-construct.github.io/tuwunel/][=tuwunel-bin=]]@1.8.2|Matrix homeserver|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L131][binaries.scm]]|
|[[https://systemd.io][=ukify=]]@261.2|Unified kernel image UEFI tool|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/bootloaders.scm#L147][bootloaders.scm]]|
|[[https://wakapi.dev/][=wakapi-bin=]]@2.17.6|WakaTime-compatible backend|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L318][binaries.scm]]|
|[[https://wakatime.com/plugins][=wakatime-cli-bin=]]@2.24.4|Command line interface to WakaTime|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/packages/binaries.scm#L366][binaries.scm]]|
*** Services
| SERVICE | DESCRIPTION | LOCATION |
|-+-+-|
|=alloy=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/monitoring.scm#L82][monitoring.scm]]|
|=btrbk=|Configure and run btrbk hourly.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/file-systems.scm#L53][file-systems.scm]]|
|=caddy=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L160][web.scm]]|
|=clash=|Run Clash.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L121][child-error.scm]]|
|=cloudflare-tunnel=|Run cloudflared, the Cloudflare Tunnel daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L219][child-error.scm]]|
|=cloudflare-warp=|Run warp-svc, the Cloudflare Warp daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L255][child-error.scm]]|
|=cuirass=|Run the Cuirass continuous integration service.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/cuirass.scm#L68][cuirass.scm]]|
|=cuirass-worker-container=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/cuirass.scm#L208][cuirass.scm]]|
|=docker-mailserver=|Run Docker Mailserver.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/mail.scm#L77][mail.scm]]|
|=dumb-runtime-dir=|Create `XDG_RUNTIME_DIR' on login and never remove it.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/file-systems.scm#L94][file-systems.scm]]|
|=forgejo=|Run Forgejo.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L275][web.scm]]|
|=gamemode=|Set up Guix System environment for gamemode.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/games.scm#L51][games.scm]]|
|=grafana=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/monitoring.scm#L180][monitoring.scm]]|
|=heisenbridge=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/messaging.scm#L95][messaging.scm]]|
|=iocaine=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L381][web.scm]]|
|=jellyfin=|Run the Jellyfin media system.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L517][web.scm]]|
|=jellyfin-oci=|Run Jellyfin, a media system.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L607][web.scm]]|
|=komga=|Run Komga.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L679][web.scm]]|
|=loki=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/monitoring.scm#L269][monitoring.scm]]|
|=mautrix-telegram=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/messaging.scm#L181][messaging.scm]]|
|=mimir=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/monitoring.scm#L356][monitoring.scm]]|
|=misskey=|Run Misskey, an interplanetary microblogging platform.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L771][web.scm]]|
|=navidrome=|Run Navidrome.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L861][web.scm]]|
|=network-online=|Wait for the network to come up.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/networking.scm#L72][networking.scm]]|
|=nix-search-paths=|Set up search paths for `with-nix-profile'.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/nix.scm#L59][nix.scm]]|
|=noctalia-greeter=|Set up environment for `noctalia-greeter-session'.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/base.scm#L76][base.scm]]|
|=prometheus=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/monitoring.scm#L447][monitoring.scm]]|
|=qbittorrent=|Run qBittorrent daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/bittorrent.scm#L120][bittorrent.scm]]|
|=shadow-tls=|Run shadow-tls.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L451][child-error.scm]]|
|=sing-box=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/networking.scm#L176][networking.scm]]|
|=smartdns=|Run Smartdns daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/dns.scm#L44][dns.scm]]|
|=tailscaled=|Run tailscaled.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/networking.scm#L249][networking.scm]]|
|=tuwunel=|Run Tuwunel.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L948][web.scm]]|
|=vaultwarden=|Run Vaultwarden, a Bitwarden compatible server.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/web.scm#L1087][web.scm]]|
|=zfs=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/file-systems.scm#L187][file-systems.scm]]|
|=home-atuin=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/shellutils.scm#L63][shellutils.scm]]|
|=home-bb-auth=|Run `bb-auth' daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L409][desktop.scm]]|
|=home-blueman-applet=|Run blueman applet, a tray applet for managing bluetooth.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L122][desktop.scm]]|
|=home-direnv=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/shellutils.scm#L100][shellutils.scm]]|
|=home-emacs=|Install Emacs into home profile and run its daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/emacs.scm#L142][emacs.scm]]|
|=home-fcitx5=|Run fcitx5, an input method framework.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L246][desktop.scm]]|
|=home-goimapnotify=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/mail.scm#L129][mail.scm]]|
|=home-graphical-session=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/desktop.scm#L165][desktop.scm]]|
|=home-gtk2=|Set up GTK2 settings in `~/.config/gtk-2.0/gtkrc'|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/gtk.scm#L53][gtk.scm]]|
|=home-gtk3=|Set up GTK3 settings in `~/.config/gtk-3.0/settings.ini'|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/gtk.scm#L74][gtk.scm]]|
|=home-gtk4=|Set up GTK4 settings in `~/.config/gtk-4.0/settings.ini'|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/gtk.scm#L84][gtk.scm]]|
|=home-keyboard=|Set layouts by configuring XKB_* environment variables. Service accepts an instance of `keyboard-layout' from `(gnu system keyboard)'.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/keyboard.scm#L21][keyboard.scm]]|
|=home-mako=|Run mako, a notification daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L302][desktop.scm]]|
|=home-network-manager-applet=|Run nm-applet, a tray applet for managing networks.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L341][desktop.scm]]|
|=home-network-online=|Wait for the network to come up.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/networking.scm#L81][networking.scm]]|
|=home-niri=|Set up configuration file for niri, a scrollable-tiling Wayland compositor.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L369][desktop.scm]]|
|=home-nix-search-paths=|Set up search paths for `with-nix-profile'.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/nix.scm#L74][nix.scm]]|
|=home-noctalia=|Run Noctalia, a lightweight Wayland shell and bar.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/desktop.scm#L219][desktop.scm]]|
|=home-polkit-gnome=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L436][desktop.scm]]|
|=home-qbittorrent=|Run qBittorrent daemon.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/bittorrent.scm#L158][bittorrent.scm]]|
|=home-rofi=|Set up configuration file for rofi, an application launcher.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L462][desktop.scm]]|
|=home-shadow-tls=|Run shadow-tls.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L460][child-error.scm]]|
|=home-socks2http=|Run socks2http.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L495][child-error.scm]]|
|=home-swaybg=|Run swaybg, a screen wallpaper utility for Wayland compositors.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L502][desktop.scm]]|
|=home-theme=|Set up desktop themes.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L601][desktop.scm]]|
|=home-wakapi=|Run Wakapi, a self-hosted WakaTime-compatible backend.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/child-error.scm#L298][child-error.scm]]|
|=home-waybar=|Run waybar, a status bar for Wayland compositors.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/desktop.scm#L666][desktop.scm]]|
|=home-writable-files-manager=|Provide an `update-writable-files' script, which copies files to configuration files, makes them writable and creates symlinks to directories on every activation. If an existing file would be overwritten, backs up that file first.|[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/home/services/writable-files-manager.scm#L264][writable-files-manager.scm]]|
|=home-zoxide=| |[[https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/rosenthal/services/shellutils.scm#L137][shellutils.scm]]|
+25
View File
@@ -0,0 +1,25 @@
version = 1
[[annotations]]
path = [
".guix-authorizations",
".guix-channel",
"pre-inst-env",
]
SPDX-FileCopyrightText = ""
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["modules/**"]
SPDX-FileCopyrightText = ""
SPDX-License-Identifier = "GPL-3.0-or-later"
[[annotations]]
path = ["modules/rosenthal/examples/**"]
SPDX-FileCopyrightText = ""
SPDX-License-Identifier = "CC0-1.0"
[[annotations]]
path = ["modules/rosenthal/examples/wallpaper.jpg"]
SPDX-FileCopyrightText = "Copyright © 2023 Hilton Chain <hako@ultrarare.space>"
SPDX-License-Identifier = "CC-BY-SA-4.0"
+496
View File
@@ -0,0 +1,496 @@
#!/bin/sh
# -*- mode: scheme; -*-
exec guix repl -- "$0" "$@"
!#
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2020, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2022, 2026 Maxim Cournoyer <maxim@guixotic.coop>
;;; Commentary:
;; This script stages and commits changes to package definitions.
;;; Code:
(use-modules ((sxml xpath) #:prefix xpath:)
(srfi srfi-1)
(srfi srfi-2)
(srfi srfi-9)
(srfi srfi-11)
(srfi srfi-26)
(ice-9 format)
(ice-9 popen)
(ice-9 match)
(ice-9 rdelim)
(ice-9 regex)
(ice-9 textual-ports)
(guix gexp)
(guix modules)
(guix packages))
(define* (break-string str #:optional (max-line-length 70))
"Break the string STR into lines that are no longer than MAX-LINE-LENGTH.
Return a single string."
(define (restore-line words)
(string-join (reverse words) " "))
(if (<= (string-length str) max-line-length)
str
(let ((words+lengths (map (lambda (word)
(cons word (string-length word)))
(string-tokenize str))))
(match (fold (match-lambda*
(((word . length)
(count current lines))
(let ((new-count (+ count length 1)))
(if (< new-count max-line-length)
(list new-count
(cons word current)
lines)
(list length
(list word)
(cons (restore-line current) lines))))))
'(0 () ())
words+lengths)
((_ last-words lines)
(string-join (reverse (cons (restore-line last-words) lines))
"\n"))))))
(define* (break-string-with-newlines str #:optional (max-line-length 70))
"Break the lines of string STR into lines that are no longer than
MAX-LINE-LENGTH. Return a single string."
(string-join (map (cut break-string <> max-line-length)
(string-split str #\newline))
"\n"))
(define (read-excursion port)
"Read an expression from PORT and reset the port position before returning
the expression."
(let ((start (ftell port))
(result (read port)))
(seek port start SEEK_SET)
result))
(define (lines+offsets-with-opening-parens port)
"Record all line numbers (and their offsets) where an opening parenthesis is
found in column 0. The resulting list is in reverse order."
(let loop ((acc '())
(number 0))
(let ((line (read-line port)))
(cond
((eof-object? line) acc)
((string-prefix? "(" line)
(loop (cons (cons number ;line number
(- (ftell port)
(string-length line) 1)) ;offset
acc)
(1+ number)))
(else (loop acc (1+ number)))))))
(define (surrounding-sexp port target-line-no)
"Return the top-level S-expression surrounding the change at line number
TARGET-LINE-NO in PORT."
(let* ((line-numbers+offsets
(lines+offsets-with-opening-parens port))
(closest-offset
(or (and=> (list-index (match-lambda
((line-number . offset)
(< line-number target-line-no)))
line-numbers+offsets)
(lambda (index)
(match (list-ref line-numbers+offsets index)
((line-number . offset) offset))))
(error "Could not find surrounding S-expression for line"
target-line-no))))
(seek port closest-offset SEEK_SET)
(read port)))
;;; Whether the hunk contains a newly added package (definition), a removed
;;; package (removal) or something else (#false).
(define hunk-types '(addition removal #false))
(define-record-type <hunk>
(make-hunk file-name
old-line-number
new-line-number
diff-lines
type)
hunk?
(file-name hunk-file-name)
;; Line number before the change
(old-line-number hunk-old-line-number)
;; Line number after the change
(new-line-number hunk-new-line-number)
;; The full diff to be used with "git apply --cached"
(diff-lines hunk-diff-lines)
;; Does this hunk add or remove a package?
(type hunk-type)) ;one of 'hunk-types'
(define* (hunk->patch hunk #:optional (port (current-output-port)))
(let ((file-name (hunk-file-name hunk)))
(format port
"diff --git a/~a b/~a~%--- a/~a~%+++ b/~a~%~a"
file-name file-name file-name file-name
(string-join (hunk-diff-lines hunk) ""))))
(define (diff-info)
"Read the diff and return a list of <hunk> values."
(let ((port (open-pipe* OPEN_READ
"git" "diff-files"
"--no-prefix"
;; Only include one context line to avoid lumping in
;; new definitions with changes to existing
;; definitions.
"--unified=1"
"--" "modules/rosenthal")))
(define (extract-line-number line-tag)
(abs (string->number
(car (string-split line-tag #\,)))))
(define (read-hunk)
(let loop ((lines '())
(type #false))
(let ((line (read-line port 'concat)))
(cond
((eof-object? line)
(values (reverse lines) type))
((or (string-prefix? "@@ " line)
(string-prefix? "diff --git" line))
(unget-string port line)
(values (reverse lines) type))
(else
(loop (cons line lines)
(or type
(cond
((string-prefix? "+(define" line)
'addition)
((string-prefix? "-(define" line)
'removal)
(else #false)))))))))
(define info
(let loop ((acc '())
(file-name #f))
(let ((line (read-line port)))
(cond
((eof-object? line) acc)
((string-prefix? "--- " line)
(match (string-split line #\space)
((_ file-name)
(loop acc file-name))))
((string-prefix? "@@ " line)
(match (string-split line #\space)
((_ old-start new-start . _)
(let-values
(((diff-lines type) (read-hunk)))
(loop (cons (make-hunk file-name
(extract-line-number old-start)
(extract-line-number new-start)
(cons (string-append line "\n")
diff-lines)
type) acc)
file-name)))))
(else (loop acc file-name))))))
(close-pipe port)
info))
(define (lines-to-first-change hunk)
"Return the number of diff lines until the first change."
(1- (count (lambda (line)
((negate char-set-contains?)
(char-set #\+ #\-)
(string-ref line 0)))
(hunk-diff-lines hunk))))
(define %original-file-cache
(make-hash-table))
(define (read-original-file file-name)
"Return the contents of FILE-NAME prior to any changes."
(let* ((port (open-pipe* OPEN_READ
"git" "cat-file" "-p" (string-append
"HEAD:" file-name)))
(contents (get-string-all port)))
(close-pipe port)
contents))
(define (read-original-file* file-name)
"Caching variant of READ-ORIGINAL-FILE."
(or (hashv-ref %original-file-cache file-name)
(let ((value (read-original-file file-name)))
(hashv-set! %original-file-cache file-name value)
value)))
(define (old-sexp hunk)
"Using the diff information in HUNK return the unmodified S-expression
corresponding to the top-level definition containing the staged changes."
;; TODO: We can't seek with a pipe port...
(call-with-input-string (read-original-file* (hunk-file-name hunk))
(lambda (port)
(surrounding-sexp port
(+ (lines-to-first-change hunk)
(hunk-old-line-number hunk))))))
(define (new-sexp hunk)
"Using the diff information in HUNK return the modified S-expression
corresponding to the top-level definition containing the staged changes."
(call-with-input-file (hunk-file-name hunk)
(lambda (port)
(surrounding-sexp port
(+ (lines-to-first-change hunk)
(hunk-new-line-number hunk))))))
(define* (change-commit-message file-name old new #:optional (port (current-output-port)))
"Print ChangeLog commit message for changes between OLD and NEW."
(define (get-values expr field)
(match ((xpath:node-or
(xpath:sxpath `(*any* *any* package ,field quasiquote *))
;; For let binding
(xpath:sxpath `(*any* *any* (*any*) package ,field quasiquote *)))
(cons '*TOP* expr))
(()
;; New-style plain lists
(match ((xpath:node-or
(xpath:sxpath `(*any* *any* package ,field list *))
;; For let binding
(xpath:sxpath `(*any* *any* (*any*) package ,field list *)))
(cons '*TOP* expr))
((inner) inner)
(_ '())))
;; Old-style labelled inputs
((first . rest)
(map cadadr first))))
(define (listify items)
(match items
((one) one)
((one two)
(string-append one " and " two))
((one two . more)
(string-append (string-join (drop-right items 1) ", ")
", and " (first (take-right items 1))))))
(define variable-name
(second old))
(define version
(match ((xpath:node-or
(xpath:sxpath '(*any* *any* package version *any*))
;; For let binding
(xpath:sxpath '(*any* *any* (*any*) package version *any*)))
(cons '*TOP* new))
(() #f)
((version . rest) version)))
(if version
(format port
"rosenthal: ~a: Update to ~a.~%~%* ~a (~a): Update to ~a.~%"
variable-name version file-name variable-name version)
(format port
"rosenthal: ~a: Update.~%~%* ~a (~a): Update.~%"
variable-name file-name variable-name))
(for-each (lambda (field)
(let ((old-values (get-values old field))
(new-values (get-values new field)))
(or (equal? old-values new-values)
(let ((removed (lset-difference equal? old-values new-values))
(added (lset-difference equal? new-values old-values)))
(unless (and (null? added) (null? removed))
(format port
"[~a]: ~a~%" field
(break-string
;; A dependency can be a list of (pkg output).
(match (list (map object->string removed)
(map object->string added))
((() added)
(format #f "Add ~a."
(listify added)))
((removed ())
(format #f "Remove ~a."
(listify removed)))
((removed added)
(format #f "Remove ~a; add ~a."
(listify removed)
(listify added)))))))))))
'(inputs propagated-inputs native-inputs)))
(define* (add-commit-message file-name variable-name
#:optional (port (current-output-port)))
"Print ChangeLog commit message for a change to FILE-NAME adding a
definition."
(format port "rosenthal: Add ~a.~%~%* ~a (~a): New variable.~%"
variable-name file-name variable-name))
(define* (remove-commit-message file-name variable-name
#:optional (port (current-output-port)))
"Print ChangeLog commit message for a change to FILE-NAME removing a
definition."
(format port "rosenthal: Remove ~a.~%~%* ~a (~a): Delete variable.~%"
variable-name file-name variable-name))
(define* (custom-commit-message file-name variable-name message changelog
#:optional (port (current-output-port)))
"Print custom commit message for a change to VARIABLE-NAME in FILE-NAME, using
MESSAGE as the commit message and CHANGELOG as the body of the ChangeLog
entry. If CHANGELOG is #f, the commit message is reused. If CHANGELOG already
contains ': ', no colon is inserted between the location and body of the
ChangeLog entry."
(define (trim msg)
(string-trim-right (string-trim-both msg) (char-set #\.)))
(define (changelog-has-location? changelog)
(->bool (string-match "^[[:graph:]]+:[[:blank:]]" changelog)))
(let* ((message (trim message))
(changelog (if changelog (trim changelog) message))
(message/f (format #f "rosenthal: ~a: ~a." variable-name message))
(changelog/f (if (changelog-has-location? changelog)
(format #f "* ~a (~a)~a."
file-name variable-name changelog)
(format #f "* ~a (~a): ~a."
file-name variable-name changelog))))
(format port
"~a~%~%~a~%"
(break-string-with-newlines message/f 72)
(break-string-with-newlines changelog/f 72))))
(define (add-copyright-line line)
"Add the copyright line on LINE to the previous commit."
(let ((author (match:substring
(string-match "^\\+;;; Copyright ©[^[:alpha:]]+(.*)$" line)
1)))
(format
(current-output-port) "Amend and add copyright line for ~a~%" author)
(system* "git" "commit" "--amend" "--no-edit")))
(define (group-hunks-by-sexp hunks)
"Return a list of pairs associating all hunks with the S-expression they are
modifying."
(fold (lambda (sexp hunk acc)
(match acc
(((previous-sexp . hunks) . rest)
(if (equal? sexp previous-sexp)
(cons (cons previous-sexp
(cons hunk hunks))
rest)
(cons (cons sexp (list hunk))
acc)))
(_
(cons (cons sexp (list hunk))
acc))))
'()
(map new-sexp hunks)
hunks))
(define (new+old+hunks hunks)
(map (match-lambda
((new . hunks)
(cons* new (old-sexp (first hunks)) hunks)))
(group-hunks-by-sexp hunks)))
(define (new+old+hunks->package new+old+hunks)
"Return the package object whose source is referenced in a new+old+hunks
tuple, which describes modifications to the package in a tuple containing the
new sexp, the old sexp as well as a tail of <hunk> objects."
(match new+old+hunks
((new-sexp old-sexp . hunks)
(let* ((hunk-file-name (hunk-file-name (first hunks)))
(variable-name (second new-sexp))
(module-name
(match (file-name->module-name hunk-file-name)
(('modules 'rosenthal symbols ...)
(cons 'rosenthal symbols))
(x x))))
(module-ref (resolve-module module-name) variable-name)))))
(define (sort-new+old+hunks-by-closure new+old+hunks)
"Sort new+old+hunks by their package closure size."
(sort new+old+hunks
(match-lambda*
(((= new+old+hunks->package x-package)
(= new+old+hunks->package y-package))
(< (length (package-closure (list x-package)))
(length (package-closure (list y-package))))))))
(define %delay 1000)
(define (main . args)
(define* (change-commit-message* file-name old new #:rest rest)
(let ((changelog #f))
(match args
((or (message changelog) (message))
(apply custom-commit-message
file-name (second old) message changelog rest))
(_
(apply change-commit-message file-name old new rest)))))
(read-disable 'positions)
(match (diff-info)
(()
(display "Nothing to be done.\n" (current-error-port)))
(hunks
(let-values (((definitions changes) (partition hunk-type hunks)))
;; Additions/removals.
(for-each
(lambda (hunk)
(and-let* ((define-line (find (cut string-match "(\\+|-)\\(define" <>)
(hunk-diff-lines hunk)))
(variable-name (and=> (string-tokenize define-line)
second))
(commit-message-proc (match (hunk-type hunk)
('addition add-commit-message)
('removal remove-commit-message))))
(commit-message-proc (hunk-file-name hunk) variable-name)
(let ((port (open-pipe* OPEN_WRITE
"git" "apply"
"--cached"
"--unidiff-zero")))
(hunk->patch hunk port)
(unless (eqv? 0 (status:exit-val (close-pipe port)))
(error "Cannot apply")))
(let ((port (open-pipe* OPEN_WRITE "git" "commit" "-F" "-")))
(commit-message-proc (hunk-file-name hunk) variable-name port)
(usleep %delay)
(unless (eqv? 0 (status:exit-val (close-pipe port)))
(error "Cannot commit"))))
(usleep %delay))
definitions)
;; Changes.
(for-each
(match-lambda
((new old . hunks)
(for-each (lambda (hunk)
(let ((port (open-pipe* OPEN_WRITE
"git" "apply"
"--cached"
"--unidiff-zero")))
(hunk->patch hunk port)
(unless (eqv? 0 (status:exit-val (close-pipe port)))
(error "Cannot apply")))
(usleep %delay))
hunks)
(define copyright-line
(any (lambda (line) (and=> (string-prefix? "+;;; Copyright ©" line)
(const line)))
(hunk-diff-lines (first hunks))))
(cond
(copyright-line
(add-copyright-line copyright-line))
(else
(let ((port (open-pipe* OPEN_WRITE "git" "commit" "-F" "-")))
(change-commit-message* (hunk-file-name (first hunks))
old new)
(change-commit-message* (hunk-file-name (first hunks))
old new
port)
(usleep %delay)
(unless (eqv? 0 (status:exit-val (close-pipe port)))
(error "Cannot commit")))))))
(sort-new+old+hunks-by-closure
(new+old+hunks (match definitions
('() changes) ;reuse
(_
;; XXX: we recompute the hunks here because previous
;; insertions lead to offsets.
(let-values (((definitions changes)
(partition hunk-type (diff-info))))
changes))))))))))
(apply main (cdr (command-line)))
+9
View File
@@ -0,0 +1,9 @@
;; SPDX-License-Identifier: CC0-1.0
;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(use-modules (guix packages)
(guix profiles)
(rosenthal utils packages))
(manifest (map package->manifest-entry
(filter supported-package? (all-rosenthal-packages))))
+9
View File
@@ -0,0 +1,9 @@
;; SPDX-License-Identifier: CC0-1.0
;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(use-modules (guix profiles)
(rosenthal utils packages))
(manifest (map package->manifest-entry
(filter (negate rosenthal-disable-updater?)
(all-rosenthal-packages))))
+12
View File
@@ -0,0 +1,12 @@
;; SPDX-License-Identifier: CC0-1.0
;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(use-modules (guix packages)
(guix profiles)
(rosenthal utils packages))
(manifest (map package->manifest-entry
(filter (lambda (p)
(and (rosenthal-disable-updater? p)
(not (hidden-package? p))))
(all-rosenthal-packages))))
+51
View File
@@ -0,0 +1,51 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2024-2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(use-modules (guix memoization)
(guix packages)
(guix profiles)
(guix store)
(guix transformations)
(rosenthal utils packages)
((guix import github) #:select (%github-api))
((guix scripts build) #:select (dependents)))
;; Bypass the GitHub updater: we'd need an API token or we would hit the rate
;; limit.
(%github-api "http://example.org")
(define latest-version
(mlambdaq (package)
(package-with-upstream-version package
;; Preserve patches and snippets to get
;; exactly the same as what we'd have with
;; 'guix refresh -u PACKAGE'.
#:preserve-patches? #t
;; XXX: Disable source code authentication:
;; this requires a local keyring, populated
;; from key servers, but key servers may be
;; unreliable or may lack the upstream
;; keys. Leave it up to packagers to
;; actually authenticate code and make sure
;; it matches what this manifest computed.
#:authenticate? #f)))
(define updatable-packages
(filter (negate rosenthal-disable-updater?)
(all-rosenthal-packages)))
(manifest
(with-store store
(let ((update-all (package-input-rewriting
(map (lambda (package)
`(,package . ,(latest-version package)))
updatable-packages)
#:recursive? #t)))
(map (lambda (package)
(manifest-entry
(inherit (package->manifest-entry
(update-all package)))
(name (string-append (package-name package) "-full-upgrade"))))
(dependents store updatable-packages 2)))))
+99
View File
@@ -0,0 +1,99 @@
#!/usr/bin/env -S guix repl --
!#
;;; SPDX-License-Identifier: CC0-1.0
;;; Copyright © 2025-2026 Hilton Chain <hako@ultrarare.space>
(use-modules (ice-9 match)
(ice-9 string-fun)
(srfi srfi-1)
(srfi srfi-71)
(guix diagnostics)
(guix discovery)
(guix packages)
(guix profiles)
(guix ui)
(rosenthal utils packages)
(rosenthal utils services)
(gnu services))
(define (location->org-url loc)
(match loc
(#f "<unknown location>")
(($ <location> file line column)
(format #f "[[~a][~a]]"
(format #f "https://codeberg.org/hako/Rosenthal/src/branch/trunk/modules/~a#L~a"
file
line)
(basename file)))))
(define (replace-newlines str)
(define str*
(string-replace-substring
(string-trim-right str #\newline)
"\n"
" "))
(if (string-null? str*)
" "
str*))
(format #t "\
*** Packages
| PACKAGE | SYNOPSIS | LOCATION |
|-+-+-|
")
(define (sort-packages packages)
(stable-sort
packages
(lambda (a b)
(string< (package-name a)
(package-name b)))))
(for-each
(lambda (p)
(format #t "|[[~a][=~a=]]@~a|~a|~a|~%"
(package-home-page p)
(package-name p)
(package-version p)
(replace-newlines (package-synopsis-string p))
(and=> (package-location p) location->org-url)))
(sort-packages
(filter (negate hidden-package?)
(all-rosenthal-packages))))
(format #t "\
*** Services
| SERVICE | DESCRIPTION | LOCATION |
|-+-+-|
")
;; Copied from (guix scripts system search).
(define service-type-name*
(compose symbol->string service-type-name))
(define (service-type-description-string type)
"Return the rendered and localised description of TYPE, a service type."
(and=> (service-type-description type)
texi->plain-text))
(define (sort-services services)
(stable-sort
services
(lambda (a b)
(string< (service-type-name* a)
(service-type-name* b)))))
(for-each
(lambda (s)
(format #t "|=~a=|~a|~a|~%"
(service-type-name* s)
(replace-newlines (service-type-description-string s))
(and=> (service-type-location s) location->org-url)))
(let ((home-services
services
(partition (lambda (s)
(string-prefix? "home-" (service-type-name* s)))
(all-rosenthal-services))))
(append
(sort-services services)
(sort-services home-services))))
-29
View File
@@ -1,29 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEX0JnRRYJKwYBBAHaRw8BAQdAAVK4rxRUJLcuJmVczYnjdU5wMzhTM2SDY42y
yRpMXtGIeAQgFggAIBYhBBPnbNbmScKMM4VN9V5apmVhSRf3BQJjvuJxAh0BAAoJ
EF5apmVhSRf33kYBAKvz1BKp+SWiKnAF4xCCdktj+yK8dWWjgd8BzXMZukgKAQDY
f9RErqLzQxzsNIkiAN16oAS0hRvpXa5fOUJAADxgBLQjSGlsdG9uIENoYWluIDxo
YWtvQHVsdHJhcmFyZS5zcGFjZT6IkAQTFgoAOAIbAwULCQgHAgYVCgkICwIEFgID
AQIeAQIXgBYhBBPnbNbmScKMM4VN9V5apmVhSRf3BQJjvqgrAAoJEF5apmVhSRf3
9FIA/1G9sWit+1LFvqoc5ZS3UJrS8SjqUKktQPtuuUvD76RWAQC8gP2/UlLa1gk5
PLyJewPNIytwfS5rYqw9mO3LKF5zBLg4BF9CZ0USCisGAQQBl1UBBQEBB0DaXDt5
85Mvfi/YJZhYraDRmJNCV4MYht1tzIucwzAaBAMBCAeIfgQYFgoAJgIbDBYhBBPn
bNbmScKMM4VN9V5apmVhSRf3BQJjvYE2BQkGXE1xAAoJEF5apmVhSRf3vmIBAN/R
VVu/GXAcoMbycaHGNrfv953wr3+gkuA1EHpOYSzPAP9e7tAoZS/9koBP77qHTfFv
qlB8VrlT8kC1xUUTSqtZDLkCDQRfSK4lARAAsn6zp01vZhXtk9OAG27HXXcxVEyC
d8Rc3aK7npUaojrQmmwgxnpc91Mu21QweYuOL06mJmYVnH0waTD+jjJekVBM2J4Z
EINVzB9SqrBRBbzQfGnIZxNSnJB0mJh0f38vDzetdB/SVAA4XOH4xnhsYoe68diE
FI+gr7LTxT4vH41rO058jm+YrY1CNWYGUtMCymJOLXzOHErPOl5AbXgyci3bcU4U
47Wbe2hW6ZXUXl6rbOxqTtcrgSQyqvmEaoE/5e9E1KgTm2BtrqHnk08PVVQwtG9n
TkUN67abrVDXzob44bJzQahwhRSN0+NbzQIxrxtgzVm7R2kGwVIz3LG6R2PpuPU5
DVisTVmCH2xSz2AB9CpC6Ka3m/rI9eSnB8jLYMIuZlx4HIlmR6LWwlafQ6R8FT/4
45lW7su13v8VOmQsxo0Rbt3qcpfq/+Xqv7klgJePy7+Bl+3mQHu2dDFBv6B+RC8K
IrThJKwYFI4ueqpJyTQxG5D2hBDtCY4Ir4lZt/skR52YkowTNVfraIEzFZtXZKKa
wn73vC9VXezWw8Y7KjXJoDsSDqJeiLar+yNHialGzUXCRZPpdjmd8gGsVXlR19cO
LpXgHT1nvxEJ46v7HPgth//qfslzymnLIKB0Fv2oQ9FF0fHRkI4n4WWDuGTYH2ow
fU6kV03lOICQH3MAEQEAAYh+BBgWCgAmAhsgFiEEE+ds1uZJwowzhU31XlqmZWFJ
F/cFAmO9gTYFCQZWBpEACgkQXlqmZWFJF/c3aQEA8KmcNz8Qoq7Se3sWBIiC5pkI
SfQok5Xx0Bj0G5oxHO0BAN8NBPgBWaiFuMPzlfGYZRvgNT11yJWImiEd8US7kDAM
=C6KE
-----END PGP PUBLIC KEY BLOCK-----
-26
View File
@@ -1,26 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEY76vuxYJKwYBBAHaRw8BAQdAAPIY7wvHRRZ+OoHYHErO6mago//xW3q2K2dk
aCBt/Y+0I0hpbHRvbiBDaGFpbiA8aGFrb0B1bHRyYXJhcmUuc3BhY2U+iJAEExYI
ADgWIQQiD5jZXoYgTAA22ntt7ENgQItBhQUCY76vuwIbAQULCQgHAgYVCgkICwIE
FgIDAQIeAQIXgAAKCRBt7ENgQItBhTwwAP9oCOAPHWXX1nncKKanSFXmg0Iu4DRk
PLp6HTn2nCjVUgEAgq3clIMpcxufXJUL1ivA54jV/kRaPMYZ2059tC2GRwOIdQQQ
FggAHRYhBBPnbNbmScKMM4VN9V5apmVhSRf3BQJjvtMBAAoJEF5apmVhSRf3NnUA
/Al++sCYE50J88GEIpUycQ+A+P0371tdPaNmgzKge6yLAP9DMFiLjZb1q5mp1Kxr
nEW7SziKiZSXbm+dxY3EPyg3C7gzBGO+0cwWCSsGAQQB2kcPAQEHQDocmVXQu4sG
1nY5GrIQuVOlTLTpUxvk2r2vQNCr+gOKiPUEGBYIACYCGwIWIQQiD5jZXoYgTAA2
2ntt7ENgQItBhQUCY77SGgUJAeEzzgCBdiAEGRYIAB0WIQT0wtHfP97qY9HTB3as
xm0JylKCkgUCY77RzAAKCRCsxm0JylKCkjfsAQC+jPs2l5O1jxHBIJSF+Lba9yO8
2snyTGm7puf7TkunIQD+Kph74xJ9/a89sKEQb1fU9C/LfI+Q7y8k/paa5p5XCA0J
EG3sQ2BAi0GF8qwBAONLPS+PqncyxOfKLcK28pG9Xrmt12Tt8sEgyhJwj56SAP4v
H5SBgrnwFdWeSbiA9WzaUHIUwTGA1JWR7f2zV0RwALg4BGO+0eUSCisGAQQBl1UB
BQEBB0CR+twFCJIziLy4YIqdBNWw+D4PmntXZdg6CyseZNEvDQMBCAeIfgQYFggA
JgIbDBYhBCIPmNlehiBMADbae23sQ2BAi0GFBQJjvtIkBQkB4TO1AAoJEG3sQ2BA
i0GF5bgA/iExz0yLH+PflRVVusfHWv4ThDFHnHuxrwC4YytaFhr1AQC50TIvLxHD
rlBvCb53tk6aCBY2xcuEQ5DNbIhmRv9MArgzBGO+0fkWCSsGAQQB2kcPAQEHQFcT
j1N3cL/bh2Uvwh5/YubhZplPFnvGk/iVHQs3FWV2iH4EGBYIACYCGyAWIQQiD5jZ
XoYgTAA22ntt7ENgQItBhQUCY77SJAUJAeEzoQAKCRBt7ENgQItBhQLOAP433Y//
b4tMpPrr3DlD3kxNxpQ7kcpIkKaajI/rby/qjQD+JAGjhGut4/x9MYPXLbNW/wqo
D+UMrp0bQ/Lkc72J3gM=
=AqnV
-----END PGP PUBLIC KEY BLOCK-----
@@ -0,0 +1,41 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2024, 2025 Hilton Chain <hako@ultrarare.space>
(define-module (guix import rosenthal-updaters)
;; Guile builtins
#:use-module (srfi srfi-71)
#:use-module (web client)
;; Utilities
#:use-module (guix packages)
#:use-module (guix records)
#:use-module (guix upstream)
#:export (%cloudflare-warp-updater))
(define* (cloudflare-warp-import pkg #:key version partial-version?)
(let* ((source-uri (assq-ref (package-properties pkg) 'release-monitoring-url))
(response port (http-get source-uri #:streaming? #t))
(content (recutils->alist port))
(_ (close port))
(name (package-upstream-name pkg))
(newest-version
(or version
(assoc-ref content "Version")))
(url
(if version
(string-append "https://pkg.cloudflareclient.com/"
"pool/bookworm/main/c/cloudflare-warp/"
"cloudflare-warp_" version "_amd64.deb")
(string-append "https://pkg.cloudflareclient.com/"
(assoc-ref content "Filename")))))
(upstream-source
(package name)
(version newest-version)
(urls (list url)))))
(define %cloudflare-warp-updater
(upstream-updater
(name 'cloudflare-warp)
(description "Updater for Cloudflare WARP client")
(pred (lambda (package)
(string=? "cloudflare-warp" (package-upstream-name package))))
(import cloudflare-warp-import)))
+36
View File
@@ -0,0 +1,36 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal))
;; Re-export commonly-used modules.
(eval-when (eval load compile)
(begin
(define %public-modules
'((gnu)
(guix utils)
(rosenthal utils file)
(rosenthal utils packages)
(rosenthal utils transformations)
(gnu system privilege)
(rosenthal bootloader grub)
(rosenthal bootloader uki)
(rosenthal bootloader limine)
(gnu services desktop)
(gnu services guix)
(gnu services shepherd)
(rosenthal services base)
(rosenthal services desktop)
(gnu home)
(gnu home services)
(gnu home services desktop)
(gnu home services shepherd)))
(for-each (let ((i (module-public-interface (current-module))))
(lambda (m)
(module-use! i (resolve-interface m))))
%public-modules)))
+13
View File
@@ -0,0 +1,13 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal bootloader grub)
;; Utilities
#:use-module (guix deprecation)
;; Guix System - bootloaders
#:use-module (gnu bootloader grub)
#:export (grub-efi-luks2-bootloader
grub-efi-luks2-removable-bootloader))
(define-deprecated/alias grub-efi-luks2-bootloader grub-efi-bootloader)
(define-deprecated/alias grub-efi-luks2-removable-bootloader grub-efi-removable-bootloader)
+128
View File
@@ -0,0 +1,128 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal bootloader limine)
;; Guile builtins
#:use-module (ice-9 format)
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix modules)
#:use-module (guix utils)
;; Guix System - bootloaders
#:use-module (gnu bootloader)
#:use-module (gnu bootloader grub)
#:use-module (rosenthal bootloader uki)
;; Guix packages
#:use-module (rosenthal packages bootloaders)
#:export (limine-efi-removable-bootloader))
(define script-path "/boot/install-limine.scm")
(define* (limine-configuration-file config entries
#:key (old-entries '()) #:allow-other-keys)
(define limine
(file-append
(bootloader-package (bootloader-configuration-bootloader config))
(format #f "/share/limine/BOOT~a.EFI"
(cond
((target-x86-32?) "IA32")
((target-x86-64?) "X64")
((target-aarch64?) "AA64")
((target-riscv64?) "RISCV64")))))
(define menu-entries
(cons (first entries)
old-entries))
(define labels
(map menu-entry-label menu-entries))
(define ukify-args
(map menu-entry->ukify-args menu-entries))
(program-file "install-limine"
(with-imported-modules
(source-module-closure
'((guix build syscalls)
(guix build utils)))
#~(begin
(use-modules (ice-9 match)
(srfi srfi-1)
(guix build syscalls)
(guix build utils))
(let* ((args (command-line))
(directory (second args))
(limine-directory (in-vicinity directory "EFI/BOOT"))
(guix-directory (in-vicinity directory "EFI/Guix")))
(for-each mkdir-p (list limine-directory guix-directory))
;; Install unified kernel images and generate Limine configuration.
(call-with-output-file (in-vicinity limine-directory "limine.conf.tmp")
(lambda (port)
(let ((ukify #$(file-append ukify "/bin/ukify"))
(current-label (first '#$labels))
(current-args (first (list #$@ukify-args)))
(old-labels (cdr '#$labels))
(old-args (cdr (list #$@ukify-args))))
(format port "\
timeout: 5~%")
(with-directory-excursion guix-directory
(for-each delete-file (find-files "." "^OLD-[0-9]+\\.EFI$"))
(apply invoke/quiet ukify "build" "--output" "CURRENT.EFI"
current-args)
(format port "
/~a
protocol: efi
path: boot():/EFI/Guix/CURRENT.EFI~%"
current-label)
(unless (null? old-labels)
(format port "
/GNU system, old configurations...~%"))
(let loop ((count 1)
(labels old-labels)
(args old-args))
(let ((image-name (format #f "OLD-~a.EFI" count)))
(unless (null? labels)
(catch #t
(lambda ()
(apply invoke/quiet
ukify "build" "--output" image-name
(first args))
(format port "~
//~a
protocol: efi
path: boot():/EFI/Guix/OLD-~a.EFI~%"
(first labels)
count))
(lambda _
(delete-file image-name)
;; Exit loop.
(loop 0 '() '())))
(loop (1+ count)
(cdr labels)
(cdr args)))))))
(rename-file (in-vicinity limine-directory "limine.conf.tmp")
(in-vicinity limine-directory "limine.conf"))
;; Finally, install Limine.
(install-file #$limine limine-directory))))))))
(define install-limine-efi
#~(lambda (bootloader target mount-point)
(invoke (string-append mount-point #$script-path)
(string-append mount-point target))))
;; Limine + UKI
;; NOTE: ‘configuration-file’ here is actually an activation script to be invoked by
;; ‘installer’.
;; XXX: Not expected by ‘reinstall-bootloader’ so rolling-back and switching
;; generation won't work.
(define limine-efi-removable-bootloader
(bootloader
;; NOTE: Don't change the name. Generation switching code only knows
;; bootloaders defined in (gnu bootloader grub).
(name 'grub-efi-removable-bootloader)
(package limine)
(installer install-limine-efi)
(disk-image-installer #f)
(configuration-file script-path)
(configuration-file-generator limine-configuration-file)))
+89
View File
@@ -0,0 +1,89 @@
;;; Copyright © 2024 Lilah Tascheter <lilah@lunabee.space>
;;; Copyright © 2024, 2025 Hilton Chain <hako@ultrarare.space>
;;; SPDX-License-Identifier: GPL-3.0-or-later
(define-module (rosenthal bootloader uki)
;; Guile builtins
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix modules)
#:use-module (guix utils)
;; Guix System - bootloaders
#:use-module (gnu bootloader)
;; Guix packages
#:use-module (rosenthal packages bootloaders)
#:export (menu-entry->ukify-args
uefi-uki-removable-bootloader))
(define script-path "/boot/install-uki.scm")
(define (menu-entry->ukify-args entry)
(let* ((label (menu-entry-label entry))
(linux (menu-entry-linux entry))
(initrd (menu-entry-initrd entry))
(arguments (menu-entry-linux-arguments entry)))
#~(list "--os-release" #$label
"--linux" #$linux
"--initrd" #$initrd
"--cmdline"
(string-join
(map (lambda (arg)
;; Use absolute references to avoid stale system generation
;; status.
(if (or (string-prefix? "gnu.system=" arg)
(string-prefix? "gnu.load=" arg))
(let* ((split-arg (string-split arg #\=))
(option (car split-arg))
(value (cadr split-arg)))
(string-join
(list option
(catch #t
(lambda ()
(readlink value))
(const value)))
"="))
arg))
(list #$@arguments)))
"--stub"
#$(file-append systemd-stub "/libexec/" (systemd-stub-name)))))
(define (uefi-uki-configuration-file config entries . rest)
(program-file "install-uki"
(with-imported-modules (source-module-closure '((guix build utils)))
#~(begin
(use-modules (ice-9 match)
(guix build utils))
(let* ((directory (second (command-line)))
(installation-path
(in-vicinity
directory
#$(format #f "/EFI/BOOT/BOOT~a.EFI"
(cond
((target-x86-32?) "IA32")
((target-x86-64?) "X64")
((target-arm32?) "ARM")
((target-aarch64?) "AA64")
((target-riscv64?) "RISCV64"))))))
(mkdir-p (dirname installation-path))
(apply invoke/quiet #$(file-append ukify "/bin/ukify")
"build" "--output" installation-path
#$(menu-entry->ukify-args (first entries))))))))
(define install-uefi-uki
#~(lambda (bootloader target mount-point)
(invoke (string-append mount-point #$script-path)
(string-append mount-point target))))
;; ‘configuration-file’ here is actually an activation script to be invoked by
;; ‘installer’.
;; FIXME: Not expected by ‘reinstall-bootloader’ in (guix scripts system).
;; NOTE: Faking name here to support rolling-back with '--no-bootloader' option.
(define uefi-uki-removable-bootloader
(bootloader
(name 'grub-efi-removable-bootloader)
(package systemd-stub)
(installer install-uefi-uki)
(disk-image-installer #f)
(configuration-file script-path)
(configuration-file-generator uefi-uki-configuration-file)))
@@ -0,0 +1,75 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal build-system go-vendored)
#:use-module (ice-9 match)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils download)
#:use-module (guix build-system)
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:export (%default-go-vendored-imported-modules
%default-go-vendored-modules
go-vendored-build-system))
(define %default-go-vendored-imported-modules
;; Build-side modules imported and used by default.
`(,@%default-gnu-imported-modules
(guix build union)
(guix build go-build-system)
(rosenthal build go-vendored-build-system)))
(define %default-go-vendored-modules
'((guix build union)
(guix build utils)
(rosenthal build go-vendored-build-system)))
(define* (lower name #:key source go vendor-hash #:allow-other-keys #:rest rest)
(define private-keywords
'(#:vendor-hash))
(define go-lower
(build-system-lower go-build-system))
(define go-bag
(apply go-lower name
#:source source
#:go go
rest))
(bag
(inherit go-bag)
(build-inputs
`(,@(if (and source vendor-hash)
`(("vendored-go-dependencies"
,(if (content-hash? vendor-hash)
(origin
(method (go-mod-vendor #:go go))
(uri source)
(hash vendor-hash))
(origin
(method (go-mod-vendor #:go go))
(uri source)
(sha256 vendor-hash)))))
'())
,@(bag-build-inputs go-bag)))
(build (bag-build go-bag))
(arguments
(substitute-keyword-arguments
(strip-keyword-arguments private-keywords (bag-arguments go-bag))
((#:imported-modules imported-modules '())
(if (null? imported-modules)
%default-go-vendored-imported-modules
imported-modules))
((#:modules modules '())
(if (null? modules)
%default-go-vendored-modules
modules))))))
(define go-vendored-build-system
(build-system
(name 'go-vendored)
(description
"Build system for Go programs, with vendored dependencies")
(lower lower)))
@@ -0,0 +1,29 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal build go-vendored-build-system)
#:use-module (guix build utils)
#:use-module ((guix build gnu-build-system) #:prefix gnu:)
#:use-module ((guix build go-build-system) #:prefix go:)
#:export (%standard-phases
go-build))
(define* (unpack-vendored-dependencies #:key native-inputs inputs #:allow-other-keys)
(let ((vendored-dependencies
(assoc-ref (or native-inputs inputs) "vendored-go-dependencies")))
(setenv "GOTOOLCHAIN" "local")
(unsetenv "GO111MODULE")
(when vendored-dependencies
(copy-recursively vendored-dependencies "vendor"))))
(define %standard-phases
(modify-phases go:%standard-phases
(add-after 'unpack 'unpack-vendored-dependencies unpack-vendored-dependencies)
(replace 'unpack
(assoc-ref gnu:%standard-phases 'unpack))
(replace 'install-license-files
(assoc-ref gnu:%standard-phases 'install-license-files))))
(define* (go-build #:key inputs (phases %standard-phases)
#:allow-other-keys #:rest args)
(apply gnu:gnu-build #:inputs inputs #:phases phases args))
+63
View File
@@ -0,0 +1,63 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal ci tarball)
;; Guile builtins
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (gnu ci)
#:use-module (gnu compression)
#:use-module (guix derivations)
#:use-module (guix gexp)
#:use-module (guix monads)
#:use-module (guix packages)
#:use-module (guix profiles)
#:use-module (guix scripts pack)
#:use-module (guix store)
;; Guix packages
#:use-module (rosenthal packages package-management)
#:export (cuirass-jobs))
;; Copied from (@@ (gnu ci) tarball-jobs).
(define (tarball-jobs store system)
"Return jobs to build the self-contained Guix binary tarball."
(define (->job name drv)
(let ((name (string-append name "." system)))
(parameterize ((%graft? #f))
(derivation->job name drv))))
(list
(->job "binary-tarball"
(run-with-store store
(mbegin %store-monad
(set-guile-for-build (default-guile))
(>>= (profile-derivation (packages->manifest (list guix/dolly)))
(lambda (profile)
(self-contained-tarball "guix-binary" profile
#:profile-name "current-guix"
#:localstatedir? #t
#:compressor
(lookup-compressor "xz")))))
#:system system))))
;; Copied from (@@ (gnu ci) cuirass-jobs).
(define (cuirass-jobs store arguments)
"Register Cuirass jobs."
(define systems
(arguments->systems arguments))
;; Turn off grafts. Grafting is meant to happen on the user's machines.
(parameterize ((%graft? #f))
;; Return one job for each package, except bootstrap packages.
(append-map
(lambda (system)
(format (current-error-port)
"evaluating for '~a' (heap size: ~a MiB)...~%"
system
(round
(/ (assoc-ref (gc-stats) 'heap-size)
(expt 2. 20))))
(invalidate-derivation-caches!)
(tarball-jobs store system))
systems)))
@@ -0,0 +1,5 @@
# The default Ctrl+Space has conflict with Emacs, change it to Super+Space.
[Hotkey/TriggerKeys]
0=Super+space
1=Zenkaku_Hankaku
2=Hangul
@@ -0,0 +1,15 @@
htop_version=3.4.1
hide_kernel_threads=0
show_thread_names=1
show_program_path=0
highlight_base_name=1
highlight_changes=1
show_merged_command=1
show_cpu_frequency=1
show_cpu_temperature=1
column_meters_0=AllCPUs4 Memory Swap ZFSARC DiskIO NetworkIO
column_meter_modes_0=1 2 2 2 2 2
column_meters_1=System Hostname DateTime Uptime Tasks LoadAverage
column_meter_modes_1=2 2 2 2 2 2
tree_view=1
all_branches_collapsed=1
@@ -0,0 +1,631 @@
// This config is in the KDL format: https://kdl.dev
// "/-" comments out the following node.
// Check the wiki for a full description of the configuration:
// https://yalter.github.io/niri/Configuration:-Introduction
// See also `import_environment' in niri source (src/main.rs).
spawn-sh-at-startup "herd set-environment graphical-session XDG_CURRENT_DESKTOP=$XDG_CURRENT_DESKTOP XDG_SESSION_TYPE=$XDG_SESSION_TYPE NIRI_SOCKET=$NIRI_SOCKET"
// Input device configuration.
// Find the full list of options on the wiki:
// https://yalter.github.io/niri/Configuration:-Input
input {
keyboard {
xkb {
// You can set rules, model, layout, variant and options.
// For more information, see xkeyboard-config(7).
// For example:
// layout "us,ru"
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
// If this section is empty, niri will fetch xkb settings
// from org.freedesktop.locale1. You can control these using
// localectl set-x11-keymap.
}
// Enable numlock on startup, omitting this setting disables it.
numlock
repeat-delay 300
repeat-rate 30
}
// Next sections include libinput settings.
// Omitting settings disables them, or leaves them at their default values.
// All commented-out settings here are examples, not defaults.
touchpad {
// off
tap
// dwt
// dwtp
// drag false
// drag-lock
natural-scroll
// accel-speed 0.2
// accel-profile "flat"
// scroll-method "two-finger"
// disabled-on-external-mouse
}
mouse {
// off
// natural-scroll
// accel-speed 0.2
// accel-profile "flat"
// scroll-method "no-scroll"
}
trackpoint {
// off
// natural-scroll
// accel-speed 0.2
// accel-profile "flat"
// scroll-method "on-button-down"
// scroll-button 273
// scroll-button-lock
// middle-emulation
}
// Uncomment this to make the mouse warp to the center of newly focused windows.
// warp-mouse-to-focus
// Focus windows and outputs automatically when moving the mouse into them.
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
// focus-follows-mouse max-scroll-amount="0%"
}
// You can configure outputs by their name, which you can find
// by running `niri msg outputs` while inside a niri instance.
// The built-in laptop monitor is usually called "eDP-1".
// Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Outputs
// Remember to uncomment the node by removing "/-"!
/-output "eDP-1" {
// Uncomment this line to disable this output.
// off
// Resolution and, optionally, refresh rate of the output.
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
// If the refresh rate is omitted, niri will pick the highest refresh rate
// for the resolution.
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
mode "1920x1080@120.030"
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
scale 2
// Transform allows to rotate the output counter-clockwise, valid values are:
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
transform "normal"
// Position of the output in the global coordinate space.
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
// The cursor can only move between directly adjacent outputs.
// Output scale and rotation has to be taken into account for positioning:
// outputs are sized in logical, or scaled, pixels.
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
// so to put another output directly adjacent to it on the right, set its x to 1920.
// If the position is unset or results in an overlap, the output is instead placed
// automatically.
position x=1280 y=0
}
// Settings that influence how windows are positioned and sized.
// Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Layout
layout {
// Set gaps around windows in logical pixels.
gaps 16
// When to center a column when changing focus, options are:
// - "never", default behavior, focusing an off-screen column will keep at the left
// or right edge of the screen.
// - "always", the focused column will always be centered.
// - "on-overflow", focusing a column will center it if it doesn't fit
// together with the previously focused column.
center-focused-column "never"
// You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
preset-column-widths {
// Proportion sets the width as a fraction of the output width, taking gaps into account.
// For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
// The default preset widths are 1/3, 1/2 and 2/3 of the output.
proportion 0.33333
proportion 0.5
proportion 0.66667
// Fixed sets the width in logical pixels exactly.
// fixed 1920
}
// You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
// preset-window-heights { }
// You can change the default width of the new windows.
default-column-width { proportion 0.5; }
// If you leave the brackets empty, the windows themselves will decide their initial width.
// default-column-width {}
// By default focus ring and border are rendered as a solid background rectangle
// behind windows. That is, they will show up through semitransparent windows.
// This is because windows using client-side decorations can have an arbitrary shape.
//
// If you don't like that, you should uncomment `prefer-no-csd` below.
// Niri will draw focus ring and border *around* windows that agree to omit their
// client-side decorations.
//
// Alternatively, you can override it with a window rule called
// `draw-border-with-background`.
// You can change how the focus ring looks.
focus-ring {
// Uncomment this line to disable the focus ring.
// off
// How many logical pixels the ring extends out from the windows.
width 4
// Colors can be set in a variety of ways:
// - CSS named colors: "red"
// - RGB hex: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa"
// - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
// Color of the ring on the active monitor.
active-color "#7fc8ff"
// Color of the ring on inactive monitors.
//
// The focus ring only draws around the active window, so the only place
// where you can see its inactive-color is on other monitors.
inactive-color "#505050"
// You can also use gradients. They take precedence over solid colors.
// Gradients are rendered the same as CSS linear-gradient(angle, from, to).
// The angle is the same as in linear-gradient, and is optional,
// defaulting to 180 (top-to-bottom gradient).
// You can use any CSS linear-gradient tool on the web to set these up.
// Changing the color space is also supported, check the wiki for more info.
//
// active-gradient from="#80c8ff" to="#c7ff7f" angle=45
// You can also color the gradient relative to the entire view
// of the workspace, rather than relative to just the window itself.
// To do that, set relative-to="workspace-view".
//
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
}
// You can also add a border. It's similar to the focus ring, but always visible.
border {
// The settings are the same as for the focus ring.
// If you enable the border, you probably want to disable the focus ring.
off
width 4
active-color "#ffc87f"
inactive-color "#505050"
// Color of the border around windows that request your attention.
urgent-color "#9b0000"
// Gradients can use a few different interpolation color spaces.
// For example, this is a pastel rainbow gradient via in="oklch longer hue".
//
// active-gradient from="#e5989b" to="#ffb4a2" angle=45 relative-to="workspace-view" in="oklch longer hue"
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
}
// You can enable drop shadows for windows.
shadow {
// Uncomment the next line to enable shadows.
// on
// By default, the shadow draws only around its window, and not behind it.
// Uncomment this setting to make the shadow draw behind its window.
//
// Note that niri has no way of knowing about the CSD window corner
// radius. It has to assume that windows have square corners, leading to
// shadow artifacts inside the CSD rounded corners. This setting fixes
// those artifacts.
//
// However, instead you may want to set prefer-no-csd and/or
// geometry-corner-radius. Then, niri will know the corner radius and
// draw the shadow correctly, without having to draw it behind the
// window. These will also remove client-side shadows if the window
// draws any.
//
// draw-behind-window true
// You can change how shadows look. The values below are in logical
// pixels and match the CSS box-shadow properties.
// Softness controls the shadow blur radius.
softness 30
// Spread expands the shadow.
spread 5
// Offset moves the shadow relative to the window.
offset x=0 y=5
// You can also change the shadow color and opacity.
color "#0007"
}
// Struts shrink the area occupied by windows, similarly to layer-shell panels.
// You can think of them as a kind of outer gaps. They are set in logical pixels.
// Left and right struts will cause the next window to the side to always be visible.
// Top and bottom struts will simply add outer gaps in addition to the area occupied by
// layer-shell panels and regular gaps.
struts {
// left 64
// right 64
// top 64
// bottom 64
}
}
// Add lines like this to spawn processes at startup.
// See the binds section below for more spawn examples.
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
hotkey-overlay {
// Uncomment this line to disable the "Important Hotkeys" pop-up at startup.
// skip-at-startup
}
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
// If the client will specifically ask for CSD, the request will be honored.
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
// This option will also fix border/focus ring drawing behind some semitransparent windows.
// After enabling or disabling this, you need to restart the apps for this to take effect.
prefer-no-csd
// You can change the path where screenshots are saved.
// A ~ at the front will be expanded to the home directory.
// The path is formatted with strftime(3) to give you the screenshot date and time.
screenshot-path "~/Screenshot from %Y-%m-%d %H-%M-%S.png"
// You can also set this to null to disable saving screenshots to disk.
// screenshot-path null
// Animation settings.
// The wiki explains how to configure individual animations:
// https://yalter.github.io/niri/Configuration:-Animations
animations {
// Uncomment to turn off all animations.
// off
// Slow down all animations by this factor. Values below 1 speed them up instead.
// slowdown 3.0
}
// Window rules let you adjust behavior for individual windows.
// Find more information on the wiki:
// https://yalter.github.io/niri/Configuration:-Window-Rules
// Keep WezTerm maximized so that the installer won't be resized.
window-rule {
// This regular expression is intentionally made as specific as possible,
// since this is the default config, and we want no false positives.
// You can get away with just app-id="wezterm" if you want.
match app-id=r#"^org\.wezfurlong\.wezterm$"#
open-maximized true
}
// Open the Firefox picture-in-picture player as floating by default.
window-rule {
// This app-id regular expression will work for both:
// - host Firefox (app-id is "firefox")
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
open-floating true
}
window-rule {
match app-id=r#"librewolf$"# title="^Picture-in-Picture$"
open-floating true
}
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
block-out-from "screen-capture"
// Use this instead if you want them visible on third-party screenshot tools.
// block-out-from "screencast"
}
// Enable rounded corners for all windows.
// For Noctalia shell.
window-rule {
geometry-corner-radius 20
clip-to-geometry true
}
debug {
honor-xdg-activation-with-invalid-serial
}
// Background color to match the wallpaper.
overview {
backdrop-color "#D2DEE9"
}
binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program
// like wev.
//
// "Mod" is a special modifier equal to Super when running on a TTY, and to Alt
// when running as a winit window.
//
// Most actions that you can bind here can also be invoked programmatically with
// `niri msg action do-something`.
// Mod-Shift-/, which is usually the same as Mod-?,
// shows a list of important hotkeys.
Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return hotkey-overlay-title="Open a Terminal" { spawn "wezterm"; }
Mod+D hotkey-overlay-title="Run an Application" { spawn "noctalia-shell" "ipc" "call" "launcher" "toggle"; }
// Super+Alt+L hotkey-overlay-title="Lock the Screen" { spawn "noctalia-shell" "ipc" "call" "lockScreen" "lock"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
// For example, this is a standard bind to toggle the screen reader (orca).
Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
// Example volume keys mappings for Noctalia shell
// The allow-when-locked=true property makes them work even when the session is locked.
XF86AudioRaiseVolume allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "increase"; }
XF86AudioLowerVolume allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "decrease"; }
XF86AudioMute allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "muteOutput"; }
XF86AudioMicMute allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "volume" "muteInput"; }
// Example media keys mappings for Noctalia shell.
// This will work with any MPRIS-enabled media player.
XF86AudioPlay allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "media" "playPause"; }
XF86AudioStop allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "media" "pause"; }
XF86AudioPrev allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "media" "previous"; }
XF86AudioNext allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "media" "next"; }
// Example brightness key mappings for Noctalia shell
XF86MonBrightnessUp allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "brightness" "increase"; }
XF86MonBrightnessDown allow-when-locked=true { spawn "noctalia-shell" "ipc" "call" "brightness" "decrease"; }
// Open/close the Overview: a zoomed-out view of workspaces and windows.
// You can also move the mouse into the top-left hot corner,
// or do a four-finger swipe up on a touchpad.
Mod+O repeat=false { toggle-overview; }
Mod+Q repeat=false { close-window; }
Mod+Left { focus-column-left; }
Mod+Down { focus-window-down; }
Mod+Up { focus-window-up; }
Mod+Right { focus-column-right; }
Mod+H { focus-column-left; }
Mod+J { focus-window-down; }
Mod+K { focus-window-up; }
Mod+L { focus-column-right; }
Mod+Ctrl+Left { move-column-left; }
Mod+Ctrl+Down { move-window-down; }
Mod+Ctrl+Up { move-window-up; }
Mod+Ctrl+Right { move-column-right; }
Mod+Ctrl+H { move-column-left; }
Mod+Ctrl+J { move-window-down; }
Mod+Ctrl+K { move-window-up; }
Mod+Ctrl+L { move-column-right; }
// Alternative commands that move across workspaces when reaching
// the first or last window in a column.
// Mod+J { focus-window-or-workspace-down; }
// Mod+K { focus-window-or-workspace-up; }
// Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
// Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
Mod+Home { focus-column-first; }
Mod+End { focus-column-last; }
Mod+Ctrl+Home { move-column-to-first; }
Mod+Ctrl+End { move-column-to-last; }
Mod+Shift+Left { focus-monitor-left; }
Mod+Shift+Down { focus-monitor-down; }
Mod+Shift+Up { focus-monitor-up; }
Mod+Shift+Right { focus-monitor-right; }
Mod+Shift+H { focus-monitor-left; }
Mod+Shift+J { focus-monitor-down; }
Mod+Shift+K { focus-monitor-up; }
Mod+Shift+L { focus-monitor-right; }
Mod+Shift+Ctrl+Left { move-column-to-monitor-left; }
Mod+Shift+Ctrl+Down { move-column-to-monitor-down; }
Mod+Shift+Ctrl+Up { move-column-to-monitor-up; }
Mod+Shift+Ctrl+Right { move-column-to-monitor-right; }
Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
// Alternatively, there are commands to move just a single window:
// Mod+Shift+Ctrl+Left { move-window-to-monitor-left; }
// ...
// And you can also move a whole workspace to another monitor:
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
// ...
Mod+Page_Down { focus-workspace-down; }
Mod+Page_Up { focus-workspace-up; }
Mod+U { focus-workspace-down; }
Mod+I { focus-workspace-up; }
Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
Mod+Ctrl+U { move-column-to-workspace-down; }
Mod+Ctrl+I { move-column-to-workspace-up; }
// Alternatively, there are commands to move just a single window:
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
// ...
Mod+Shift+Page_Down { move-workspace-down; }
Mod+Shift+Page_Up { move-workspace-up; }
Mod+Shift+U { move-workspace-down; }
Mod+Shift+I { move-workspace-up; }
// You can bind mouse wheel scroll ticks using the following syntax.
// These binds will change direction based on the natural-scroll setting.
//
// To avoid scrolling through workspaces really fast, you can use
// the cooldown-ms property. The bind will be rate-limited to this value.
// You can set a cooldown on any bind, but it's most useful for the wheel.
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
Mod+WheelScrollRight { focus-column-right; }
Mod+WheelScrollLeft { focus-column-left; }
Mod+Ctrl+WheelScrollRight { move-column-right; }
Mod+Ctrl+WheelScrollLeft { move-column-left; }
// Usually scrolling up and down with Shift in applications results in
// horizontal scrolling; these binds replicate that.
Mod+Shift+WheelScrollDown { focus-column-right; }
Mod+Shift+WheelScrollUp { focus-column-left; }
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
// Similarly, you can bind touchpad scroll "ticks".
// Touchpad scrolling is continuous, so for these binds it is split into
// discrete intervals.
// These binds are also affected by touchpad's natural-scroll, so these
// example binds are "inverted", since we have natural-scroll enabled for
// touchpads by default.
// Mod+TouchpadScrollDown { spawn "noctalia-shell" "ipc" "call" "volume" "increase"; }
// Mod+TouchpadScrollUp { spawn "noctalia-shell" "ipc" "call" "volume" "decrease"; }
// You can refer to workspaces by index. However, keep in mind that
// niri is a dynamic workspace system, so these commands are kind of
// "best effort". Trying to refer to a workspace index bigger than
// the current workspace count will instead refer to the bottommost
// (empty) workspace.
//
// For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
// will all refer to the 3rd workspace.
Mod+1 { focus-workspace 1; }
Mod+2 { focus-workspace 2; }
Mod+3 { focus-workspace 3; }
Mod+4 { focus-workspace 4; }
Mod+5 { focus-workspace 5; }
Mod+6 { focus-workspace 6; }
Mod+7 { focus-workspace 7; }
Mod+8 { focus-workspace 8; }
Mod+9 { focus-workspace 9; }
Mod+Ctrl+1 { move-column-to-workspace 1; }
Mod+Ctrl+2 { move-column-to-workspace 2; }
Mod+Ctrl+3 { move-column-to-workspace 3; }
Mod+Ctrl+4 { move-column-to-workspace 4; }
Mod+Ctrl+5 { move-column-to-workspace 5; }
Mod+Ctrl+6 { move-column-to-workspace 6; }
Mod+Ctrl+7 { move-column-to-workspace 7; }
Mod+Ctrl+8 { move-column-to-workspace 8; }
Mod+Ctrl+9 { move-column-to-workspace 9; }
// Alternatively, there are commands to move just a single window:
// Mod+Ctrl+1 { move-window-to-workspace 1; }
// Switches focus between the current and the previous workspace.
// Mod+Tab { focus-workspace-previous; }
// The following binds move the focused window in and out of a column.
// If the window is alone, they will consume it into the nearby column to the side.
// If the window is already in a column, they will expel it out.
Mod+BracketLeft { consume-or-expel-window-left; }
Mod+BracketRight { consume-or-expel-window-right; }
// Consume one window from the right to the bottom of the focused column.
Mod+Comma { consume-window-into-column; }
// Expel the bottom window from the focused column to the right.
Mod+Period { expel-window-from-column; }
Mod+R { switch-preset-column-width; }
// Cycling through the presets in reverse order is also possible.
// Mod+R { switch-preset-column-width-back; }
Mod+Shift+R { switch-preset-window-height; }
Mod+Ctrl+R { reset-window-height; }
Mod+F { maximize-column; }
Mod+Shift+F { fullscreen-window; }
// Expand the focused column to space not taken up by other fully visible columns.
// Makes the column "fill the rest of the space".
Mod+Ctrl+F { expand-column-to-available-width; }
Mod+C { center-column; }
// Center all fully visible columns on screen.
Mod+Ctrl+C { center-visible-columns; }
// Finer width adjustments.
// This command can also:
// * set width in pixels: "1000"
// * adjust width in pixels: "-5" or "+5"
// * set width as a percentage of screen width: "25%"
// * adjust width as a percentage of screen width: "-10%" or "+10%"
// Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0,
// set-column-width "100" will make the column occupy 200 physical screen pixels.
Mod+Minus { set-column-width "-10%"; }
Mod+Equal { set-column-width "+10%"; }
// Finer height adjustments when in column with other windows.
Mod+Shift+Minus { set-window-height "-10%"; }
Mod+Shift+Equal { set-window-height "+10%"; }
// Move the focused window between the floating and the tiling layout.
Mod+V { toggle-window-floating; }
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
// Toggle tabbed column display mode.
// Windows in this column will appear as vertical tabs,
// rather than stacked on top of each other.
Mod+W { toggle-column-tabbed-display; }
// Actions to switch layouts.
// Note: if you uncomment these, make sure you do NOT have
// a matching layout switch hotkey configured in xkb options above.
// Having both at once on the same hotkey will break the switching,
// since it will switch twice upon pressing the hotkey (once by xkb, once by niri).
// Mod+Space { switch-layout "next"; }
// Mod+Shift+Space { switch-layout "prev"; }
Print { screenshot; }
Ctrl+Print { screenshot-screen; }
Alt+Print { screenshot-window; }
// Applications such as remote-desktop clients and software KVM switches may
// request that niri stops processing the keyboard shortcuts defined here
// so they may, for example, forward the key presses as-is to a remote machine.
// It's a good idea to bind an escape hatch to toggle the inhibitor,
// so a buggy application can't hold your session hostage.
//
// The allow-inhibiting=false property can be applied to other binds as well,
// which ensures niri always processes them, even when an inhibitor is active.
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
Mod+Shift+E hotkey-overlay-title="Restart Noctalia shell" { spawn "herd" "restart" "noctalia-shell"; }
Ctrl+Alt+Delete hotkey-overlay-title="Open Noctalia shell session menu" { spawn "noctalia-shell" "ipc" "call" "sessionMenu" "toggle"; }
// Powers off the monitors. To turn them back on, do any input like
// moving the mouse or pressing any other key.
Mod+Shift+P { power-off-monitors; }
}
@@ -0,0 +1,66 @@
{
"appLauncher": {
"terminalCommand": "wezterm start --"
},
"colorSchemes": {
"darkMode": false,
"predefinedScheme": "Nord"
},
"dock": {
"displayMode": "exclusive",
"enabled": true,
"position": "left",
"size": 2
},
"osd": {
"enabled": true,
"enabledTypes": [
0,
1,
2,
3
]
},
"sessionMenu": {
"countdownDuration": 10000,
"enableCountdown": true,
"largeButtonsLayout": "single-row",
"largeButtonsStyle": true,
"position": "center",
"powerOptions": [
{
"action": "lock",
"enabled": false
},
{
"action": "suspend",
"enabled": false
},
{
"action": "hibernate",
"enabled": false
},
{
"action": "reboot",
"enabled": true
},
{
"action": "logout",
"enabled": false
},
{
"action": "shutdown",
"enabled": true
},
{
"action": "rebootToUefi",
"enabled": true
}
],
"showHeader": true,
"showNumberLabels": true
},
"wallpaper": {
"enabled": false
}
}
@@ -0,0 +1,8 @@
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- Use Xwayland in the LiveCD so that we can change keyboard layout when
-- WezTerm is running.
config.enable_wayland = false
return config
@@ -0,0 +1 @@
TerminalEmulator=open-wezterm-here
+371
View File
@@ -0,0 +1,371 @@
;;; -*- lexical-binding: t -*-
(setopt custom-file (locate-user-emacs-file "custom.el"))
(if (not (file-exists-p custom-file))
(make-empty-file custom-file)
(load custom-file))
;; Keep ~/.config/emacs clean by setting default storage locations for various
;; packages. Set this up first.
(use-package no-littering
:config
(no-littering-theme-backups))
(use-package emacs
:custom
(fill-column 80)
(shell-file-name "/bin/sh") ;use POSIX-compatible shell
(word-wrap-by-category t) ;improve CJK word-wrapping
(pixel-scroll-precision-interpolate-page t)
(show-paren-context-when-offscreen 'overlay)
:config
(setopt electric-indent-inhibit t) ;disable automatic re-indentation
:hook
(after-init . show-paren-mode)
(before-save . delete-trailing-whitespace)
(prog-mode . display-fill-column-indicator-mode))
;;;
;;; Guile & Guix hacking.
;;;
(use-package flycheck
:hook
(after-init . global-flycheck-mode))
(use-package flycheck-guile
:after flycheck geiser-guile)
(use-package geiser
:custom
(geiser-active-implementation '(guile))
(geiser-default-implementation 'guile)
(geiser-autodoc-identifier-format "%s → %s")
(geiser-mode-smart-tab-p t)
(geiser-mode-start-repl-p t)
(geiser-repl-query-on-kill-p nil))
(use-package geiser-guile
:after geiser
:config
(setopt geiser-guile-load-path
(let* ((cmd "echo '(write %load-path)' | guix repl -q --type=machine")
(out (nth 1 (split-string (shell-command-to-string cmd) "\n"))))
(read out))))
(use-package guix
:hook
(scheme-mode . guix-devel-mode))
(use-package info-look
:config
(info-lookup-add-help
:mode 'scheme-mode
:regexp "[^()`',\" \n]+"
:ignore-case nil
:doc-spec
(mapcar (lambda (node-name)
(list node-name nil "^[ ]+-+ [^:]+:[ ]*" "\\b"))
'("(guile)R5RS Index"
"(guix)Programming Index"
"(guile)Procedure Index"
"(guile)Variable Index"
"(r5rs)Index"
"(guile)Concept Index"
"(guix)Concept Index"))))
(use-package macrostep
:bind
((:map emacs-lisp-mode-map)
("C-c e" . macrostep-expand)))
(use-package macrostep-geiser
:after geiser
:hook
((geiser-mode geiser-repl-mode) . macrostep-geiser-setup)
:bind
((:map geiser-mode-map)
("C-c e" . macrostep-expand))
((:map geiser-repl-mode-map)
("C-c e" . macrostep-expand)))
(use-package parinfer-rust-mode
:config
;; Disable parenthesis pairing in `electric-pair-mode' when
;; `parinfer-rust-mode' is active.
(setopt electric-pair-inhibit-predicate
(lambda (char)
(or (and (bound-and-true-p parinfer-rust-mode)
(memql char '(?\( ?\[ ?\{)))
(electric-pair-default-inhibit char))))
(setopt parinfer-rust-troublesome-modes
(delq 'electric-pair-mode parinfer-rust-troublesome-modes))
;; These customizations are managed by Guix but will be overridden if using
;; `no-littering'. Reset them to standard values.
(custom-reevaluate-setting 'parinfer-rust-library-directory)
(custom-reevaluate-setting 'parinfer-rust-library)
:hook
;; XXX: Enable mode first, workaround to support `menu-find-file-existing'.
((emacs-lisp-mode lisp-mode scheme-mode) . parinfer-rust-mode-enable)
((emacs-lisp-mode lisp-mode scheme-mode) . parinfer-rust-mode))
;;;
;;; Completion.
;;;
(use-package corfu
:custom
(corfu-auto t) ;auto-complete
(corfu-auto-delay 0.3)
:hook
(after-init . global-corfu-mode))
(use-package orderless
:custom
(completion-styles '(orderless basic))
(completion-category-overrides '((file (styles basic partial-completion))))
(orderless-matching-styles '(orderless-literal orderless-flex orderless-regexp)))
(use-package vertico
:custom
;; Case-insensitive completion.
(completion-ignore-case t)
(read-buffer-completion-ignore-case t)
(read-file-name-completion-ignore-case t)
:hook
(after-init . vertico-mode))
(use-package vertico-directory
:after vertico
:hook
;; Tidy shadowed file names.
(rfn-eshadow-update-overlay . vertico-directory-tidy)
:bind
((:map vertico-map)
("RET" . vertico-directory-enter)
("DEL" . vertico-directory-delete-char)
("M-DEL" . vertico-directory-delete-word)))
;;;
;;; Vim-like editing experience.
;;;
(use-package evil
:custom
(evil-undo-system 'undo-redo)
(evil-want-integration t)
(evil-want-keybinding nil))
(use-package evil-collection
:after evil
:config
(evil-collection-init))
;;;
;;; Enhancements to the default interface.
;;;
(use-package eldoc-box
:hook
(eldoc-mode . eldoc-box-hover-mode))
;; ElDoc integration for flycheck:
;; https://www.masteringemacs.org/article/seamlessly-merge-multiple-documentation-sources-eldoc
(use-package flycheck
:init
(defun mp/flycheck-eldoc (callback &rest _ignored)
"Print flycheck messages at point by calling CALLBACK."
(when-let ((flycheck-errors (and flycheck-mode (flycheck-overlay-errors-at (point)))))
(mapc (lambda (err)
(funcall callback
(format "%s: %s"
(let ((level (flycheck-error-level err)))
(pcase level
('info (propertize "I" 'face 'flycheck-error-list-info))
('error (propertize "E" 'face 'flycheck-error-list-error))
('warning (propertize "W" 'face 'flycheck-error-list-warning))
(_ level)))
(flycheck-error-message err))
:thing (or (flycheck-error-id err)
(flycheck-error-group err))
:face 'font-lock-doc-face))
flycheck-errors)))
(defun mp/flycheck-prefer-eldoc ()
(add-hook 'eldoc-documentation-functions #'mp/flycheck-eldoc nil t)
(setq eldoc-documentation-strategy 'eldoc-documentation-compose-eagerly)
(setq flycheck-display-errors-function nil)
(setq flycheck-help-echo-function nil))
:hook
(flycheck-mode . mp/flycheck-prefer-eldoc))
(use-package helpful
:bind
([remap describe-function] . helpful-callable)
([remap describe-variable] . helpful-variable)
([remap describe-key] . helpful-key)
([remap describe-command] . helpful-command)
([remap describe-symbol] . helpful-symbol)
("C-c C-d" . helpful-at-point))
(use-package isearch
:custom
(isearch-lazy-count t)
(isearch-wrap-pause 'no-ding))
(use-package mwim
:bind
([remap move-beginning-of-line] . mwim-beginning)
([remap move-end-of-line] . mwim-end))
(use-package which-key
:config
(which-key-setup-side-window-right-bottom))
;;;
;;; Theming.
;;;
(use-package emacs
:config
(load-theme 'modus-operandi-tinted :no-confirm))
(use-package doom-modeline
:custom
(doom-modeline-icon nil)
(doom-modeline-height 18)
:hook
(after-init . doom-modeline-mode))
;;;
;;; User options for newcomers.
;;; https://cgit.git.savannah.gnu.org/cgit/emacs.git/tree/etc/themes/newcomers-presets-theme.el
;;; https://github.com/emacs-mirror/emacs/blob/master/etc/themes/newcomers-presets-theme.el
;;;
(use-package emacs
:custom
;; Appearance-related options
(font-use-system-font t)
(frame-resize-pixelwise t)
(window-resize-pixelwise t)
(mode-line-compact 'long)
;; Mouse-related options
(context-menu-mode t)
(save-interprogram-paste-before-kill t)
(mouse-yank-at-point t)
(pixel-scroll-mode t)
(pixel-scroll-precision-mode t) ;; see bug#69972
(mouse-drag-and-drop-region t)
(mouse-drag-and-drop-region-cross-program t)
(mouse-drag-mode-line-buffer t)
(global-xref-mouse-mode t)
;; Persistence-related options
(savehist-mode t)
(save-place-mode t)
(recentf-mode t)
;; Editing-related options
(electric-pair-mode t)
(repeat-mode t)
(delete-selection-mode t)
(editorconfig-mode t)
(indent-tabs-mode nil)
(imenu-auto-rescan t)
(view-read-only t)
(column-number-mode t)
;; Directory managment-related options
(dired-auto-revert-buffer t)
(dired-mouse-drag-files t)
(shell-command-prompt-show-cwd t)
;; File-related options
;; (etags-regen-mode t)
(vc-auto-revert-mode t)
(vc-deduce-backend-nonvc-modes t)
(vc-dir-save-some-buffers-on-revert t)
(vc-find-revision-no-save t)
(vc-follow-symlinks t)
(vc-use-incoming-outgoing-prefixes t)
;; Completion-related options
(minibuffer-visible-completions t)
(completions-detailed t)
(completions-group t)
(completion-auto-select 'second-tab)
(completion-eager-update t)
;; (completion-styles '(basic emacs22 flex))
;; (global-completion-preview-mode t)
(tab-always-indent 'complete)
(which-key-mode t)
;; Package-related options
(package-autosuggest-mode t)
(package-menu-use-current-if-no-marks nil)
;; Frame- and window-related options
(frame-inhibit-implied-resize t)
(tab-bar-history-mode t)
(tab-bar-show t)
;; Programming-related options
(compilation-scroll-output 'first-error)
:hook
(prog-mode . display-line-numbers-mode)
;; (prog-mode . flymake-mode)
;; (prog-mode . flyspell-prog-mode)
(text-mode . display-line-numbers-mode))
;; (text-mode . flyspell-mode))
;;;
;;; Font configuration with proper CJK support. Based on
;;; https://github.com/nykma/nema/blob/develop/my-sample/font.el
;;;
(use-package emacs
:config
(defun hako/load-font ()
(let* ((size 16)
(mono (font-spec :family "Victor Mono" :size size))
(modeline (font-spec :family "Source Serif 4" :size size))
(cjk (font-spec :family "Sarasa Mono CL" :size size))
(symbol (font-spec :family "Noto Color Emoji" :size size))
(emoji (font-spec :family "Noto Color Emoji" :size size)))
(when (display-graphic-p)
(set-face-attribute 'default nil :font mono)
(set-face-attribute 'mode-line nil :font modeline)
(set-face-attribute 'mode-line-active nil :font modeline)
(set-face-attribute 'mode-line-inactive nil :font modeline)
(let ((font (frame-parameter nil 'font)))
(dolist (charset '(kana han hangul cjk-misc bopomofo))
(set-fontset-font font charset cjk))
(set-fontset-font font 'symbol symbol nil 'append)
(set-fontset-font font 'emoji emoji nil 'append)))))
(if (daemonp)
(add-hook 'server-after-make-frame-hook #'hako/load-font)
(add-hook 'after-init-hook #'hako/load-font)))
;;;
;;; Set up a ready-to-use geiser REPL.
;;;
(progn
(scheme-mode)
(dolist (module
'("(guix)"
"(gnu)"
"(gnu services cups)"
"(gnu services desktop)"
"(gnu services guix)"
"(gnu services networking)"
"(gnu services shepherd)"
"(gnu services ssh)"
"(gnu services xorg)"
"(gnu home)"
"(gnu home services)"
"(gnu home services desktop)"
"(gnu home services shepherd)"))
(geiser-repl-import-module module))
(delete-window))
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -e
TOP_DIR="$(dirname "$(realpath "$0")")"
# Install packages.
guix repl -- "$TOP_DIR/packages"
# Install configuration file.
if [ ! -f ~/.config/emacs/init.el ]
then
install -D -mode=0644 --target-directory="$HOME/.config/emacs" "$TOP_DIR/init.el"
fi
+53
View File
@@ -0,0 +1,53 @@
(use-modules (ice-9 match)
(guix packages)
(guix scripts install)
(gnu packages))
(define emacs-packages
(map specification->package
(list "bash" ;Required when using in `guix shell --container'.
(if (getenv "WAYLAND_DISPLAY")
"emacs-pgtk"
"emacs")
"emacs-no-littering"
;; Guile & Guix hacking.
"emacs-flycheck"
"emacs-flycheck-guile"
"emacs-geiser"
"emacs-geiser-guile"
"emacs-guix"
"emacs-macrostep"
"emacs-macrostep-geiser"
"emacs-parinfer-rust-mode"
;; Completion.
"emacs-corfu"
"emacs-orderless"
"emacs-vertico"
;; Vim-like editing experience.
"emacs-evil"
"emacs-evil-collection"
"emacs-goto-chg" ;dependency of emacs-evil
;; Enhancements to the default interface.
"emacs-eldoc-box"
"emacs-helpful"
"emacs-mwim"
;; Theming.
"emacs-doom-modeline"
;; Fonts.
"font-adobe-source-serif"
"font-google-noto-emoji"
"font-sarasa-gothic"
"font-victor-mono"
"fontconfig"
;; Other useful packages.
"emacs-magit")))
(match (command-line)
;; guix repl -- <this-file>
((_this-file)
(apply guix-install
(map package-name
emacs-packages)))
;; guix shell -f <this-file>, or other use cases.
(_
emacs-packages))
@@ -0,0 +1,28 @@
;;; -*- mode: scheme -*-
;; info "(guix) Channels"
;; https://guix.gnu.org/manual/devel/en/html_node/Channels.html
(list (channel
(inherit %default-guix-channel)
(name 'guix)
(url "https://git.guix.gnu.org/guix.git"))
(channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'rosenthal)
(url "https://codeberg.org/hako/rosenthal.git")
(branch "trunk")
(introduction
(make-channel-introduction
"7677db76330121a901604dfbad19077893865f35"
(openpgp-fingerprint
"13E7 6CD6 E649 C28C 3385 4DF5 5E5A A665 6149 17F7")))))
+191
View File
@@ -0,0 +1,191 @@
;;; -*- mode: scheme -*-
(use-modules (gnu)
(nonguix)
(rosenthal)
(rosenthal services keyboard)
(rosenthal services shellutils)
(gnu home services fontutils)
(gnu home services shells)
(gnu packages fcitx5)
(gnu packages gnome-xyz)
(gnu packages shells))
(define %my-keyboard-layout
(keyboard-layout "us"))
(define %my-user
(user-account
(name "alice")
;; Initial password: test
;; Change your password via `passwd' after logged in.
(password (crypt "test" "$6$abc"))
(group "users")
(supplementary-groups '("wheel" "audio" "video"))
(shell (file-append fish "/bin/fish"))))
(define %my-home
(home-environment
(packages (specifications->packages
'(;; Desktop, see also `%rosenthal-skeletons'.
"niri"
"dconf"
"wl-clipboard"
"xdg-desktop-portal-gnome"
"xdg-desktop-portal-gtk"
"xdg-utils"
"imv" ;image viewer
"wezterm" ;terminal emulator
"xwayland-satellite" ;rootless XWayland support
;; File manager.
"exo"
"file-roller"
"thunar"
"thunar-archive-plugin"
"thunar-media-tags-plugin"
"thunar-volman"
"tumbler"
;; Web browser.
"librewolf"
"ublock-origin-icecat"
;; Text editors, see also `%rosenthal-skeletons'.
"emacs-pgtk"
"neovim"
"emacs-no-littering"
;; Enhancements to the default interface.
"emacs-helpful"
"emacs-mwim"
;; Completion.
"emacs-corfu"
"emacs-orderless"
"emacs-vertico"
;; Guile hacking.
"emacs-flycheck"
"emacs-flycheck-guile"
"emacs-geiser"
"emacs-geiser-guile"
"emacs-parinfer-rust-mode"
;; Theming.
"emacs-doom-modeline"
;; Fonts.
"font-adobe-source-serif"
"font-google-noto-emoji"
"font-sarasa-gothic"
"font-victor-mono"
"fontconfig"
;; Other useful packages.
"emacs-edit-indirect"
"emacs-evil"
"emacs-guix"
"emacs-magit"
"emacs-markdown-mode"
;; Fonts.
"font-adobe-source-serif"
"font-google-noto"
"font-google-noto-emoji"
"font-nerd-symbols"
"font-sarasa-gothic"
"font-victor-mono")))
(services
(cons* (service home-fish-service-type)
(service home-keyboard-service-type %my-keyboard-layout)
(service home-noctalia-shell-service-type)
(service home-polkit-gnome-service-type)
;; Default cursor theme.
(service home-theme-service-type
(home-theme-configuration
(packages (list qogir-icon-theme))
(icon-theme "Qogir")
(cursor-theme "Qogir")))
;; Input method.
(service home-fcitx5-service-type
(home-fcitx5-configuration
(gtk-im-module? #t)
(qt-im-module? #t)
(themes
(list fcitx5-material-color-theme))
(input-method-editors
(list fcitx5-anthy
fcitx5-chewing
fcitx5-chinese-addons
fcitx5-hangul
fcitx5-rime
fcitx5-skk
fcitx5-unikey))))
%rosenthal-desktop-home-services))))
(define %my-os
(operating-system
(host-name "antelope")
(timezone "Europe/Paris")
(locale "en_US.utf8")
(keyboard-layout %my-keyboard-layout)
(kernel linux)
(firmware (cons* linux-firmware %base-firmware))
;; Use the UEFI variant of GRUB with the EFI System
;; Partition mounted on /boot/efi.
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(targets '("/boot/efi"))
(keyboard-layout %my-keyboard-layout)))
;; Assume the target root file system is labelled "my-root",
;; and the EFI System Partition has UUID 1234-ABCD.
(file-systems
(cons* (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
(file-system
(device (uuid "1234-ABCD" 'fat))
(mount-point "/boot/efi")
(type "vfat"))
%base-file-systems))
(skeletons %rosenthal-skeletons)
(users
(cons* %my-user
(user-account
(inherit %root-account)
;; Don't initialize password for root.
(password #f))
%base-user-accounts))
(packages
(append (specifications->packages
'(;; CLI utilities.
"curl"
"file"
"git"
"gnupg"
"mosh"
"rsync"
"unzip"
;; Provide Wayland session for the login manager.
"niri"))
%base-packages))
(services
(cons* (service guix-home-service-type
`((,(user-account-name %my-user) ,%my-home)))
%rosenthal-desktop-services/tuigreet))))
((compose
;; (nonguix-transformation-nvidia)
(nonguix-transformation-guix)
(rosenthal-transformation-guix))
%my-os)
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 MiB

+229
View File
@@ -0,0 +1,229 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal home services desktop)
;; Guile builtins
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shepherd)
;; Guix packages
#:autoload (rosenthal packages wm) (noctalia)
#:export (home-graphical-session-service-type
home-graphical-session-configuration
home-noctalia-configuration
home-noctalia-service-type))
;;;
;;; Graphical session.
;;;
(define-configuration/no-serialization home-graphical-session-configuration
(timeout
(integer 10)
"Time in seconds to wait before a graphical session is found.")
(wayland?
(boolean #f)
"Wait and require Wayland environment to be available, providing a
@code{wayland-display} Shepherd service.")
(x11?
(boolean #f)
"Wait and require X11 environment to be available, providing a
@code{x11-display} Shepherd service."))
(define (home-graphical-session-find-socket)
#~(lambda* (timeout directory pattern #:key wayland?)
;; Wait for an accessible socket matching PATTERN to show up in
;; DIRECTORY, up to TIMEOUT seconds.
(let loop ((attempts timeout))
(define socket
(find (match-lambda
((or "." "..") #f)
(name
(let ((name (in-vicinity directory name)))
(and (string-match pattern name)
(access? name O_RDWR)))))
(or (reverse (scandir directory))
'())))
(if socket
(let ((display
(if wayland?
socket
(string-append ":" (string-drop socket 1)))))
(format #t "Display server found at ~s.~%" display)
display)
(if (zero? attempts)
(error
(format #f "Can't find ~a environment; giving up."
(if wayland? "Wayland" "X11")))
(begin
(sleep 1)
(loop (- attempts 1))))))))
(define home-graphical-session-shepherd-service
(match-record-lambda <home-graphical-session-configuration>
(timeout wayland? x11?)
(append
(if (or wayland? x11?)
(list (shepherd-service
(documentation
"Service target to indicate a graphical session is ready.")
(provision '(graphical-session))
(requirement
(append
(if wayland?
'(wayland-display)
'())
(if x11?
'(x11-display)
'())))
(respawn? #f)
(start #~(const #t))
(stop #~(const #f))
(actions
(list (shepherd-action
(name 'set-environment)
(documentation
"Set environment variables in Shepherd.")
(procedure
#~(lambda (_ . args)
(for-each putenv args))))))))
'())
(if wayland?
(list (shepherd-service
(documentation "Find Wayland socket.")
(provision '(wayland-display))
(modules
'((ice-9 ftw)
(ice-9 match)
(ice-9 regex)
(srfi srfi-1)
(shepherd support)))
(respawn? #f)
(start
#~(lambda* (#:optional (wayland-display (getenv "WAYLAND_DISPLAY")))
(let ((wayland-display
(or wayland-display
(#$(home-graphical-session-find-socket)
#$timeout
%user-runtime-dir
"wayland-[0-9]+$"
#:wayland? #t))))
(when wayland-display
(setenv "WAYLAND_DISPLAY" wayland-display))
wayland-display)))
(stop
#~(lambda (_)
(unsetenv "WAYLAND_DISPLAY")
#f))))
'())
(if x11?
(list (shepherd-service
(documentation "Find X11 display server.")
(provision '(x11-display))
(requirement
;; XWayland starts later than the compositor.
(if wayland?
'(wayland-display)
'()))
(modules
'((ice-9 ftw)
(ice-9 match)
(ice-9 regex)
(srfi srfi-1)))
(respawn? #f)
(start
#~(lambda* (#:optional (x11-display (getenv "DISPLAY")))
(let ((x11-display
(and #$x11?
(or x11-display
(#$(home-graphical-session-find-socket)
#$timeout
"/tmp/.X11-unix"
"X[0-9]+$")))))
(when x11-display
(setenv "DISPLAY" x11-display))
x11-display)))
(stop
#~(lambda (_)
(unsetenv "DISPLAY")
#f))))
'()))))
(define home-graphical-session-service-type
(service-type
(name 'home-graphical-session)
(extensions
(list (service-extension home-shepherd-service-type
home-graphical-session-shepherd-service)))
(compose identity)
(extend
(lambda (config extensions)
(match-record config <home-graphical-session-configuration>
(wayland? x11?)
(home-graphical-session-configuration
(inherit config)
(wayland?
(if (or wayland?
(member 'wayland extensions))
#t
#f))
(x11?
(if (or x11?
(member 'x11 extensions))
#t
#f))))))
(default-value (home-graphical-session-configuration))
(description "")))
;;;
;;; Noctalia
;;;
(define-configuration/no-serialization home-noctalia-configuration
(noctalia
(file-like noctalia)
"File-like object to provide @command{/bin/noctalia}."))
(define home-noctalia-shepherd-service
(match-record-lambda <home-noctalia-configuration>
(noctalia)
(list (shepherd-service
(documentation "Start noctalia.")
(provision '(noctalia))
(requirement '(dbus graphical-session))
(modules '((shepherd support)))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append noctalia "/bin/noctalia"))
#:log-file (in-vicinity %user-log-dir "noctalia.log")
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-noctalia-service-type
(service-type
(name 'home-noctalia)
(extensions
(list (service-extension home-profile-service-type
(compose list home-noctalia-configuration-noctalia))
(service-extension home-shepherd-service-type
home-noctalia-shepherd-service)
(service-extension home-graphical-session-service-type
(const 'wayland))))
(default-value (home-noctalia-configuration))
(description "Run Noctalia, a lightweight Wayland shell and bar.")))
+150
View File
@@ -0,0 +1,150 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
;; Inspired by https://codeberg.org/guix/guix/pulls/2395
(define-module (rosenthal home services emacs)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix modules)
#:use-module (guix packages)
#:use-module (guix profiles)
#:use-module (guix records)
#:use-module (guix search-paths)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shepherd)
;; Guix build systems
#:use-module (guix build-system trivial)
;; Guix packages
#:autoload (gnu packages emacs) (emacs)
#:export (home-emacs-service-type
home-emacs-configuration))
(define-configuration/no-serialization home-emacs-configuration
(emacs
(file-like emacs)
"Emacs package to use.")
(packages
(manifest (manifest '()))
"A manifest (@pxref{Writing Manifests,,, guix, GNU Guix Reference Manual})
of Emacs extensions.")
(shepherd-requirement
(list-of-symbols '())
"List of services that should be started before this service."))
(define home-emacs-package
(match-record-lambda <home-emacs-configuration>
(emacs packages)
(let* ((home-emacs-profile
(profile
(name "home-emacs-profile")
(content (manifest
(cons (package->manifest-entry emacs)
(manifest-entries packages))))))
(home-emacs-search-paths
(map search-path-specification->sexp
(manifest-search-paths
(profile-content home-emacs-profile))))
(home-emacs-program
(program-file "home-emacs-program"
(with-imported-modules
(source-module-closure
'((guix search-paths)
(guix build utils)))
#~(begin
(use-modules (ice-9 match)
(guix search-paths)
(guix build utils))
(let ((profile #$home-emacs-profile))
;; See also (@ (guix profiles) load-profile).
(for-each
(match-lambda
((($ <search-path-specification> variable _ separator) . value)
(let ((current (getenv variable)))
(setenv variable
(if current
(if separator
(string-append value separator current)
value)
value)))))
(evaluate-search-paths
(map sexp->search-path-specification
'#$home-emacs-search-paths)
(list profile)))
(match (command-line)
((cmd . args)
(apply system*
(string-append profile "/bin/" (basename cmd))
args)))))))))
(package
(inherit emacs)
(name "emacs-wrapper")
(build-system trivial-build-system)
(arguments
(list #:modules '((guix build utils))
#:builder
#~(begin
(use-modules (ice-9 match)
(guix build utils))
(let ((bin (in-vicinity #$output "bin")))
(mkdir-p bin)
(with-directory-excursion bin
(for-each (lambda (name)
(symlink #$home-emacs-program name))
'("ctags"
"ebrowse"
"emacs"
"emacsclient"
"etags"))))
(for-each
(lambda (path)
(let ((src (in-vicinity #$home-emacs-profile path))
(dst (in-vicinity #$output path)))
(mkdir-p (dirname dst))
(copy-recursively src dst)))
'("share/applications"
"share/icons"
"share/info"
"share/man"))
(let ((applications
(in-vicinity #$output "share/applications")))
(substitute* (find-files applications "\\.desktop$")
((#$emacs) #$output))))))
(native-inputs '())
(inputs '())
(propagated-inputs '())
(outputs '("out"))))))
(define (home-emacs-shepherd config)
(match-record config <home-emacs-configuration>
(shepherd-requirement)
(let ((emacs (home-emacs-package config)))
(list (shepherd-service
(documentation "Run Emacs daemon.")
(provision '(emacs-daemon))
(requirement shepherd-requirement)
(modules '((shepherd support)))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append emacs "/bin/emacs") "--fg-daemon")
#:log-file (in-vicinity %user-log-dir "emacs-daemon.log")
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor)))))))
(define home-emacs-service-type
(service-type
(name 'home-emacs)
(extensions
(list (service-extension home-profile-service-type
(compose list home-emacs-package))
(service-extension home-shepherd-service-type
home-emacs-shepherd)))
(default-value (home-emacs-configuration))
(description "Install Emacs into home profile and run its daemon.")))
+91
View File
@@ -0,0 +1,91 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal home services gtk)
;; Guilt builtins
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
#:use-module (rosenthal utils file)
;; Guix Home - services
#:use-module (gnu home services)
#:export (home-gtk2-service-type
home-gtk3-service-type
home-gtk4-service-type))
(define (home-gtk2-environment-variables config)
(if (null? config)
'()
;; https://wiki.archlinux.org/title/XDG_Base_Directory
'(("GTK2_RC_FILES" . "$XDG_CONFIG_HOME/gtk-2.0/gtkrc"))))
(define (home-gtk2-xdg-configuration-files config)
(if (null? config)
'()
`(("gtk-2.0/gtkrc"
,(computed-file "gtkrc"
#~(begin
(use-modules (ice-9 match))
(call-with-output-file #$output
(lambda (port)
(for-each (match-lambda
((key . val)
(format port "~a = ~a~%" key val)))
'#$config))))
#:options '(#:substitutable? #f))))))
(define (home-gtk3-xdg-configuration-files config)
(if (null? config)
'()
`(("gtk-3.0/settings.ini"
,(ini-file "settings.ini"
#~'(("Settings" . #$config)))))))
(define (home-gtk4-xdg-configuration-files config)
(if (null? config)
'()
`(("gtk-4.0/settings.ini"
,(ini-file "settings.ini"
#~'(("Settings" . #$config)))))))
(define home-gtk2-service-type
(service-type
(name 'home-gtk2)
(extensions
(list (service-extension home-environment-variables-service-type
home-gtk2-environment-variables)
(service-extension home-xdg-configuration-files-service-type
home-gtk2-xdg-configuration-files)))
(compose concatenate)
(extend
(lambda (config extension)
(delete-duplicates
;; Allow overriding extensions via configuration.
(append config
extension)
(lambda (a b)
(string=? (car a)
(car b))))))
(description "Set up GTK2 settings in @file{~/.config/gtk-2.0/gtkrc}")
(default-value '())))
(define home-gtk3-service-type
(service-type
(inherit home-gtk2-service-type)
(name 'home-gtk3)
(extensions
(list (service-extension home-xdg-configuration-files-service-type
home-gtk3-xdg-configuration-files)))
(description
"Set up GTK3 settings in @file{~/.config/gtk-3.0/settings.ini}")))
(define home-gtk4-service-type
(service-type
(inherit home-gtk2-service-type)
(name 'home-gtk4)
(extensions
(list (service-extension home-xdg-configuration-files-service-type
home-gtk4-xdg-configuration-files)))
(description
"Set up GTK4 settings in @file{~/.config/gtk-4.0/settings.ini}")))
@@ -0,0 +1,274 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2021 Andrew Tropin <andrew@trop.in>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal home services writable-files-manager)
#:use-module (gnu home services)
#:use-module (guix gexp)
#:use-module (guix modules)
#:autoload (gnu packages gnupg) (guile-gcrypt)
#:export (home-writable-files-manager-service-type))
;;; Based on (gnu home services symlink-manager).
;;; This service is a replacement to home-symlink-manager-service-type.
;;;
;;; Usage:
;;;--8<---------------cut here---------------start------------->8---
;;; (home-environment
;;; (essential-services
;;; (cons* (service home-writable-files-manager-service-type)
;;; (modify-services ((@@ (gnu home) home-environment-default-essential-services)
;;; this-home-environment)
;;; (delete home-symlink-manager-service-type)))
;;; ...))
;;;--8<---------------cut here---------------end--------------->8---
;;;
;;; Files managed by Guix Home are copied as regular file and made writable.
;;; Directories are still symlinked.
(define (update-writable-files-script)
(program-file
"update-writable-files"
(with-extensions (list guile-gcrypt)
(with-imported-modules (source-module-closure
'((guix build utils)
(guix hash)
(guix i18n)))
#~(begin
(use-modules (ice-9 ftw)
(ice-9 match)
(srfi srfi-1)
(guix hash)
(guix i18n)
(guix build utils))
(define home-directory
(getenv "HOME"))
(define xdg-config-home
(or (getenv "XDG_CONFIG_HOME")
(string-append (getenv "HOME") "/.config")))
(define xdg-data-home
(or (getenv "XDG_DATA_HOME")
(string-append (getenv "HOME") "/.local/share")))
(define backup-directory
(string-append home-directory "/" (number->string (current-time))
"-guix-home-legacy-configs-backup"))
(define (preprocess-file file)
"If file is in XDG-CONFIGURATION-FILES-DIRECTORY use
subdirectory from XDG_CONFIG_HOME to generate a target path."
(cond
((string-prefix? #$xdg-configuration-files-directory file)
(string-append
(substring xdg-config-home
(1+ (string-length home-directory)))
(substring file
(string-length #$xdg-configuration-files-directory))))
((string-prefix? #$xdg-data-files-directory file)
(string-append
(substring xdg-data-home
(1+ (string-length home-directory)))
(substring file
(string-length #$xdg-data-files-directory))))
(else file)))
(define (target-file file)
;; Return the target of FILE, a config file name sans leading dot
;; such as "config/fontconfig/fonts.conf" or "bashrc".
(string-append home-directory "/" (preprocess-file file)))
(define (no-follow-file-exists? file)
"Return #t if file exists, even if it's a dangling symlink."
(->bool (false-if-exception (lstat file))))
(define (symlink-to-store? file)
(catch 'system-error
(lambda ()
(store-file-name? (readlink file)))
(lambda args
(if (= EINVAL (system-error-errno args))
#f
(apply throw args)))))
(define (backup-file file)
(define backup
(string-append backup-directory "/" (preprocess-file file)))
(define (copy-file* oldfile newfile)
"Like 'copy-file', but also copies dangling symlinks."
(catch 'system-error
(lambda ()
(copy-file oldfile newfile))
(lambda args
(if (and (eq? 'symlink (stat:type (lstat oldfile)))
(= ENOENT (system-error-errno args)))
(symlink (readlink oldfile) newfile)
(apply throw args)))))
(mkdir-p backup-directory)
(format #t (G_ "Backing up ~a...") (target-file file))
(mkdir-p (dirname backup))
(copy-file* (target-file file) backup)
(delete-file (target-file file))
(display (G_ " done\n")))
(define (cleanup-writable-files home-generation)
;; Delete from $HOME files that originate in HOME-GENERATION, the
;; store item containing a home generation.
(define config-file-directory
;; Note: Trailing slash is needed because "files" is a symlink.
(string-append home-generation "/" #$home-files-directory "/"))
(define (strip file)
(string-drop file
(+ 1 (string-length config-file-directory))))
(define (source-file file)
(readlink (string-append config-file-directory file)))
(format #t (G_ "Cleaning up writable files from previous home at ~a.~%")
home-generation)
(newline)
(file-system-fold
(const #t)
(lambda (file stat _) ;leaf
(let ((source (source-file (strip file)))
(target (target-file (strip file))))
(when (no-follow-file-exists? target)
;; DO NOT remove the file if it is different from the one
;; we'll create later, it will be backed up later during
;; create-writable-files phase.
(if (or (symlink-to-store? target)
(equal? (file-hash* source)
(file-hash* target)))
(begin
(format #t (G_ "Removing ~a...") target)
(delete-file target)
(display (G_ " done\n")))
(format
#t
(G_ "Skipping ~a (file changed)... done\n")
target)))))
(const #t) ;down
(lambda (directory stat _) ;up
(unless (string=? directory config-file-directory)
(let ((directory (target-file (strip directory))))
(catch 'system-error
(lambda ()
(rmdir directory)
(format #t (G_ "Removed ~a.\n") directory))
(lambda args
(let ((errno (system-error-errno args)))
(cond
((= ENOTEMPTY errno)
(format
#t
(G_ "Skipping ~a (not an empty directory)... done\n")
directory))
;; This happens when the directory is a mounted device.
((= EBUSY errno)
(format
#t
(G_ "Skipping ~a (underlying device is busy)... done\n")
directory))
((= ENOENT errno) #t)
((= ENOTDIR errno) #t)
(else
(apply throw args)))))))))
(const #t) ;skip
(const #t) ;error
#t ;init
config-file-directory
lstat)
(display (G_ "Cleanup finished.\n\n")))
(define (create-writable-files home-generation)
;; Create in $HOME writable files for the files in HOME-GENERATION.
(define config-file-directory
;; Note: Trailing slash is needed because "files" is a symlink.
(string-append home-generation "/" #$home-files-directory "/"))
(define (strip file)
(string-drop file
(+ 1 (string-length config-file-directory))))
(define (source-file file)
(readlink (string-append config-file-directory file)))
(file-system-fold
(const #t) ;enter?
(lambda (file stat result) ;leaf
(let ((source (source-file (strip file)))
(target (target-file (strip file))))
(when (no-follow-file-exists? target)
(backup-file (strip file)))
(format #t (G_ "Copying ~a -> ~a...")
source target)
(if (file-is-directory? source)
(symlink source target)
(begin
(copy-file source target)
(make-file-writable target)))
(display (G_ " done\n"))))
(lambda (directory stat result) ;down
(unless (string=? directory config-file-directory)
(let ((target (target-file (strip directory))))
(when (and (no-follow-file-exists? target)
(not (file-is-directory? target)))
(backup-file (strip directory)))
(catch 'system-error
(lambda ()
(mkdir target))
(lambda args
(let ((errno (system-error-errno args)))
(unless (= EEXIST errno)
(format #t (G_ "failed to create directory ~a: ~s~%")
target (strerror errno))
(apply throw args))))))))
(const #t) ;up
(const #t) ;skip
(const #t) ;error
#t ;init
config-file-directory))
#$%initialize-gettext
(let* ((home (string-append home-directory "/.guix-home"))
(pivot (string-append home ".new"))
(new-home (getenv "GUIX_NEW_HOME"))
(old-home (getenv "GUIX_OLD_HOME")))
(when old-home
(cleanup-writable-files old-home))
(create-writable-files new-home)
(symlink new-home pivot)
(rename-file pivot home)
(display (G_" done\nFinished updating writable files.\n\n"))))))))
(define (update-writable-files-gexp _)
#~(primitive-load #$(update-writable-files-script)))
(define home-writable-files-manager-service-type
(service-type (name 'home-writable-files-manager)
(extensions
(list
(service-extension
home-activation-service-type
update-writable-files-gexp)))
(default-value #f)
(description "Provide an @code{update-writable-files} script,
which copies files to configuration files, makes them writable and creates
symlinks to directories on every activation. If an existing file would be
overwritten, backs up that file first.")))
+120
View File
@@ -0,0 +1,120 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022, 2025 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2025 William Goodspeed
(define-module (rosenthal packages admin)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils cargo)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system cargo)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
;; Guix packages
#:use-module (gnu packages admin)
#:use-module (gnu packages linux)
#:use-module (gnu packages m4)
#:use-module (gnu packages pkg-config))
(define-public dinit
(package
(name "dinit")
(version "0.22.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/davmac314/dinit")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "009y71cyrwr5l5a28jfir5iyh54snd1jfv52gs2c1qfzinvdv1v2"))))
(build-system gnu-build-system)
(arguments
(list #:configure-flags
#~(list "--shutdown-prefix=dinit-"
(string-append "--sbindir=" #$output "/sbin"))
#:make-flags
#~(list (string-append "CXX=" #$(cxx-for-target))
"CXX_FOR_BUILD=g++")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/shutdown.cc"
(("(/sbin/swapoff|/bin/umount)" path)
(search-input-file inputs path))))))))
(native-inputs (list m4))
(inputs (list util-linux))
(home-page "https://davmac.org/projects/dinit/")
(synopsis "Service manager with dependency management")
(description
"Dinit is a service manager for Unix-like operating systems that allows
the user to manage services with dependencies and parallel startup.")
(license license:asl2.0)))
(define-public libseat-sans-logind
(package
(inherit libseat)
(name "libseat-sans-logind")
(arguments
(substitute-keyword-arguments arguments
((#:configure-flags configure-flags)
#~(append #$configure-flags
(list "-Dlibseat-logind=disabled")))))
(propagated-inputs '())
(properties '((disable-updater? . #t)))))
(define-public pam-dumb-runtime-dir
(package
(name "pam-dumb-runtime-dir")
(version "1.0.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ifreund/dumb_runtime_dir")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0nrxhvbh3bs4pi4f5h03zw1p1ys19qmmlx263ysly8302wkxk1m4"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f ;No tests.
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "DESTDIR=" #$output)
"PREFIX=")
#:phases
#~(modify-phases %standard-phases
;; No configure script.
(delete 'configure))))
(native-inputs (list pkg-config))
(inputs (list linux-pam))
(home-page "https://github.com/ifreund/dumb_runtime_dir")
(synopsis "Create @code{XDG_RUNTIME_DIR} on login and never remove it")
(description
"This package creates an @code{XDG_RUNTIME_DIR} directory on login per
the freedesktop.org base directory spec. Flaunts the spec and never removes
it, even after last logout. This keeps things simple and predictable.
The user is responsible for ensuring that the @file{/run/user} directory
exists and is only writable by root.")
(license license:bsd-0)))
(define-public seatd-sans-logind
(package
(inherit seatd)
(name "seatd-sans-logind")
(arguments
(substitute-keyword-arguments arguments
((#:configure-flags configure-flags)
#~(append #$configure-flags
(list "-Dlibseat-logind=disabled")))))
(propagated-inputs '())
(properties '((disable-updater? . #t)))))
+52
View File
@@ -0,0 +1,52 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages animation)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system cmake)
;; Guix packages
#:use-module (gnu packages animation)
#:use-module (gnu packages compression)
#:use-module (gnu packages image))
(define-public lottie-converter
(let ((commit "3ad34af7bbcf9197fda782a5832b18b72a3bb939")
(revision "0"))
(package
(name "lottie-converter")
(version (git-version "0.2" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sot-tech/LottieConverter")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"12py6y05cv38cri0q813m7nsaizhqjnqnq0jp6bfviam5cq240p8"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags
#~(list "-DSYSTEM_PNG=1"
"-DSYSTEM_RL=1"
"-DSYSTEM_GL=1")
#:phases
#~(modify-phases %standard-phases
(replace 'install
(lambda _
(let ((bindir (in-vicinity #$output "bin")))
(install-file "lottieconverter" bindir)))))))
(inputs (list giflib libpng rlottie zlib))
(synopsis "Lottie animation converter")
(description "This package provides a simple lottie animation converter.
Animations can be converted to PNG (with transparency) or GIF.")
(home-page "https://github.com/sot-tech/LottieConverter")
(license license:bsd-3)
(properties '((disable-updater? . #t))))))
@@ -0,0 +1,64 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages authentication)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system qt)
;; Guix packages
#:use-module (gnu packages gnome)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages qt))
(define-public bb-auth
(package
(name "bb-auth")
(version "0.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/anthonyhab/bb-auth")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1jx526h7qw7mw4cp2c8ys4ck1qlc5v9qf51zvj951l4kqbrs0w44"))
(patches (rosenthal-patches "bb-auth.patch"))))
(build-system qt-build-system)
(arguments
(list #:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-test-references
(lambda _
(substitute* (find-files "tests")
(("/bin/(true|false)" _ cmd)
(which cmd)))))
(add-after 'qt-wrap 'patch-script
(lambda _
(with-directory-excursion (in-vicinity #$output "libexec")
(substitute* "pinentry-bb"
(("libexec/bb-auth\"" all)
(string-append all " \"--pinentry\"")))
(substitute* "bb-keyring-prompter"
(("libexec/bb-auth\"" all)
(string-append all " \"--keyring\"")))))))))
(native-inputs
(list pkg-config))
(inputs
(list gcr
json-glib-minimal
polkit
polkit-qt6))
(home-page "https://github.com/anthonyhab/bb-auth")
(synopsis "Unified polkit, keyring, and pinentry authentication daemon")
(description "")
(license license:bsd-3)))
+675
View File
@@ -0,0 +1,675 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023-2024 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages binaries)
;; Guile builtins
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (gnu build icecat-extension)
#:use-module (guix deprecation)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix platform)
#:use-module (guix utils)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix download)
;; Guix build systems
#:use-module (guix build-system gnu)
#:use-module (guix build-system copy)
;; Guix packages
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages bootstrap)
#:use-module (gnu packages compression)
#:use-module (gnu packages elf)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
#:use-module (gnu packages hardware)
#:use-module (gnu packages java)
#:use-module (gnu packages nss)
#:use-module (gnu packages sync)
#:use-module (rosenthal packages networking)
#:use-module (rosenthal packages rust-apps)
#:use-module (rosenthal packages web))
(define license
(@@ (guix licenses) license))
(define-public cloudflare-warp-bin
(package
(name "cloudflare-warp-bin")
(version "2026.6.880.0")
(source (origin
(method url-fetch)
(uri (string-append "https://pkg.cloudflareclient.com"
"/pool/bookworm/main/c/cloudflare-warp/"
"cloudflare-warp_" version "_amd64.deb"))
(sha256
(base32
"1wf2p09c1ak4mnnpl5pgnwlfy1x4nmhvsfnapyj1gdys93w4v7iy"))))
(build-system gnu-build-system)
(arguments
(list
#:tests? (not (%current-target-system))
#:imported-modules
(append %default-gnu-imported-modules
%copy-build-system-modules)
#:modules
'((guix build utils)
(guix build gnu-build-system)
((guix build copy-build-system) #:prefix copy:))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(add-after 'unpack 'unpack-deb
(lambda* (#:key source #:allow-other-keys)
(invoke "ar" "-x" source)
(invoke "tar" "-xf" "data.tar.gz")))
(replace 'install
(lambda args
(apply (assoc-ref copy:%standard-phases 'install)
#:install-plan
'(("bin" "bin" #:include ("warp-cli" "warp-svc")))
args)))
(add-after 'install 'patch-elf
(lambda* (#:key inputs #:allow-other-keys)
(let* ((ld.so (search-input-file inputs #$(glibc-dynamic-linker)))
(rpath
(string-join
(cons* (dirname ld.so)
(dirname
(search-input-file inputs "lib/nss/libnss3.so"))
(map (lambda (lib)
(dirname (search-input-file
inputs (in-vicinity "lib" lib))))
'("libdbus-1.so"
"libgcc_s.so"
"libnspr4.so"
"libtss2-esys.so")))
":")))
(define (patch-elf file)
(format #t "Patching ~a ..." file)
(unless (string-contains file ".so")
(invoke "patchelf" "--set-interpreter" ld.so file))
(invoke "patchelf" "--set-rpath" rpath file)
(display " done\n"))
(for-each (lambda (file)
(patch-elf file))
(find-files
(string-append #$output "/bin"))))))
(add-after 'patch-elf 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/warp-cli")))
(when tests?
(invoke cmd "--help")
(invoke cmd "--version"))))))))
(supported-systems '("x86_64-linux"))
(native-inputs (list patchelf-0.16))
(inputs (list dbus `(,gcc "lib") glibc nspr nss tpm2-tss))
(home-page "https://1.1.1.1/")
(synopsis "Cloudflare WARP client")
(description
"The Cloudflare WARP client allows individuals to have a faster, more
secure, and more private experience online. The WARP client sits between your
device and the Internet, and has several connection modes to better suit
different needs.")
(license
(license "Nonfree"
"https://www.cloudflare.com/application/terms/"
"This is a nonfree license. Check the URI for details."))
(properties
'((upstream-name . "cloudflare-warp")
(release-monitoring-url
. "https://pkg.cloudflareclient.com/dists/bookworm/main/binary-amd64/Packages")))))
(define-public tuwunel-bin
(package
(name "tuwunel-bin")
(version "1.8.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/matrix-construct/tuwunel"
"/releases/download/v" version "/v" version
"-release-all-x86_64-v1-linux-gnu-tuwunel.zst"))
(file-name (string-append name "-" version ".zst"))
(sha256
(base32
"0v6dlarsdr8rnj3gr7m3la0hv9xv18cyc4jx46qy0lljiwjrcdw2"))))
(build-system gnu-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:imported-modules
(append %default-gnu-imported-modules
%copy-build-system-modules)
#:modules
'((guix build utils)
(guix build gnu-build-system)
((guix build copy-build-system) #:prefix copy:))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda args
(apply (assoc-ref copy:%standard-phases 'install)
#:install-plan
'((#$(format #f "~a-~a"
(package-name this-package)
(package-version this-package))
"bin/tuwunel"))
args)))
(add-after 'install 'fix-permission
(lambda _
(chmod (string-append #$output "/bin/tuwunel") #o555)))
(add-after 'fix-permission 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((tuwunel (search-input-file outputs "bin/tuwunel")))
(when tests?
(invoke tuwunel "--help")
(invoke tuwunel "--version"))))))))
(supported-systems '("x86_64-linux"))
(synopsis "Matrix homeserver")
(description
"Tuwunel is a featureful Matrix homeserver you can use instead of Synapse
with your favorite client, bridge or bot. It is written entirely in Rust to be
a scalable, lightweight, low-cost, community-driven alternative covering all but
the most niche uses.")
(home-page "https://matrix-construct.github.io/tuwunel/")
(license license:asl2.0)
(properties '((upstream-name . "tuwunel")
(disable-updater? . #t)))))
(define-public komga-bin
(package
(name "komga-bin")
(version "1.26.3")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/gotson/komga/releases/download/" version
"/komga-" version ".jar"))
(sha256
(base32
"09vrygb58zpngq9bp4zl3ip8h5am39nlni5igj6hpirw8p0v2g0n"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'((#$(string-append "komga-" (package-version this-package) ".jar")
"lib/komga/komga.jar"))
#:phases
#~(modify-phases %standard-phases
(replace 'install
(lambda* (#:key inputs source #:allow-other-keys)
(let* ((lib (in-vicinity #$output "lib/komga"))
(bin (in-vicinity #$output "bin"))
(jar (in-vicinity lib "komga.jar"))
(exe "komga"))
(mkdir-p lib)
(copy-file source jar)
(call-with-output-file exe
(lambda (port)
(format port "~
#!~a
export LC_ALL=C.UTF-8
exec ~a -jar ~a $@~%"
(search-input-file inputs "bin/bash")
(search-input-file inputs "bin/java")
jar)))
(chmod exe #o555)
(install-file exe bin)))))))
(inputs (list bash-minimal openjdk))
(home-page "https://komga.org/")
(synopsis "Media server for comics/mangas/BDs/magazines/eBooks")
(description
"Komga is a media server for your comics, mangas, BDs, magazines and
eBooks.")
(supported-systems '("x86_64-linux"))
(license license:expat)
(properties '((upstream-name . "komga")))))
(define-public navidrome-bin
(package
(name "navidrome-bin")
(version "0.63.2")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/navidrome/navidrome/releases/download/v"
version "/navidrome_" version "_linux_amd64.tar.gz"))
(sha256
(base32
"1w6lvqyhlgf4xi1jybpgnn5y6ga2cs39i5vv734sj4fcwmpnsk12"))))
(build-system gnu-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:imported-modules
(append %default-gnu-imported-modules
%copy-build-system-modules)
#:modules
'((guix build utils)
(guix build gnu-build-system)
((guix build copy-build-system) #:prefix copy:))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda args
(apply (assoc-ref copy:%standard-phases 'install)
#:install-plan '(("navidrome" "bin/"))
args)))
(add-after 'install 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/navidrome")))
(when tests?
(invoke cmd "--help")
(invoke cmd "--version"))))))))
(supported-systems '("x86_64-linux"))
(home-page "https://www.navidrome.org/")
(synopsis "Web-based music collection server and streamer")
(description
"Navidrome is a self-hosted music server that allows users to stream and
manage their music collections. It provides a web interface and is compatible
with the Subsonic API.")
(license license:expat)
(properties '((upstream-name . "navidrome")))))
(define-deprecated-package rclone-bin rclone)
(define-public shadow-tls-bin
(package
(name "shadow-tls-bin")
(version "0.2.25")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/ihciah/shadow-tls/releases/download/v"
version "/shadow-tls-x86_64-unknown-linux-musl"))
(sha256
(base32
"0chmqzfmyw5w8ybshkwigc3r25svq7fyw371d0dj2ibzsprgawx1"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("shadow-tls-x86_64-unknown-linux-musl" "bin/shadow-tls"))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'fix-permission
(lambda _
(chmod (string-append #$output "/bin/shadow-tls") #o555))))))
(supported-systems '("x86_64-linux"))
(home-page "https://www.ihcblog.com/a-better-tls-obfs-proxy/")
(synopsis "Proxy to expose real tls handshake to the firewall")
(description
"Shadow TLS is a proxy to expose real tls handshake to the @acronym{MITM,
monster-in-the-middle}.")
(license license:expat)
(properties '((upstream-name . "shadow-tls")))))
(define-public wakapi-bin
(package
(name "wakapi-bin")
(version "2.17.6")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/muety/wakapi/releases/download/"
version "/wakapi_linux_amd64.zip"))
(sha256
(base32
"0pcf7n9znjb9yisf6kpxg79rlkxlrifahzp644z1ga5zrc1cjr9q"))))
(build-system gnu-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:imported-modules
(append %default-gnu-imported-modules
%copy-build-system-modules)
#:modules
'((guix build utils)
(guix build gnu-build-system)
((guix build copy-build-system) #:prefix copy:))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda args
(apply (assoc-ref copy:%standard-phases 'install)
#:install-plan '(("wakapi" "bin/wakapi"))
args)))
(add-after 'install 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/wakapi")))
(when tests?
(invoke cmd "--help")
(invoke cmd "--version"))))))))
(supported-systems '("x86_64-linux"))
(native-inputs (list unzip))
(home-page "https://wakapi.dev/")
(synopsis "WakaTime-compatible backend")
(description
"This package provides @code{wakapi}, a WakaTime-compatible backend for
coding statistics.")
(license license:expat)
(properties '((upstream-name . "wakapi")))))
(define-public wakatime-cli-bin
(package
(name "wakatime-cli-bin")
(version "2.24.4")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/wakatime/wakatime-cli"
"/releases/download/v" version
"/wakatime-cli-linux-amd64.zip"))
(sha256
(base32
"19g1y19k76pmnzi7irsk1jb7dvrqjd5884434x1s441v4zz6bynz"))))
(build-system gnu-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:imported-modules
(append %default-gnu-imported-modules
%copy-build-system-modules)
#:modules
'((guix build utils)
(guix build gnu-build-system)
((guix build copy-build-system) #:prefix copy:))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda args
(apply (assoc-ref copy:%standard-phases 'install)
#:install-plan
'(("wakatime-cli-linux-amd64" "bin/wakatime-cli"))
args)))
(add-after 'install 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/wakatime-cli")))
(when tests?
(setenv "HOME" "/tmp")
(invoke cmd "--help")
(invoke cmd "--version"))))))))
(supported-systems '("x86_64-linux"))
(native-inputs (list unzip))
(home-page "https://wakatime.com/plugins")
(synopsis "Command line interface to WakaTime")
(description
"This package provides @command{wakatime-cli}, the command line interface
to WakaTime, which is used by all WakaTime text editor plugins.")
(license license:bsd-3)
(properties '((upstream-name . "wakatime-cli")))))
(define-public grafana-bin
(package
(name "grafana-bin")
(version "12.4.2")
(source (origin
(method url-fetch)
(uri (string-append "https://dl.grafana.com/grafana/release/"
version "/grafana_" version "_"
"23531306697_linux_amd64.tar.gz"))
(sha256
(base32
"07sr78wi5nqlsx1nfj87bzgq29hcflqm6r5f5xcn9gq3m00b4h7j"))))
(build-system copy-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:install-plan
#~'(("bin" "bin")
("conf" "share/grafana/")
("public" "share/grafana/"))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/grafana")))
(when tests?
(invoke cmd "--help")
(invoke cmd "--version"))))))))
(synopsis "Platform for monitoring and observability")
(description
"Grafana allows you to query, visualize, alert on and understand your
metrics no matter where they are stored.")
(home-page "https://grafana.com/")
(license license:agpl3)
(supported-systems '("x86_64-linux"))
(properties '((upstream-name . "grafana")
(disable-updater? . #t)))))
(define-public prometheus-bin
(package
(name "prometheus-bin")
(version "3.14.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/prometheus/prometheus"
"/releases/download/v" version
"/prometheus-" version ".linux-amd64.tar.gz"))
(sha256
(base32
"13a76636fw649d89nx4apwbv9jckjxyhrlqmr6cs6yzb37dccrgn"))))
(build-system gnu-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:imported-modules
(append %default-gnu-imported-modules
%copy-build-system-modules)
#:modules
'((guix build utils)
(guix build gnu-build-system)
((guix build copy-build-system) #:prefix copy:))
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda args
(apply (assoc-ref copy:%standard-phases 'install)
#:install-plan
'(("prometheus" "bin/")
("promtool" "bin/")
("prometheus.yml" "etc/"))
args)))
(add-after 'install 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/prometheus")))
(when tests?
(invoke cmd "--help")
(invoke cmd "--version"))))))))
(synopsis "Monitoring system and time series database")
(description
"Prometheus is a systems and service monitoring system. It collects
metrics from configured targets at given intervals, evaluates rule expressions,
displays the results, and can trigger alerts when specified conditions are
observed.")
(home-page "https://prometheus.io/")
(license license:asl2.0)
(supported-systems '("x86_64-linux"))
(properties '((upstream-name . "prometheus")))))
(define-public mimir-bin
(package
(name "mimir-bin")
(version "3.0.4")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/grafana/mimir/releases/download/mimir-"
version "/mimir-linux-amd64"))
(sha256
(base32
"09bhfbax659p1svzk8gq37vckqd62xsr219ab8f4r36c74ml3vz8"))))
(build-system copy-build-system)
(arguments
(list #:tests? (not (%current-target-system))
#:phases
#~(modify-phases %standard-phases
(replace 'install
(lambda* (#:key source #:allow-other-keys)
(let ((name "mimir")
(dest (in-vicinity #$output "bin")))
(mkdir-p dest)
(with-directory-excursion dest
(copy-file source name)
(chmod name #o555)))))
(add-after 'install 'check
(lambda* (#:key tests? outputs #:allow-other-keys)
(let ((cmd (search-input-file outputs "bin/mimir")))
(when tests?
(invoke cmd "-version"))))))))
(synopsis "Scalable long-term storage for Prometheus")
(description
"Grafana Mimir provides horizontally scalable, highly available,
multi-tenant, long-term storage for Prometheus.")
(home-page "https://grafana.com/oss/mimir/")
(license license:agpl3)
(supported-systems '("x86_64-linux"))
(properties '((upstream-name . "mimir")
(disable-updater? . #t)))))
(define-public loki-bin
(package
(name "loki-bin")
(version "3.7.6")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/grafana/loki/releases/download/v"
version "/loki-linux-amd64.zip"))
(sha256
(base32
"1sj8a9nmva2lnvbca8x62wy2lwlhnahdr99rpw814n0nfm117lh9"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("loki-linux-amd64" "bin/loki"))))
(native-inputs (list unzip))
(synopsis "Log aggregation system")
(description
"Loki is a horizontally scalable, highly available, multi-tenant log
aggregation system inspired by Prometheus. It is designed to be very cost
effective and easy to operate. It does not index the contents of the logs, but
rather a set of labels for each log stream.")
(home-page "https://grafana.com/oss/loki/")
(license license:agpl3)
(supported-systems '("x86_64-linux"))
(properties '((upstream-name . "loki")))))
;;;
;;; alloy
;;;
(define-public %alloy-source-x86_64-linux
(package
(inherit %binary-source)
(name "alloy")
(version "1.18.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/grafana/alloy/releases/download/v"
version "/alloy-linux-amd64.zip"))
(sha256
(base32
"0g28gg013a8i3d35aqfxhsp94hzp65dni6lg6si50flqqg5m7j7s"))))))
(define-public %alloy-source-aarch64-linux
(package
(inherit %binary-source)
(name "alloy")
(version "1.18.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/grafana/alloy/releases/download/v"
version "/alloy-linux-arm64.zip"))
(sha256
(base32
"1mknhvxbppcg5x2lwk7832l6wlk2h7cm7y8ay34xc515wb7ld529"))))))
(define-public alloy-bin
(binary-package
`(("x86_64-linux" . ,%alloy-source-x86_64-linux)
("aarch64-linux" . ,%alloy-source-aarch64-linux))
(package
(name "alloy-bin")
(version "")
(source #f)
(build-system gnu-build-system)
(arguments
(list
#:modules
`((ice-9 match)
,@%default-gnu-modules)
#:phases
#~(modify-phases %standard-phases
(delete 'bootstrap)
(delete 'configure)
(delete 'build)
(delete 'check)
(replace 'install
(lambda _
(let ((src #$(mapping-for-system
'(("x86_64-linux" . "alloy-linux-amd64")
("aarch64-linux" . "alloy-linux-arm64"))))
(dst (in-vicinity #$output "bin/alloy")))
(mkdir-p (dirname dst))
(copy-file src dst))))
(add-after 'install 'patch-elf
(lambda* (#:key inputs #:allow-other-keys)
(let ((ld.so (search-input-file inputs #$(glibc-dynamic-linker)))
(dest (in-vicinity #$output "bin"))
(name "alloy"))
(with-directory-excursion dest
(invoke "patchelf" "--set-interpreter" ld.so name)
(invoke "patchelf" "--set-rpath" (dirname ld.so) name)
(chmod name #o555)))))
(add-after 'patch-elf 'install-extras
(lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
(let ((alloy
(search-input-file
(if #$(%current-target-system)
native-inputs
outputs)
"bin/alloy")))
(for-each
(match-lambda
((shell . file)
(mkdir-p (in-vicinity #$output (dirname file)))
(with-output-to-file (in-vicinity #$output file)
(lambda ()
(invoke alloy "completion" shell)))))
'(("bash" . "share/bash-completion/completions/alloy")
("fish" . "share/fish/vendor_completions.d/alloy.fish")
("zsh" . "share/zsh/site-functions/_alloy")))))))))
(native-inputs
(append (if (%current-target-system)
(list this-package)
'())
(list patchelf-0.16 unzip)))
(supported-systems '("x86_64-linux" "aarch64-linux"))
(home-page "https://grafana.com/oss/alloy-opentelemetry-collector/")
(synopsis
"OpenTelemetry Collector distribution with programmable pipelines")
(description
"Grafana Alloy is an open source OpenTelemetry Collector distribution with
built-in Prometheus pipelines and support for metrics, logs, traces, and
profiles.")
(license license:agpl3))))
(define-deprecated-package alloy-bin-aarch64-linux alloy-bin)
+183
View File
@@ -0,0 +1,183 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023-2025 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2024 Lilah Tascheter <lilah@lunabee.space>
(define-module (rosenthal packages bootloaders)
#:use-module (srfi srfi-26)
;; Utilities
#:use-module (guix deprecation)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
;; Guix packages
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bootloaders)
#:use-module (gnu packages crypto)
#:use-module (gnu packages assembly)
#:use-module (gnu packages mtools)
#:use-module (gnu packages efi)
#:use-module (gnu packages gperf)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-xyz)
#:export (systemd-stub-name))
(define-deprecated-package grub-efi-luks2 grub-efi)
(define-public limine
(package
(name "limine")
(version "11.3.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/Limine-Bootloader/Limine/releases"
"/download/v" version "/limine-" version ".tar.xz"))
(sha256
(base32
"0d0221xc3374xq6bx26dkmidcf6slxc6dq6qnjdc3lrx3xda21jw"))))
(build-system gnu-build-system)
(arguments
(list #:tests? #f
#:configure-flags
#~(list (string-append
"TOOLCHAIN_FOR_TARGET="
#$(or (and=> (%current-target-system)
(cut string-append <> "-"))
""))
(string-append "--prefix=" #$output)
#$@(if (target-x86?)
'("--enable-bios-cd"
"--enable-bios-pxe"
"--enable-bios"
"--enable-uefi-ia32")
'())
#$@(if (target-x86-64?)
'("--enable-uefi-x86-64")
'())
#$@(if (target-aarch64?)
'("--enable-uefi-aarch64")
'())
#$@(if (target-riscv64?)
'("--enable-uefi-riscv64")
'())
#$@(if (target-loongarch64?)
'("--enable-uefi-loongarch64")
'()))
#:make-flags
#~(list "SHELL=sh")))
(native-inputs (list mtools nasm))
(home-page "https://github.com/Limine-Bootloader/Limine")
(synopsis "Multiprotocol bootloader and boot manager")
(description
"Limine is a multiprotocol bootloader and boot manager. It's also used as
the reference implementation for the Limine boot protocol.")
(license license:bsd-2)
(properties '((disable-updater? . #t)))))
;;;
;;; Unified Kernel Image support.
;;;
(define (systemd-stub-name)
(let ((arch (cond ((target-x86-32?) "ia32")
((target-x86-64?) "x64")
((target-arm32?) "arm")
((target-aarch64?) "aa64")
((target-riscv64?) "riscv64"))))
(string-append "linux" arch ".efi.stub")))
(define-public systemd-stub
(package
(name "systemd-stub")
(version "261.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/systemd/systemd")
(commit (string-append "v" version))))
(file-name (git-file-name "name" version))
(sha256
(base32
"014mjygixfh9j1p1f09xgy114v5lfah6hwh8xcscy1nqxk3p2hf3"))))
(build-system meson-build-system)
(arguments
(list #:tests? #f
#:configure-flags
`(list "-Defi=true" "-Dsbat-distro=guix"
"-Dsbat-distro-generation=1" ; package revision!
"-Dsbat-distro-summary=Guix System"
"-Dsbat-distro-url=https://guix.gnu.org"
,(string-append "-Dsbat-distro-pkgname=" name)
,(string-append "-Dsbat-distro-version=" version))
#:phases
#~(let ((stub #$(string-append "src/boot/" (systemd-stub-name))))
(modify-phases %standard-phases
(replace 'build
(lambda* (#:key parallel-build? #:allow-other-keys)
(invoke "ninja" stub
"-j" (if parallel-build?
(number->string (parallel-job-count)) "1"))))
(replace 'install
(lambda _
(install-file stub (string-append #$output "/libexec"))))))))
(inputs (list libcap libxcrypt python-pyelftools `(,util-linux "lib")))
(native-inputs (list gperf pkg-config python-minimal python-jinja2))
(home-page "https://systemd.io/")
(synopsis "Unified kernel image UEFI stub")
(description "Simple UEFi boot stub that loads a conjoined kernel image and
supporting data to their proper locations, before chainloading to the kernel.
Supports measured and/or verified boot environments.")
(license license:lgpl2.1+)))
(define-public ukify
(package
(name "ukify")
(version "261.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/systemd/systemd")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"014mjygixfh9j1p1f09xgy114v5lfah6hwh8xcscy1nqxk3p2hf3"))))
(build-system pyproject-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(delete 'check)
(replace 'install
(lambda* (#:key inputs #:allow-other-keys)
(let* ((bin (string-append #$output "/bin"))
(file (string-append bin "/ukify"))
(binutils (assoc-ref inputs "binutils"))
(sbsign (assoc-ref inputs "sbsigntools")))
(mkdir-p bin)
(copy-file "src/ukify/ukify.py" file)
(wrap-program file
`("PATH" ":" prefix
(,(string-append binutils "/bin")
,(string-append sbsign "/bin"))))))))))
(inputs (list binutils python-cryptography python-pefile sbsigntools))
(native-inputs (list python-setuptools))
(home-page "https://systemd.io")
(synopsis "Unified kernel image UEFI tool")
(description "@command{ukify} joins together a UKI stub, linux kernel, initrd,
kernel arguments, and optional secure boot signatures into a single, UEFI-bootable
image.")
(license license:lgpl2.1+)))
@@ -0,0 +1,151 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023-2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages browser-extensions)
;; Guile builtins
#:use-module (srfi srfi-1)
;; Utilities
#:use-module (gnu build icecat-extension)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system copy)
;; Guix packages
#:use-module (gnu packages compression))
(define bitwarden
(package
(name "bitwarden")
(version "2026.3.0")
(source (origin
(method url-fetch/zipbomb)
(uri (string-append "https://github.com/bitwarden/clients"
"/releases/download/browser-v" version
"/dist-firefox-" version ".zip"))
(sha256
(base32
"1jsc9w8w1vix7gzcrlxg3aslqnr27hwhaqvf0slhc7s3dgwnfrqq"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
(home-page "https://bitwarden.com/")
(synopsis "Bitwarden client browser extension")
(description
"This package provides browser extension for Bitwarden client.")
(license license:gpl3)
(properties
'((addon-id . "{446900e4-71c2-419f-a6a7-df9c091e268b}")
(hidden? . #t)
(disable-updater? . #t)))))
(define-public bitwarden/icecat
(let ((base (make-icecat-extension bitwarden)))
(package
(inherit base)
(properties
`(,@(alist-delete 'hidden? (package-properties base))
(disable-updater? . #t))))))
(define-public miniflux-injector
(package
(name "miniflux-injector")
(version "2.3.3")
(properties
'((addon-id . "{528ec801-2e29-4cb9-ae71-5a90503138d1}")
(hidden? . #t)
(disable-updater? . #t)))
(source
(origin
(method url-fetch/zipbomb)
(uri (string-append
"https://github.com/Sevichecc/miniflux-injector/releases/download"
"/v" version "/miniflux_injector-" version ".zip"))
(sha256
(base32
"199z441ak6dwy7skgbwc9aa4gfd2r4i22hxfm27s5k3rv7barbvs"))
(modules '((guix build utils)))
(snippet
#~(substitute* "manifest.json"
(("homepage_url.*" line)
(string-append line "\
\"browser_specific_settings\": {
\"gecko\": {
\"id\": \"" #$(assq-ref properties 'addon-id) "\"
}
},
"))))))
(build-system copy-build-system)
(arguments
(list
#:install-plan
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
(home-page "https://github.com/Sevichecc/miniflux-injector")
(synopsis "Injects Miniflux search results into search page")
(description
"This package provides a browser extension to inject Miniflux search
results into search page. Search terms are sent to your Miniflux instance and
results are added in a sidebar next to search engine results.")
(license license:expat)))
(define-public miniflux-injector/icecat
(let ((base (make-icecat-extension miniflux-injector)))
(package
(inherit base)
(properties
`(,@(alist-delete 'hidden? (package-properties base))
(disable-updater? . #t))))))
(define ohmyech
(package
(name "ohmyech")
(version "1.2")
(properties
'((addon-id . "{46b8ab0b-8adf-4e43-ad67-acef5a8d45c9}")
(hidden? . #t)
(disable-updater? . #t)))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/27justin/ohmyech")
(commit "aa0cf4cc5c4bcb6ce508d8a4e7ee4c95c2e63cbe")))
(file-name (git-file-name name version))
(sha256
(base32
"1cqgfv2q7shisi9ijac5s85xy9q2rz9f9hxwq3q41vfgrcvd8zng"))
(modules '((guix build utils)))
(snippet
#~(substitute* "manifest.json"
(("\"version\".*" line)
(string-append line "\
\"browser_specific_settings\": {
\"gecko\": {
\"id\": \"" #$(assq-ref properties 'addon-id) "\"
}
},
"))))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
(home-page "https://github.com/27justin/ohmyech")
(synopsis "Visual indicator for Encrpted Client Hello")
(description
"OhMyECH is a browser extension for indicating the use of @acronym{ECH,
Encrypted Client Hello} on web pages. When enabled, it adds an icon to the
browser address bar, providing users with a visual cue about whether the
current page employs @acronym{ECH}, which helps protect sensitive information
during the @acronym{TLS, Transport Layer Security} handshake process.")
(license license:expat)))
(define-public ohmyech-icecat
(let ((base (make-icecat-extension ohmyech)))
(package
(inherit base)
(properties
`(,@(alist-delete 'hidden? (package-properties base))
(disable-updater? . #t))))))
+32
View File
@@ -0,0 +1,32 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages busybox)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix packages
#:use-module (gnu packages busybox))
(define-public busybox/static
(let ((base busybox))
(package
(inherit base)
(name "busybox-static")
(arguments
(substitute-keyword-arguments arguments
((#:phases phases)
#~(modify-phases #$phases
(add-after 'configure 'static-build
(lambda _
(substitute* ".config"
(("# CONFIG_STATIC is not set")
"CONFIG_STATIC=y"))))
;; FIXME: All mdev tests fail when building staticly.
(add-before 'check 'disable-failing-tests
(lambda _
(delete-file "testsuite/mdev.tests")))))))
(properties
`(,@(package-properties base)
(disable-updater? . #t))))))
+21
View File
@@ -0,0 +1,21 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages ci)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix packages
#:use-module (gnu packages ci))
(define-public cuirass/dolly
(package
(inherit
(package-with-extra-patches cuirass
(rosenthal-patches "cuirass-templates-Add-more-forges.patch")))
(name "cuirass-dolly")
(properties '((disable-updater? . #t)))))
+65
View File
@@ -0,0 +1,65 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022-2024 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages dns)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system copy))
(define-public dnsmasq-china-list
;; No version.
(let ((commit "7da1a5a5885c3f19dd000aa76a25e457352dd696")
(revision "21"))
(package
(name "dnsmasq-china-list")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/felixonmars/dnsmasq-china-list")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"04dgra5123k94k0q1v9f7rmk3zdzc429hkr6jvn1lx4cxfcs0zfq"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
#~'(("." "share/dnsmasq-china-list/" #:include-regexp ("\\.conf")))
#:phases
#~(modify-phases %standard-phases
(add-before 'install 'build
(lambda _
(for-each (lambda (target)
(invoke "make" target
"SERVER=domestic"
"SMARTDNS_SPEEDTEST_MODE=tcp:80"))
'("adguardhome"
"bind"
"coredns"
"dnscrypt-proxy"
"dnsforwarder6"
"dnsmasq"
"smartdns" "smartdns-domain-rules"
"unbound")))))))
(home-page "https://github.com/felixonmars/dnsmasq-china-list")
(synopsis "Chinese-specific DNS server configurations")
(description
"Chinese-specific configuration to improve your favorite DNS server.
Best partner for chnroutes.
@itemize
@item Improve resolve speed for Chinese domains.
@item Get the best CDN node near you whenever possible, but don't compromise
foreign CDN results so you also get best CDN node for your VPN at the same
time.
@item Block ISP ads on NXDOMAIN result (like 114so).
@end itemize")
(license license:wtfpl2)
(properties
'((disable-updater? . #t))))))
+348
View File
@@ -0,0 +1,348 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022-2024 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages emacs-xyz)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system emacs)
;; Guix packages
#:use-module (gnu packages emacs-build)
#:use-module (gnu packages emacs-xyz)
#:use-module (gnu packages gcc)
#:use-module (gnu packages pdf)
#:use-module (rosenthal packages version-control))
(define-public emacs-caddyfile-mode
(let ((commit "fc41148f5a7eb320f070666f046fb9d88cf17680")
(revision "0"))
(package
(name "emacs-caddyfile-mode")
(version (git-version "0.2" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Schnouki/caddyfile-mode")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1s9kbav5wbyividn9zncd153h89nil0i9aj9hgxa95q9fy84r23w"))))
(build-system emacs-build-system)
;; No tests.
(arguments (list #:tests? #f))
(propagated-inputs (list emacs-loop))
(home-page "https://github.com/Schnouki/caddyfile-mode")
(synopsis "Emacs major mode for editing Caddy configuration files")
(description
"This package provides @code{caddyfile-mode}, an Emacs major mode for
editing Caddyfiles, configuration files for @code{caddy}.")
(license license:gpl3+)
(properties
'((disable-updater? . #t))))))
(define-public emacs-consult-ghostel
(package
(name "emacs-consult-ghostel")
(version "0.53.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dakra/ghostel")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ph1gjl3915wgf7qz2c389gnm64yn07q9jb69dyqy6r8fkzmyd37"))))
(build-system emacs-build-system)
(arguments
(list #:tests? #f ;no tests
#:lisp-directory "extensions/consult-ghostel"
#:phases
#~(modify-phases %standard-phases
(delete 'build)))) ;ghostel isn't packaged
(propagated-inputs (list emacs-compat emacs-consult))
(home-page "https://github.com/dakra/ghostel")
(synopsis "Consult integration for ghostel")
(description "This package provides consult integration for ghostel.")
(license license:gpl3+)))
(define-public emacs-eat/dolly
(package
(inherit
(package-with-extra-patches emacs-eat
(list (origin
(method url-fetch)
(uri "https://codeberg.org/akib/emacs-eat/pulls/133.patch")
(sha256
(base32
"0rn2xf2jq9i42ndcd3wxrr5lid8r4kxqiyr84dasv5ihqg8as5d5")))
(origin
(method url-fetch)
(uri "https://codeberg.org/akib/emacs-eat/pulls/228.patch")
(sha256
(base32
"14d6nvagcri0r687y3m179ijmnad89m5d5dj2rn2p6rpfc5nssr0"))))))
(name "emacs-eat-dolly")))
(define-public emacs-flycheck-eglot
(let ((commit "cd1dd78cec0ae1f566c765d98bbff322cc7b67ef")
(revision "0"))
(package
(name "emacs-flycheck-eglot")
(version (git-version "1.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/flycheck/flycheck-eglot")
(commit commit)))
(sha256 (base32 "19i2a33mpddd64mnvjk247ayn325p66lknm9pqjb0ccjfwi54sml"))))
(build-system emacs-build-system)
(propagated-inputs (list emacs-flycheck))
(home-page "https://github.com/flycheck/flycheck-eglot")
(synopsis "Flycheck support for eglot")
(description
"This package provides a simple \"glue\" minor mode that allows Flycheck
and Eglot to work together. Thus, the Flycheck frontend can display the results
of syntactic checks performed by the LSP server.")
(license (list license:gpl3+ license:expat))
(properties '((disable-updater? . #t))))))
(define-public emacs-isearch-mb
(package
(name "emacs-isearch-mb")
(version "0.8")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/isearch-mb-"
version ".tar"))
(sha256
(base32 "1b4929vr5gib406p51zcvq1ysmzvnz6bs1lqwjp517kzp6r4gc5y"))))
(build-system emacs-build-system)
(home-page "https://github.com/astoff/isearch-mb")
(synopsis "Control @code{isearch} from the minibuffer")
(description
"This Emacs package provides an alternative @code{isearch} UI based on the
minibuffer. This allows editing the search string in arbitrary ways without any
special maneuver. Unlike standard @code{isearch}, cursor motion commands do not
end the search. Moreover, the search status information in the echo area and
some keybindings are slightly simplified.")
(license license:gpl3+)
(properties '((disable-updater? . #t)))))
(define-public emacs-kdl-mode
(let ((commit "2d849e298199f490e4894c01764a8a83decd704a")
(revision "0"))
(package
(name "emacs-kdl-mode")
(version (git-version "0.0.1" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/taquangtrung/emacs-kdl-mode")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"18va5ipay9grbv84kwq9ji4dn1sabnzydj4hb1mjd9mbbibw1wg4"))))
(build-system emacs-build-system)
(arguments (list #:tests? #f)) ;No tests.
(home-page "https://github.com/taquangtrung/emacs-kdl-mode")
(synopsis "Emacs major mode for editing files in the KDL document language")
(description "")
(license license:gpl3+)
(properties '((disable-updater? . #t))))))
(define-public emacs-magit-delta/dolly
(package
(inherit
(package-with-extra-patches emacs-magit-delta
(list (origin
(method url-fetch)
(uri "https://github.com/dandavison/magit-delta/pull/34.patch")
(sha256
(base32
"1ipqvrszh6fp9d9g3grk4mbh762knhn0zp3jhww0mkib73f3p0sy"))))))
(name "emacs-magit-delta-dolly")
(properties '((disable-updater? . #t)))))
(define-public emacs-majutsu/dolly
(let ((commit "56b6e263cd4ecaf8e44e955647bffafe56f54f34")
(revision "5"))
(package
(inherit emacs-majutsu)
(name "emacs-majutsu-dolly")
(version (git-version "0.6.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/0WD0/majutsu")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0ljq6psp8rar0sksfnjydji2sm3vvhpvpi4yay14wa6ldaclihx4"))))
(arguments
(substitute-keyword-arguments arguments
((#:tests? _ #t) #f)))
(propagated-inputs
(modify-inputs propagated-inputs
(prepend emacs-consult emacs-plz)))
(properties '((disable-updater? . #t))))))
(define-public emacs-msgpack
(let ((commit "5353a7b2da854c843cbec4536996242001f63471")
(revision "0"))
(package
(name "emacs-msgpack")
(version (git-version "0.1.1" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/xuchunyang/msgpack.el")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"08pr8ijvfpnzx4bxbj8cjmibk2mlx0ksjwm3dv3lzp3i6cg5mhsw"))))
(build-system emacs-build-system)
(arguments
(list #:test-command ''("ert-runner" "msgpack-tests.el")))
(native-inputs (list emacs-ert-runner))
(home-page "https://github.com/xuchunyang/msgpack.el")
(synopsis "Read and write MessagePack object in Emacs")
(description
"This package provides an Emacs Lisp library for MessagePack.")
(license license:gpl3+)
(properties '((disable-updater? . #t))))))
(define-public emacs-pcmpl-tailscale
(let ((commit "acd6bce54af506b0450cf6aa1068f63d4e25c8ce")
(revision "0"))
(package
(name "emacs-pcmpl-tailscale")
(version (git-version "0.0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://git.thanosapollo.org/pcmpl-tailscale")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0lk808ahy8ckg2fr2pqk3p5if81nqrwsajrgqafv9hgn8w4l1x0p"))))
(build-system emacs-build-system)
(home-page "https://git.thanosapollo.org/pcmpl-tailscale")
(synopsis "Enhanced shell completions for tailscale")
(description
"This package provides enhanced completions for the tailscale command
and it's subcommands.")
(license license:gpl3+)
(properties
'((disable-updater? . #t))))))
(define-public emacs-reader
(let ((commit "a0e3615adbf520a5743bbbfd7da6d2bb8478b30b")
(revision "2"))
(package
(name "emacs-reader")
(version (git-version "0.3.2" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/divyaranjan/emacs-reader")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "012i36l5wgzw4mbxr2knb96f7x95qfg0pqa7dfam23fmsfw57fy0"))))
(build-system emacs-build-system)
(arguments
(list
#:tests? #f ;no tests
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'build-module
(lambda _
(invoke "make" "USE_PKGCONFIG=no")))
(add-after 'build-module 'install-module
(lambda _
(install-file "render-core.so" (elpa-directory #$output)))))))
(inputs (list mupdf))
(home-page "https://codeberg.org/divyaranjan/emacs-reader")
(synopsis "Emacs document reader")
(description
"GNU Emacs document reader that supports all major document formats.")
(license license:gpl3+)
(properties '((disable-updater? . #t))))))
(define-public emacs-tramp-rpc
(package
(name "emacs-tramp-rpc")
(version "0.13.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ArthurHeymans/emacs-tramp-rpc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1991b8vc3k3kkm77ad5c9z8jx9nxpxbmv26vv1y5v7z3cdp12wzj"))))
(build-system emacs-build-system)
(arguments
(list #:lisp-directory "lisp"
#:test-command ''("bash" "../test/run-tests.sh" "--protocol")
#:phases
#~(modify-phases %standard-phases
(delete 'patch-el-files))))
(native-inputs (list emacs-tramp))
(propagated-inputs (list emacs-msgpack))
(home-page "https://github.com/ArthurHeymans/emacs-tramp-rpc")
(synopsis "TRAMP backend using RPC")
(description
"This package provides a TRAMP backend that uses a custom RPC server
instead of parsing shell command output. This significantly improves
performance for remote file operations.")
(license license:gpl3+)))
;; https://issues.guix.gnu.org/59552
(define-public emacs-wakatime-mode
;; No release since May 5, 2015.
(let ((commit "1c5b2254dd72f2ff504d6a6189a8c10be03a98d1")
(revision "60"))
(package
(name "emacs-wakatime-mode")
;; 1.0.2 on commit 32a0154cd4bbd525d354997e6b12c6a9726d0b43, not tagged
(version (git-version "1.0.2" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/wakatime/wakatime-mode")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"00qv6b756qiaqrmfg1w03psnsdj0iaz3sp50ib4kmdm2g9vgxl1s"))))
(build-system emacs-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
;; XXX: WakaTime hasn't packaged in Guix yet.
(delete 'patch-el-files))))
(home-page "https://wakatime.com/emacs")
(synopsis "Automatic time tracking extension for Emacs using WakaTime")
(description
"WakaTime mode is an Emacs minor mode for automatic time tracking and
metrics generated from your programming activity.")
(license license:gpl3+)
(properties
'((disable-updater? . #t))))))
+165
View File
@@ -0,0 +1,165 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022 Cairn <cairn@pm.me>
;;; Copyright © 2025 Carmine Margiotta <accounts@cmargiotta.net>
;;; Copyright © 2025 Noah Evans <noah@nevans.me>
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages games)
;; Guile builtins
#:use-module (srfi srfi-26)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system cmake)
#:use-module (guix build-system qt)
;; Guix packages
#:use-module (gnu packages aidc)
#:use-module (gnu packages audio)
#:use-module (gnu packages backup)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gl)
#:use-module (gnu packages java)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages markup)
#:use-module (gnu packages pciutils)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
#:use-module (gnu packages sdl)
#:use-module (gnu packages speech)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages xorg))
;; Copied from Guix Gaming Channels
(define-public prismlauncher/dolly
(package
(name "prismlauncher-dolly")
(version "11.0.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PrismLauncher/PrismLauncher")
(commit version)
(recursive? #t)))
(file-name (git-file-name name version))
(sha256
(base32
"04dv4c849lghhqq25p58l5aq37r2kvx9297w1139x9ajab97xhhf"))
(modules '((guix build utils)))
(snippet
'(substitute* "launcher/CMakeLists.txt"
((" -Werror") "")))))
(build-system cmake-build-system)
(arguments
(list
#:imported-modules
(append %cmake-build-system-modules
%qt-build-system-modules)
#:modules
'((guix build utils)
(guix build cmake-build-system)
((guix build qt-build-system) #:prefix qt:))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'qt-wrap
(lambda args
(apply (assoc-ref qt:%standard-phases 'qt-wrap)
#:qtbase #$(this-package-input "qtbase")
args)))
(add-after 'qt-wrap 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/prismlauncher")
`("PATH" ":" prefix
,(map (lambda (bin)
(dirname (search-input-file
inputs (in-vicinity "bin" bin))))
'("glxinfo"
"lspci"
"xrandr")))
`("LD_LIBRARY_PATH" ":" prefix
,(map (lambda (lib)
(dirname (search-input-file
inputs (in-vicinity "lib" lib))))
'("libflite.so"
"libglfw.so"
"libopenal.so"
"libudev.so"
"libusb-1.0.so"
"libvulkan.so"
;; glfw
"libGL.so"
"libX11.so"
"libXcursor.so"
"libXext.so"
"libXrandr.so"
"libXxf86vm.so"
;; openal
"libasound.so"
"libjack.so"
"libpipewire-0.3.so"
"libpulse.so")))))))))
(native-inputs
(list extra-cmake-modules
pkg-config))
(inputs
(list alsa-lib
bash-minimal
cmark
eudev
flite
gamemode
glfw-3.4
`(,icedtea-8 "jdk")
jack-2
libarchive
libusb
libx11
libxcursor
libxext
libxrandr
libxxf86vm
mesa
mesa-utils
openal
pciutils
pipewire
pulseaudio
qrencode
qtbase
qtimageformats
qtnetworkauth
qtsvg
qtwayland
tomlplusplus
vulkan-loader
xrandr
zlib))
(home-page "https://prismlauncher.org/")
(synopsis "Free, open source launcher for Minecraft")
(description
"Allows you to have multiple, separate instances of Minecraft (each with
their own mods, texture packs, saves, etc), and helps you manage them and
their associated options with a simple interface.")
(license (list license:gpl3 ; PolyMC, launcher
license:expat ; MinGW runtime, lionshead, tomlc99
license:lgpl3 ; Qt 5/6
license:lgpl3+ ; libnbt++
license:lgpl2.1+ ; rainbow (KGuiAddons)
license:isc ; Hoedown
license:silofl1.1 ; Material Design Icons
license:lgpl2.1 ; Quazip
license:public-domain ; xz-minidec, murmur2, xz-embedded
license:bsd-3 ; ColumnResizer, O2 (Katabasis fork),
; gamemode, localpeer
license:asl2.0 ; classparser, systeminfo
))))
+24
View File
@@ -0,0 +1,24 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages golang)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils cargo)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (rosenthal utils download)
;; Guix build systems
#:use-module (guix build-system cargo)
#:use-module (guix build-system copy)
#:use-module (guix build-system go)
;; Guix packages
#:use-module (gnu packages golang)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages web)
#:use-module (gnu packages version-control))
+34
View File
@@ -0,0 +1,34 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages guile-xyz)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system guile)
;; Guix packages
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz))
(define-public guile-toml/dolly
(package
(inherit guile-toml)
(name "guile-toml")
(version "1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hylophile/guile-toml")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0nyxj9gz0v5n2whi5wikidz5d5a7hf181vwnlr0v1l67xvxhxv1d"))
(patches
(rosenthal-patches "guile-toml-support-boolean.patch"))))
(properties '((disable-updater? . #t)))))
+292
View File
@@ -0,0 +1,292 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages linux)
;; Guile builtins
#:use-module (ice-9 match)
#:use-module (ice-9 regex)
;; Utilities
#:use-module (guix diagnostics)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
;; Guix packages
#:use-module (gnu packages linux)
#:export (default-initrd-configs
cachyos-configs))
(define* (default-initrd-configs
#:optional
(system (or (%current-target-system)
(%current-system))))
"Kernel configurations required by 'default-linux-libre-initrd-modules'."
`("CONFIG_NLS_ISO8859_1=m"
"CONFIG_CRYPTO_SERPENT=m"
"CONFIG_CRYPTO_WP512=m"
"CONFIG_DM_CRYPT=m"
"CONFIG_BLK_DEV_NVME=m"
"CONFIG_MMC_BLOCK=m"
"CONFIG_SATA_AHCI=m"
"CONFIG_USB_STORAGE=m"
"CONFIG_USB_UAS=m"
,@(if (string-match "^(x86_64|i[3-6]86)-" system)
'("CONFIG_PATA_ACPI=m"
"CONFIG_PATA_ATIIXP=m"
"CONFIG_SCSI_ISCI=m")
'())
"CONFIG_HW_RANDOM_VIRTIO=m"
"CONFIG_SCSI_VIRTIO=m"
"CONFIG_VIRTIO_BALLOON=m"
"CONFIG_VIRTIO_BLK=m"
"CONFIG_VIRTIO_CONSOLE=m"
"CONFIG_VIRTIO_MMIO=m"
"CONFIG_VIRTIO_NET=m"
"CONFIG_VIRTIO_PCI=m"
"CONFIG_HID_GENERIC=m"
"CONFIG_USB_HID=m"
,@(if (target-riscv64? system)
'()
'("CONFIG_HID_APPLE=m"))))
;;;
;;; linux-cachyos
;;; https://github.com/CachyOS/linux-cachyos
;;;
(define* (cachyos-configs #:key (major-version "6")
cachy-config?
cpusched
cc-harder?
per-gov?
tcp-bbr3?
HZ-ticks
tickrate
preempt
hugepage
processor-opt)
`(,@(match processor-opt
('generic
'("CONFIG_GENERIC_CPU=y"
"CONFIG_MZEN4"
"CONFIG_X86_NATIVE_CPU"))
('zen4
'("CONFIG_GENERIC_CPU"
"CONFIG_MZEN4=y"
"CONFIG_X86_NATIVE_CPU"))
('native
'("CONFIG_GENERIC_CPU"
"CONFIG_MZEN4"
"CONFIG_X86_NATIVE_CPU=y"))
(_ '()))
,@(if cachy-config?
'("CONFIG_CACHY=y")
'())
,@(match cpusched
((or 'cachyos 'bore 'hardened)
'("CONFIG_SCHED_BORE=y"))
('bmq
'("CONFIG_SCHED_ALT=y"
"CONFIG_SCHED_BMQ=y"))
('eevdf
'())
('rt
'("CONFIG_PREEMPT_RT=y"))
('rt-bore
'("CONFIG_SCHED_BORE=y"
"CONFIG_PREEMPT_RT=y"))
(_ '()))
,@(match HZ-ticks
((or 100 250 500 600 750 1000)
`("CONFIG_HZ_300"
,(format #f "CONFIG_HZ_~a=y" HZ-ticks)
,(format #f "CONFIG_HZ=~a" HZ-ticks)))
(300
'("CONFIG_HZ_300=y"
"CONFIG_HZ=300"))
(_ '()))
,@(if per-gov?
'("CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL"
"CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y")
'())
,@(match tickrate
('periodic
'("CONFIG_NO_HZ_IDLE"
"CONFIG_NO_HZ_FULL"
"CONFIG_NO_HZ"
"CONFIG_NO_HZ_COMMON"
"CONFIG_HZ_PERIODIC=y"))
('idle
'("CONFIG_HZ_PERIODIC"
"CONFIG_NO_HZ_FULL"
"CONFIG_NO_HZ_IDLE=y"
"CONFIG_NO_HZ"
"CONFIG_NO_HZ_COMMON"))
('full
'("CONFIG_HZ_PERIODIC"
"CONFIG_NO_HZ_IDLE"
"CONFIG_CONTEXT_TRACKING_FORCE"
"CONFIG_NO_HZ_FULL=y"
"CONFIG_NO_HZ=y"
"CONFIG_NO_HZ_COMMON=y"
"CONFIG_CONTEXT_TRACKING=y")))
,@(if (not (member cpusched '(rt rt-bore)))
(if (version>=? major-version "7.0")
(match preempt
('full
'("CONFIG_PREEMPT=y"
"CONFIG_PREEMPT_LAZY"))
('lazy
'("CONFIG_PREEMPT"
"CONFIG_PREEMPT_LAZY=y"))
(_ '()))
(match preempt
('full
'("CONFIG_PREEMPT_DYNAMIC=y"
"CONFIG_PREEMPT=y"
"CONFIG_PREEMPT_VOLUNTARY"
"CONFIG_PREEMPT_LAZY"
"CONFIG_PREEMPT_NONE"))
('lazy
'("CONFIG_PREEMPT_DYNAMIC=y"
"CONFIG_PREEMPT"
"CONFIG_PREEMPT_VOLUNTARY"
"CONFIG_PREEMPT_LAZY=y"
"CONFIG_PREEMPT_NONE"))
('voluntary
'("CONFIG_PREEMPT_DYNAMIC"
"CONFIG_PREEMPT=y"
"CONFIG_PREEMPT_VOLUNTARY=y"
"CONFIG_PREEMPT_LAZY"
"CONFIG_PREEMPT_NONE"))
('none
'("CONFIG_PREEMPT_DYNAMIC"
"CONFIG_PREEMPT"
"CONFIG_PREEMPT_VOLUNTARY"
"CONFIG_PREEMPT_LAZY"
"CONFIG_PREEMPT_NONE=y"))
(_ '())))
'())
,@(if cc-harder?
'("CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE"
"CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y")
'())
,@(if tcp-bbr3?
'("CONFIG_TCP_CONG_CUBIC=m"
"CONFIG_DEFAULT_CUBIC"
"CONFIG_TCP_CONG_BBR=y"
"CONFIG_DEFAULT_BBR=y"
"CONFIG_DEFAULT_TCP_CONG=\"bbr\""
"CONFIG_NET_SCH_FQ_CODEL=m"
"CONFIG_NET_SCH_FQ=y"
"CONFIG_DEFAULT_FQ_CODEL"
"CONFIG_DEFAULT_FQ=y")
'())
,@(match hugepage
('always
'("CONFIG_TRANSPARENT_HUGEPAGE_MADVISE"
"CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y"))
('madvise
'("CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS"
"CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y"))
(_ '()))
,@(if (version>=? major-version "7.0")
'()
'("CONFIG_USER_NS=y"))))
(define (%kernel-config path)
(let* ((commit "343874d509a9ff74729281fd297d8961dcedd342")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/hako/kernel-config.git")
(commit commit)))
(file-name (string-append "kernel-config." (string-take commit 7)))
(sha256
(base32 "150nms11b9cdp051i7xn4x8vfj4izhhnmj0h5bj9gqk4fzxqz9n7")))))
(file-append source path)))
(define-public linux-cachyos-lts-server
(let* ((version "6.18.55-1")
(kernel
(customize-linux
#:name "linux-cachyos-lts-server"
#:source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/CachyOS/linux/releases/download/cachyos-"
version "/cachyos-" version ".tar.gz"))
(sha256
(base32 "1x9hymblmpj90dhwlz7lsfkdw8fjjpnghhg0yk3qmf9x16v8nrd3")))
#:defconfig (%kernel-config "/defconfig_server")
#:configs
(string-join
(append (cachyos-configs
#:major-version (version-major version)
#:cachy-config? #f
#:cpusched 'eevdf
#:cc-harder? #t
#:per-gov? #f
#:tcp-bbr3? #t
#:HZ-ticks 300
#:tickrate 'full
#:preempt 'none
#:hugepage 'always
#:processor-opt 'generic)
(default-initrd-configs))
"\n"))))
(package
(inherit kernel)
(version version)
(home-page "https://cachyos.org/")
(synopsis "CachyOS Linux kernel (lts + server)")
(description "")
(supported-systems '("x86_64-linux")))))
(define-public linux-cachyos-bore-zen4
(let* ((version "7.2.9-2")
(kernel
(customize-linux
#:name "linux-cachyos-bore-zen4"
#:source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/CachyOS/linux/releases/download/cachyos-"
version "/cachyos-" version ".tar.gz"))
(sha256
(base32 "1fpwmihnv9j9bvhcviia5k1dlilr0mcv17ch8rznadhlwgzyda9d"))
(patches (map %kernel-config '("/patches/bore-cachy-7.2.patch"))))
#:defconfig (%kernel-config "/defconfig_desktop")
#:configs
(string-join
(append (cachyos-configs
#:major-version (version-major version)
#:cachy-config? #t
#:cpusched 'bore
#:cc-harder? #t
#:per-gov? #f
#:tcp-bbr3? #t
#:HZ-ticks 1000
#:tickrate 'full
#:preempt 'full
#:hugepage 'always
#:processor-opt 'zen4)
(default-initrd-configs))
"\n"))))
(package
(inherit kernel)
(version version)
(home-page "https://cachyos.org/")
(synopsis "CachyOS Linux kernel (bore + znver4)")
(description "")
(supported-systems '("x86_64-linux")))))
+101
View File
@@ -0,0 +1,101 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages messaging)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system pyproject)
#:use-module (rosenthal build-system go-vendored)
;; Guix packages
#:use-module (gnu packages bash)
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
#:use-module (gnu packages golang)
#:use-module (gnu packages monitoring)
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-compression)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages serialization)
#:use-module (gnu packages video)
#:use-module (rosenthal packages animation)
#:use-module (rosenthal packages python-xyz))
(define-public heisenbridge
(package
(name "heisenbridge")
(version "1.15.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hifi/heisenbridge")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1viv18bkj0lccr00218xp818i923h1ax7c50kl0yn834axdz6y4l"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;TODO
(native-inputs
(list python-setuptools))
(propagated-inputs
(list python-aiohttp
python-irc
python-mautrix
python-ruamel.yaml
python-socks))
(synopsis "Bouncer-style Matrix IRC bridge")
(description
"Heisenbridge brings IRC to Matrix by creating an environment where every
user connects to each network individually like they would with a traditional
IRC bouncer. Simplicity is achieved by exposing IRC in the most straightforward
way as possible where it makes sense so it feels familiar for long time IRC
users.")
(home-page "https://github.com/hifi/heisenbridge")
(license license:expat)))
(define-public mautrix-telegram
(package
(name "mautrix-telegram")
(version "0.2608.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mautrix/telegram")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1h9nl6ba1lxdy7fxk36asigpxmgav6bw8ydif267cscfq7vxq3hi"))))
(build-system go-vendored-build-system)
(arguments
(list #:go go-1.26
#:vendor-hash
(base32 "0vz2ziaps5l19zzpw2mkxhbnl33pn3srs6ayvblj51ap6dxc47dj")
#:install-source? #f
#:import-path "./cmd/mautrix-telegram"
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-binary
(lambda* (#:key inputs #:allow-other-keys)
(wrap-program (in-vicinity #$output "bin/mautrix-telegram")
`("PATH" ":" prefix
,(map (lambda (cmd)
(dirname (search-input-file inputs cmd)))
'("bin/ffmpeg"
"bin/lottieconverter")))))))))
(inputs (list bash-minimal ffmpeg lottie-converter olm))
(synopsis "Matrix-Telegram hybrid puppeting/relaybot bridge")
(description
"This package provides a Matrix-Telegram hybrid puppeting/relaybot
bridge.")
(home-page "https://github.com/mautrix/telegram")
(license license:agpl3+)))
+341
View File
@@ -0,0 +1,341 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022-2024 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages networking)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix git-download)
#:use-module (rosenthal utils download)
;; Guix build systems
#:use-module (guix build-system go)
#:use-module (rosenthal build-system go-vendored)
;; Guix packages
#:use-module (gnu packages base)
#:use-module (gnu packages dns)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages linux))
(define-public cloudflared
(package
(name "cloudflared")
(version "2026.8.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cloudflare/cloudflared")
(commit version)))
(file-name (git-file-name name version))
;; TODO: Unbundle vendored dependencies.
;; (modules '((guix build utils)))
;; (snippet '(delete-file-recursively "vendor"))
(sha256
(base32
"050xr8yjzrcyj53grvvafpi5d5dl7hjiiv4zjjzb2bcf65rak5za"))))
(build-system go-vendored-build-system)
(arguments
(list #:go go-1.26
#:install-source? #f
#:import-path "./cmd/cloudflared"
#:build-flags
#~(list (string-append
"-ldflags="
" -X main.Version=" #$(package-version this-package)
" -X github.com/cloudflare/cloudflared/cmd/cloudflared/updater.BuiltForPackageManager=Guix"))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-documentation
(lambda _
(let ((src "cloudflared_man_template")
(dst (string-append #$output "/share/man/man1/cloudflared.1")))
(substitute* src
(("\\$\\{VERSION\\}") #$(package-version this-package)))
(mkdir-p (dirname dst))
(copy-file src dst)))))))
(home-page "https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/")
(synopsis "Cloudflare Tunnel client")
(description
"This package provides the command-line client for Cloudflare Tunnel, a
tunneling daemon that proxies traffic from the Cloudflare network to your
origins. This daemon sits between Cloudflare network and your origin (e.g. a
webserver). Cloudflare attracts client requests and sends them to you via
this daemon, without requiring you to poke holes on your firewall --- your
origin can remain as closed as possible.")
(license license:asl2.0)))
(define-public mihomo
(package
(name "mihomo")
(version "1.19.30")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/MetaCubeX/mihomo")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"07zxbng654wjy3qj776px1ds6kzr30hp832r3pcvjchiabqcab23"))))
(build-system go-vendored-build-system)
(arguments
(list
#:go go-1.26
#:vendor-hash (base32 "0vw4xcqmmpq4mkskwlwszb6la1qjyiwy5bbhpji6zsmixwzaxr70")
#:tests? (not (%current-target-system)) ;TODO: Run test suite.
#:install-source? #f
#:build-flags
#~(list "-tags" "with_gvisor"
(string-append
"-ldflags="
" -X github.com/metacubex/mihomo/constant.Version="
#$(package-version this-package)))
#:phases
#~(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(let ((mihomo (in-vicinity #$output "bin/mihomo")))
(invoke mihomo "--help")
(invoke mihomo "-v"))))))))
(native-inputs
(if (%current-target-system)
(list this-package)
'()))
(home-page "https://wiki.metacubex.one/")
(synopsis "Rule-based proxy")
(description
"Mihomo is an anti-censorship proxy application, originally known as
\"Clash Meta\", designed to facilitate secure and flexible internet access.
It supports various protocols, making it a versatile tool for users seeking to
bypass network restrictions." )
(license license:gpl3+)))
(define-public sing-box
(package
(name "sing-box")
(version "1.14.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/SagerNet/sing-box")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1yavxj1raksii1sy5j1fp4v54glrbpz9la19l5cpzqw7rn05pzyn"))))
(build-system go-vendored-build-system)
(arguments
(list
#:go go-1.26
#:vendor-hash (base32 "16h4lmpi636dnz760qyihnqxgv3hn4vb9p22j5wjhfx7955gfph6")
#:install-source? #f
#:import-path "./cmd/sing-box"
#:build-flags
#~(list "-tags" (string-join
'("with_quic"
"with_dhcp"
"with_wireguard"
"with_tailscale"
"with_utls"
"with_acme"
"with_clash_api"
"with_gvisor"))
(string-append
"-ldflags="
" -X github.com/sagernet/sing-box/constant.Version="
#$(package-version this-package)))
#:modules
(cons '(ice-9 match)
%default-go-vendored-modules)
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack-vendored-dependencies 'set-tailscale-default-wireguard-port
(lambda _
;; See also: https://tailscale.com/kb/1082/firewall-ports
;; https://github.com/tailscale/tailscale/blob/51c11a864b1241d1cf1a736fbc94b0f8c76da563/cmd/tailscaled/tailscaled.go#L102
(substitute* "vendor/github.com/sagernet/tailscale/tsnet/tsnet.go"
(("s\\.Port") "41641"))))
(add-after 'install 'install-extras
(lambda _
(let ((sing-box
(or (which "sing-box")
(in-vicinity #$output "bin/sing-box"))))
(map
(match-lambda
((shell . path)
(let ((file (in-vicinity #$output path)))
(mkdir-p (dirname file))
(with-output-to-file file
(lambda ()
(invoke sing-box "completion" shell))))))
'(("bash" . "etc/bash_completion.d/sing-box")
("fish" . "share/fish/vendor_completions.d/sing-box.fish")
("zsh" . "share/zsh/site-functions/_sing-box")))))))))
(native-inputs
(if (%current-target-system)
(list this-package)
'()))
(home-page "https://sing-box.sagernet.org/")
(synopsis "Universal proxy platform")
(description
"@command{sing-box} is a customizable and univsersal proxy platform that
can be used to create network proxy servers, clients and transparent proxies.")
(license license:gpl3+)))
(define-public socks2http
(package
(name "socks2http")
(version "0.0.0-20160712034938-bafa2cde8eb4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/zenhack/socks2http")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32
"0c388rir9d0cy5vxqxj7m72nra0w5cya4mmgqdcvqmnk2vawdyb9"))))
(build-system go-build-system)
(arguments
(list #:install-source? #f
#:import-path "github.com/zenhack/socks2http"))
(inputs (list go-golang-org-x-net))
(home-page "https://github.com/zenhack/socks2http")
(synopsis "SOCKS5 to HTTP proxy")
(description
"This package provides a simple tool to plumb HTTP proxy requests through
a SOCKS5 proxy.")
(license license:expat)
(properties
'((disable-updater? . #t)))))
(define-public tailscale
(package
(name "tailscale")
(version "1.102.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tailscale/tailscale")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0pqnc5bxl01nzpg2alb6njwq9k0g9psckw7v3wjfraf228rawd9p"))
(patches
(rosenthal-patches
"tailscale-set-guix-system-PATH-for-SSH.patch"))
(modules '((guix build utils)))
(snippet
'(begin
(delete-file-recursively "tool")
(substitute* "net/tstun/tun_linux.go"
(("/sbin/(modprobe)" _ cmd) cmd))))))
(build-system go-vendored-build-system)
(arguments
(list
#:go go-1.26
#:vendor-hash (base32 "01wvidvld4749f9bdsmvi84l005k6lfsqvcn6yw13jikzd8a8qka")
#:tests? (not (%current-target-system)) ;TODO: Run test suite.
#:install-source? #f
#:build-flags
#~(list "-tags" "ts_include_cli"
(string-append
"-ldflags="
" -X tailscale.com/version.longStamp="
#$(package-version this-package)
" -X tailscale.com/version.shortStamp="
#$(package-version this-package)))
#:modules
(cons '(ice-9 match)
%default-go-vendored-modules)
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-references
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "client/systray/startup-creator.go"
(("desktop-file-(install|edit)" all)
(search-input-file inputs (in-vicinity "bin" all))))))
(replace 'build
(lambda* (#:key build-flags parallel-build? #:allow-other-keys)
(let* ((njobs (if parallel-build? (parallel-job-count) 1)))
(setenv "GOMAXPROCS" (number->string njobs))
(for-each
(lambda (pkg)
(apply invoke "go" "build" "-ldflags=-s -w" "-trimpath"
"-o" (string-append #$output "/bin/" pkg)
`(,@build-flags
,(string-append "tailscale.com/cmd/" pkg))))
'("derper"
"derpprobe"
"tailscaled"
"tsidp")))))
(add-after 'install 'install-extras
(lambda _
(symlink (in-vicinity #$output "bin/tailscaled")
(in-vicinity #$output "bin/tailscale"))
(let ((tailscale
(or (which "tailscale")
(in-vicinity #$output "bin/tailscale"))))
(map
(match-lambda
((shell . path)
(let ((file (in-vicinity #$output path)))
(mkdir-p (dirname file))
(with-output-to-file file
(lambda ()
(invoke tailscale "completion" shell))))))
'(("bash" . "etc/bash_completion.d/tailscale")
("fish" . "share/fish/vendor_completions.d/tailscale.fish")
("zsh" . "share/zsh/site-functions/_tailscale"))))))
(add-after 'install 'wrap-binaries
(lambda* (#:key inputs #:allow-other-keys)
(wrap-program (in-vicinity #$output "bin/tailscaled")
`("PATH" ":" prefix
,(map (lambda (cmd)
(dirname (search-input-file inputs cmd)))
'("bin/find"
"bin/getent"
"bin/modprobe"
"sbin/ip"
"sbin/iptables"
"sbin/resolvconf"
"sbin/sysctl"))))))
(delete 'check)
(add-after 'install 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(for-each
(lambda (cmd)
(invoke (string-append #$output "/bin/" cmd) "--help"))
'("derper"
"derpprobe"
"tailscaled"
"tsidp"))))))))
(native-inputs
(if (%current-target-system)
(list this-package)
'()))
(inputs
(list desktop-file-utils
findutils
glibc
iproute
iptables-nft
kmod
openresolv
procps))
(home-page "https://tailscale.com/")
(synopsis "Mesh VPN service utilizing the WireGuard protocol and 2FA")
(description
"Tailscale is a mesh VPN service that simplifies the process of securely
connecting devices and services across various networks. It allows you to
create a private network with minimal configuration and aims to remove the
complexity of building a trusted and secure network.")
(license license:bsd-3)))
@@ -0,0 +1,106 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022, 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages package-management)
;; Guix utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils packages)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system guile)
;; Guix packages
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages guile)
#:use-module (gnu packages package-management))
(define-public guix/dolly
(package
(inherit
(package-with-extra-patches guix
(rosenthal-patches "guix-change-publish-cache-storage.patch")))
(name "guix-dolly")
(arguments
(substitute-keyword-arguments arguments
((#:parallel-build? _ #f) #t)
((#:tests? _ #t) #f)))
(properties '((disable-updater? . #t)))))
(define guix-for-mirror-substitutes
(let ((commit "5ceffb60e55b86920fd720817dd24b0e1f900ac1")
(revision "7"))
(package
(inherit guix)
(name "guix")
(version (git-version "1.5.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://git.guix.gnu.org/guix.git")
(commit commit)))
(file-name (string-append "guix-" version "-checkout"))
(sha256
(base32
"0nb0xhd2jlg613d3z3br6yl3xj75b4vlyw9y45pwg8zrq02kjajd")))))))
(define-public mirror-substitutes
(package
(name "mirror-substitutes")
(version "0.0.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://codeberg.org/hako/mirror-substitutes.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1fbv24n12p83gp9l8nnjmymgqbwyvmy086fnfwxdg8c9c6rfbl4j"))))
(build-system guile-build-system)
(arguments
(list
#:source-directory "modules"
#:phases
#~(modify-phases %standard-phases
(add-after 'build 'install
(lambda* (#:key inputs #:allow-other-keys)
(define-values (module-dir object-dir)
(target-guile-scm+go #$output))
(define bindir
(in-vicinity #$output "bin"))
(with-directory-excursion "scripts"
(for-each
(lambda (script)
(substitute* script
(("/usr/(bin/env) -S guix" _ env)
(format #f "~a -S ~a"
(search-input-file inputs env)
(if (string-suffix? "query-substitutes" script)
"guix"
(search-input-file inputs "bin/guix")))))
(install-file script bindir)
(with-directory-excursion bindir
(wrap-program script
`("GUILE_LOAD_PATH" prefix
(,module-dir))
`("GUILE_LOAD_COMPILED_PATH" prefix
(,object-dir)))))
(find-files "."))))))))
(native-inputs
(list bash-minimal
guile-3.0-latest
guix-for-mirror-substitutes))
(inputs
(list bash-minimal
coreutils-minimal
guix-for-mirror-substitutes))
(home-page "https://codeberg.org/hako/mirror-substitutes")
(synopsis "Mirror Guix substitutes")
(description
"This package provides a collection of commands to help mirror Guix / Nix
substitutes (binary cache) from any upstream server.")
(license license:gpl3+)))
@@ -0,0 +1,17 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages password-utils)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (rosenthal utils download)
;; Guix build systems
#:use-module (guix build-system go)
;; Guix packages
#:use-module (gnu packages golang))
@@ -0,0 +1,20 @@
diff --git a/src/main.cpp b/src/main.cpp
index 18898d7..6426354 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -49,6 +49,7 @@ namespace {
QCommandLineOption optDaemon(QStringList{"daemon", "d"}, "Run as daemon (polkit agent + IPC server).");
QCommandLineOption optKeyring(QStringList{"keyring"}, "Run as keyring prompter (GCR replacement).");
QCommandLineOption optPinentry(QStringList{"pinentry"}, "Run as GPG pinentry.");
+ QCommandLineOption optDisplay(QStringList{"display"}, "");
// CLI options (for interacting with running daemon)
QCommandLineOption optPing(QStringList{"ping"}, "Check if the daemon is reachable.");
@@ -60,6 +61,7 @@ namespace {
parser.addOption(optDaemon);
parser.addOption(optKeyring);
parser.addOption(optPinentry);
+ parser.addOption(optDisplay);
parser.addOption(optPing);
parser.addOption(optNext);
parser.addOption(optRespond);
@@ -0,0 +1,53 @@
From 90bf62f411590cc0b813e6f62c3a0ef89cf17d1f Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Sun, 30 Nov 2025 12:13:36 +0800
Subject: [PATCH] templates: Add more forges.
---
src/cuirass/templates.scm | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index 1cf7ebf..042d46a 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -1526,7 +1526,9 @@ (define %vcs-web-views
("git.guix.gnu.org" ,labhub-url) ;alias for codeberg.org
("gitlab.com" ,labhub-url)
("gitlab.inria.fr" ,labhub-url)
- ("github.com" ,labhub-url))))
+ ("github.com" ,labhub-url)
+ ("git.sr.ht" ,labhub-url)
+ ("git.guix.moe" ,labhub-url))))
(define %vcs-web-commit-range-views
;; List of host names and corresponding URL to display a commit range.
@@ -1541,7 +1543,13 @@ (define %vcs-web-commit-range-views
(if (string-suffix? ".git" repository-url)
(string-drop-right repository-url 4)
repository-url)
- "/compare/" commit1 ".." commit2))))
+ "/compare/" commit1 ".." commit2)))
+ (sourcehut-url (lambda (repository-url _ commit2)
+ (string-append
+ (if (string-suffix? ".git" repository-url)
+ (string-drop-right repository-url 4)
+ repository-url)
+ "/log/?from=" commit2))))
`(("git.savannah.gnu.org"
,(lambda (repository-url commit1 commit2)
(string-append (string-replace-substring repository-url
@@ -1552,7 +1560,9 @@ (define %vcs-web-commit-range-views
("git.guix.gnu.org" ,github-url) ;alias for codeberg.org
("gitlab.com" ,gitlab-url)
("gitlab.inria.fr" ,gitlab-url)
- ("github.com" ,github-url))))
+ ("github.com" ,github-url)
+ ("git.sr.ht" ,sourcehut-url)
+ ("git.guix.moe" ,github-url))))
(define* (commit-hyperlink url commit
#:optional (text commit))
--
2.52.0
@@ -0,0 +1,37 @@
From 2f7e3c6f46233f9c9159fac61ca4121fe342107f Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Thu, 26 Feb 2026 09:57:51 +0800
Subject: [PATCH] builder: Support boolean value.
* toml/builder.scm (toml-build-boolean): New procedure.
(toml-build-value): Use it.
---
toml/builder.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/toml/builder.scm b/toml/builder.scm
index f6bdcea..3531c6f 100644
--- a/toml/builder.scm
+++ b/toml/builder.scm
@@ -74,6 +74,9 @@
(else (string c))))
(string->list s))))
+(define (toml-build-boolean b port)
+ (put-string port (if b "true" "false")))
+
(define (toml-build-string s port)
(define quote-type (if (or
(string-contains s "\\")
@@ -198,7 +201,7 @@
(scm port #:key (newline? #t) (inline? #f))
(cond
;; ((eq? scm null) (toml-build-null port))
- ;; ((boolean? scm) (toml-build-boolean scm port))
+ ((boolean? scm) (toml-build-boolean scm port))
;; ((symbol? scm) (toml-build-string (symbol->string scm) port))
;; TODO float (nan, inf)
--
2.52.0
@@ -0,0 +1,263 @@
From 4d8509b60d17cc5d242d0bb157beef123dd28923 Mon Sep 17 00:00:00 2001
Message-ID: <4d8509b60d17cc5d242d0bb157beef123dd28923.1769270645.git.hako@ultrarare.space>
From: Hilton Chain <hako@ultrarare.space>
Date: Sat, 23 Aug 2025 14:07:19 +0800
Subject: [PATCH] publish: Store cache in a layout identical to HTTP endpoints.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This allows serving substitutes using a file server.
Original layout:
--8<---------------cut here---------------start------------->8---
/path/to/publish/cache
├── hashes
│ ├── k0pin1y1r0vdkdbg3lwjqc52hpwjbdyb
│ └── ql2nxr2b587kjydfwivjsnhmqya957bq
└── nar
├── none
│ ├── k0pin1y1r0vdkdbg3lwjqc52hpwjbdyb-hello-2.12.2.narinfo
│ └── k0pin1y1r0vdkdbg3lwjqc52hpwjbdyb-hello-2.12.2.nar
└── zstd
├── ql2nxr2b587kjydfwivjsnhmqya957bq-helix-25.01.1.narinfo
└── ql2nxr2b587kjydfwivjsnhmqya957bq-helix-25.01.1.nar
--8<---------------cut here---------------end--------------->8---
Modified layout:
--8<---------------cut here---------------start------------->8---
/path/to/publish/cache
├── hashes
│ ├── k0pin1y1r0vdkdbg3lwjqc52hpwjbdyb
│ └── ql2nxr2b587kjydfwivjsnhmqya957bq
├── nar
│ ├── none
│ │ └── k0pin1y1r0vdkdbg3lwjqc52hpwjbdyb-hello-2.12.2
│ └── zstd
│ └── ql2nxr2b587kjydfwivjsnhmqya957bq-helix-25.01.1
├── k0pin1y1r0vdkdbg3lwjqc52hpwjbdyb.narinfo
└── ql2nxr2b587kjydfwivjsnhmqya957bq.narinfo
--8<---------------cut here---------------end--------------->8---
Change-Id: I07689f08eef23c5cd4494451678f4e1ad709f1b3
---
guix/scripts/publish.scm | 21 +++++++-----------
tests/publish.scm | 48 ++++++++++++++++++++--------------------
2 files changed, 32 insertions(+), 37 deletions(-)
diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm
index 1143cd29cfd..24b7f40cbd7 100644
--- a/guix/scripts/publish.scm
+++ b/guix/scripts/publish.scm
@@ -47,6 +47,7 @@ (define-module (guix scripts publish)
#:use-module (guix base32)
#:use-module (guix base64)
#:use-module (guix config)
+ #:use-module (guix records)
#:use-module (gcrypt hash)
#:use-module (guix pki)
#:use-module (gcrypt pk-crypto)
@@ -306,8 +307,6 @@ (define* (store-item->recutils store-item
(let ((url (encode-and-join-uri-path
`(,@(split-and-decode-uri-path nar-path)
,@(match compression
- (($ <compression> 'none)
- '())
(($ <compression> type)
(list (symbol->string type))))
,(basename store-item)))))
@@ -424,16 +423,13 @@ (define* (render-narinfo store request hash
(define* (nar-cache-file directory item
#:key (compression %no-compression))
- (string-append directory "/"
+ (string-append directory "/nar/"
(symbol->string (compression-type compression))
- "/" (basename item) ".nar"))
+ "/" (basename item)))
(define* (narinfo-cache-file directory item
#:key (compression %no-compression))
- (string-append directory "/"
- (symbol->string (compression-type compression))
- "/" (basename item)
- ".narinfo"))
+ (string-append directory "/" (string-take (basename item) 32) ".narinfo"))
(define (hash-part-mapping-cache-file directory hash)
(string-append directory "/hashes/" hash))
@@ -533,11 +529,9 @@ (define* (render-narinfo/cached store request hash
requested using POOL."
(define (delete-entry narinfo)
;; Delete NARINFO and the corresponding nar from CACHE.
- (let* ((nar (string-append (string-drop-right narinfo
- (string-length ".narinfo"))
- ".nar"))
- (base (basename narinfo ".narinfo"))
- (hash (string-take base (string-index base #\-)))
+ (let* ((path (uri-decode (assoc-ref (call-with-input-file narinfo recutils->alist) "URL")))
+ (nar (in-vicinity (dirname narinfo) path))
+ (hash (basename narinfo ".narinfo"))
(mapping (hash-part-mapping-cache-file cache hash)))
(delete-file* narinfo)
(delete-file* nar)
@@ -1044,6 +1038,7 @@ (define (string->compression-type string)
("gzip" 'gzip)
("lzip" 'lzip)
("zstd" 'zstd)
+ ("none" 'none)
(_ #f)))
(define (effective-compression requested-type compressions)
diff --git a/tests/publish.scm b/tests/publish.scm
index 3c80c50d515..52c6f6d10c4 100644
--- a/tests/publish.scm
+++ b/tests/publish.scm
@@ -173,7 +173,7 @@ (define %gzip-magic-bytes
(canonical-sexp->string
(signed-string unsigned-info))))))
(format #f "~aSignature: 1;~a;~a
-URL: nar/~a
+URL: nar/none/~a
Compression: none
FileSize: ~a\n"
unsigned-info (gethostname) signature
@@ -223,7 +223,7 @@ (define %gzip-magic-bytes
(canonical-sexp->string
(signed-string unsigned-info))))))
(format #f "~aSignature: 1;~a;~a
-URL: nar/~a
+URL: nar/none/~a
Compression: none
FileSize: ~a~%"
unsigned-info (gethostname) signature
@@ -332,7 +332,7 @@ (define %gzip-magic-bytes
(recutils->alist body)))))
(test-equal "/*.narinfo for a compressed file"
- '("none" "nar") ;compression-less nar
+ '("none" "nar/none") ;compression-less nar
;; Assume 'guix publish -C' is already running on port 6799.
(let* ((item (add-text-to-store %store "fake.tar.gz"
"This is a fake compressed file."))
@@ -378,7 +378,7 @@ (define %gzip-magic-bytes
(test-equal "custom nar path"
;; Serve nars at /foo/bar/chbouib instead of /nar.
(list `(("StorePath" . ,%item)
- ("URL" . ,(string-append "foo/bar/chbouib/" (basename %item)))
+ ("URL" . ,(string-append "foo/bar/chbouib/none/" (basename %item)))
("Compression" . "none"))
200
404)
@@ -403,7 +403,7 @@ (define %gzip-magic-bytes
(recutils->alist body))
(response-code (http-get nar-url))
(response-code
- (http-get (string-append base "nar/" (basename %item))))))))
+ (http-get (string-append base "nar/none/" (basename %item))))))))
(test-equal "/nar/ with properly encoded '+' sign"
"Congrats!"
@@ -479,10 +479,10 @@ (define %gzip-magic-bytes
(part (store-path-hash-part %item))
(url (string-append base part ".narinfo"))
(nar-url (string-append base "nar/gzip/" (basename %item)))
- (cached (string-append cache "/gzip/" (basename %item)
+ (cached (string-append cache "/" part
".narinfo"))
- (nar (string-append cache "/gzip/"
- (basename %item) ".nar"))
+ (nar (string-append cache "/nar/gzip/"
+ (basename %item)))
(response (http-get url)))
(and (= 404 (response-code response))
@@ -535,15 +535,15 @@ (define %gzip-magic-bytes
(url (string-append base part ".narinfo"))
(nar-url (cute string-append "nar/" <> "/"
(basename %item)))
- (cached (cute string-append cache "/" <> "/"
- (basename %item) ".narinfo"))
- (nar (cute string-append cache "/" <> "/"
- (basename %item) ".nar"))
+ (cached (string-append cache "/"
+ part ".narinfo"))
+ (nar (cute string-append cache "/nar/" <> "/"
+ (basename %item)))
(response (http-get url)))
- (wait-for-file (cached "gzip"))
+ (wait-for-file cached)
(let* ((body (http-get-port url))
(narinfo (recutils->alist body))
- (uncompressed (string-append base "nar/"
+ (uncompressed (string-append base "nar/none/"
(basename %item))))
(and (file-exists? (nar "gzip"))
(file-exists? (nar "lzip"))
@@ -576,7 +576,7 @@ (define %gzip-magic-bytes
(list #t
(* 42 3600) ;TTL on narinfo
`(("StorePath" . ,item)
- ("URL" . ,(string-append "nar/" (basename item)))
+ ("URL" . ,(string-append "nar/none/" (basename item)))
("Compression" . "none"))
200 ;nar/…
(* 42 3600) ;TTL on nar/…
@@ -595,10 +595,10 @@ (define %gzip-magic-bytes
(let* ((base "http://localhost:6796/")
(part (store-path-hash-part item))
(url (string-append base part ".narinfo"))
- (cached (string-append cache "/none/"
- (basename item) ".narinfo"))
- (nar (string-append cache "/none/"
- (basename item) ".nar"))
+ (cached (string-append cache "/"
+ part ".narinfo"))
+ (nar (string-append cache "/nar/none/"
+ (basename item)))
(response (http-get url)))
(and (= 404 (response-code response))
@@ -607,7 +607,7 @@ (define %gzip-magic-bytes
(body (http-get-port url))
(compressed (http-get (string-append base "nar/gzip/"
(basename item))))
- (uncompressed (http-get (string-append base "nar/"
+ (uncompressed (http-get (string-append base "nar/none/"
(basename item))))
(narinfo (recutils->alist body)))
(list (file-exists? nar)
@@ -650,8 +650,8 @@ (define %gzip-magic-bytes
(item (add-text-to-store %store "random" (random-text)))
(part (store-path-hash-part item))
(url (string-append base part ".narinfo"))
- (cached (string-append cache "/gzip/"
- (basename item)
+ (cached (string-append cache "/"
+ part
".narinfo"))
(response (http-get url)))
(and (= 200 (response-code response)) ;we're below the threshold
@@ -676,7 +676,7 @@ (define %gzip-magic-bytes
(part (store-path-hash-part item))
(narinfo (string-append base part ".narinfo"))
(nar (string-append base "nar/gzip/" (basename item)))
- (cached (string-append cache "/gzip/" (basename item)
+ (cached (string-append cache "/" part
".narinfo")))
;; We're below the default cache bypass threshold, so NAR and NARINFO
;; should immediately return 200. The NARINFO request should trigger
@@ -712,7 +712,7 @@ (define %gzip-magic-bytes
(part (store-path-hash-part item))
(narinfo (string-append base part ".narinfo"))
(nar (string-append base "nar/gzip/" (basename item)))
- (cached (string-append cache "/gzip/" (basename item)
+ (cached (string-append cache "/" part
".narinfo")))
;; The first response used to be 500 and to terminate the daemon
;; connection as a side effect.
base-commit: 5dbab32115de3276f582bcb801fd9f88abe0d397
--
2.52.0
@@ -0,0 +1,28 @@
From 06ab33a4317d41953ad167bfabd5b5ff4e001fee Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Wed, 29 Oct 2025 18:58:27 +0800
Subject: [PATCH] Set Guix System PATH for Tailscale SSH.
---
ssh/tailssh/user.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ssh/tailssh/user.go b/ssh/tailssh/user.go
index ac92c762a..fccc5cbf5 100644
--- a/ssh/tailssh/user.go
+++ b/ssh/tailssh/user.go
@@ -109,9 +109,9 @@ func defaultPathForUser(u *user.User) string {
return defaultPathForUserOnNixOS(u)
}
if isRoot {
- return "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+ return "/run/privileged/bin:/run/current-system/profile/sbin:/run/current-system/profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}
- return "/usr/local/bin:/usr/bin:/bin"
+ return "/run/privileged/bin:/run/current-system/profile/sbin:/run/current-system/profile/bin:/usr/local/bin:/usr/bin:/bin"
}
func defaultPathForUserOnNixOS(u *user.User) string {
--
2.51.0
+249
View File
@@ -0,0 +1,249 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages python-xyz)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils cargo)
;; Guix build systems
#:use-module (guix build-system cargo)
#:use-module (guix build-system pyproject)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
;; Guix packages
#:use-module (gnu packages check)
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages rust)
#:use-module (gnu packages serialization)
#:use-module (gnu packages time))
(define-public python-coherent-licensed
(package
(name "python-coherent-licensed")
(version "0.5.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "coherent_licensed" version))
(sha256
(base32 "0va113rfa0i8sns2if8mnkzwliks0nvlzp1db71klbblrq1i81yq"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;No tests.
(native-inputs (list python-flit-core))
(home-page "https://pypi.org/project/coherent.licensed/")
(synopsis "License management tooling")
(description
"This library was built for
@url{https://github.com/coherent-oss/coherent.build, coherent.build} and
@url{https://blog.jaraco.com/skeleton, skeleton} projects to inject a license
file at build time to reflect the license declared in the license expression.")
(license license:expat)))
(define-public python-cryptg
(package
(name "python-cryptg")
(version "0.5.2")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cher-nov/cryptg")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0l2i8s96xdzq16svcfsvyd7chl9k6f0hg6acahj44xi485fsnrz1"))))
(build-system pyproject-build-system)
(arguments
(list #:tests? #f ;No test suite.
#:imported-modules
(append %pyproject-build-system-modules
%cargo-build-system-modules)
#:modules
'(((guix build cargo-build-system) #:prefix cargo:)
(guix build pyproject-build-system)
(guix build utils))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'prepare-cargo-build-system
(lambda args
(for-each
(lambda (phase)
(format #t "Running cargo phase: ~a~%" phase)
(apply (assoc-ref cargo:%standard-phases phase)
#:cargo-target #$(cargo-triplet)
args))
'(unpack-rust-crates
configure
check-for-pregenerated-files
patch-cargo-checksums)))))))
(native-inputs
(append
(list python-setuptools
python-setuptools-rust
python-wheel
rust
`(,rust "cargo") )
(or (and=> (%current-target-system)
(compose list make-rust-sysroot))
'())))
(inputs (rosenthal-cargo-inputs 'python-cryptg))
(home-page "https://github.com/cher-nov/cryptg")
(synopsis "Cryptographic utilities for Telegram")
(description
"This is a small native extension for Python 3 to help libraries that want
to work with the Telegram API, which uses the uncommon AES-IGE mode for it.")
(license license:cc0)
(properties '((disable-updater? . #t)))))
(define-public python-irc
(package
(name "python-irc")
(version "20.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "irc" version))
(sha256
(base32 "02r8fb15wb6b9rf4kh3cvs48a4j00slncj71s4g152sdi6pq6sw0"))))
(build-system pyproject-build-system)
(native-inputs
(list python-setuptools
python-setuptools-scm
python-pytest))
(propagated-inputs
(list python-jaraco-collections
python-jaraco-functools
python-jaraco-logging
python-jaraco-stream
python-jaraco-text
python-more-itertools
python-pytz
python-tempora))
(home-page "https://github.com/jaraco/irc")
(synopsis "Python Internet Relay Chat protocol library")
(description
"This library provides a low-level implementation of the @acronym{IRC,
Internet Relay Chat} protocol for Python. It provides an event-driven IRC
client framework. It has a fairly thorough support for the basic IRC protocol,
@acronym{CTCP, Client-to-Client Protocol}, and @acronym{DCC, Direct
Client-to-Client} connections.")
(license license:expat)
(properties '((disable-updater? . #t)))))
(define-public python-jaraco-logging
(package
(name "python-jaraco-logging")
(version "3.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jaraco_logging" version))
(sha256
(base32 "1yvmnyq120sqfcbzvqrcjk5a35jqh0fqbvfnn6gfcz27d21xrmp7"))))
(build-system pyproject-build-system)
(native-inputs
(list python-coherent-licensed
python-pytest
python-setuptools
python-setuptools-scm
python-wheel))
(propagated-inputs
(list python-tempora))
(home-page "https://github.com/jaraco/jaraco.logging")
(synopsis "Python logging facility")
(description
"This package provides additional facilities to supplement Python's
standard logging module.")
(license license:expat)))
(define-public python-jaraco-stream
(package
(name "python-jaraco-stream")
(version "3.0.4")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jaraco_stream" version))
(sha256
(base32 "0jwk85k14zb1pvppxy6vnbln8xib7yiwjvmrab42rv91wwl51g72"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-setuptools
python-setuptools-scm
python-wheel))
(propagated-inputs
(list python-more-itertools))
(home-page "https://github.com/jaraco/jaraco.stream")
(synopsis "Routines for dealing with data streams")
(description
"This package provides routines for handling streaming data, including a
set of generators for loading gzip data on the fly.")
(license license:expat)))
(define-public python-mautrix
(package
(name "python-mautrix")
(version "0.20.8")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mautrix/python")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1axwcdrs3zws5jgxxxpf7309p6bc8hrwr0jy94yc1km7kqjvq8l2"))))
(build-system pyproject-build-system)
(native-inputs
(list python-aiosqlite
python-asyncpg
python-olm
python-pycryptodome
python-pytest
python-pytest-asyncio
python-ruamel.yaml
python-setuptools
python-unpaddedbase64))
(propagated-inputs
(list python-aiohttp python-attrs python-yarl))
(home-page "https://github.com/mautrix/python")
(synopsis "Python 3 asyncio Matrix framework")
(description
"This package provides a Python 3.10+ asyncio Matrix framework.")
(license license:mpl2.0)
(properties '((disable-updater? . #t)))))
(define-public python-tulir-telethon
(package
(name "python-tulir-telethon")
(version "1.99.0a6")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tulir/Telethon")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1z53na08wqhx5fk5z22j1j34vl2q07d1f9knrn9k6r4v2bxw0nds"))))
(build-system pyproject-build-system)
(arguments (list #:tests? #f)) ;TODO
(native-inputs (list python-setuptools python-wheel))
(propagated-inputs (list python-cryptg python-pyaes python-rsa))
(home-page "https://github.com/tulir/Telethon")
(synopsis "Python 3 MTProto API Telegram client library")
(description
"Telethon is an @code{asyncio} Python 3 MTProto library to interact with
Telegram's API as a user or through a bot account (bot API alternative).")
(license license:expat)))
+15
View File
@@ -0,0 +1,15 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages rust-apps)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (rosenthal utils cargo)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system cargo)
;; Guix packages
#:use-module (gnu packages sqlite))
File diff suppressed because it is too large. Load diff
+30
View File
@@ -0,0 +1,30 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages ssh)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix packages
#:use-module (gnu packages compression)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages ssh))
(define-public dropbear/static
(let ((base dropbear))
(package
(inherit dropbear)
(name "dropbear-static")
(arguments
(substitute-keyword-arguments arguments
((#:configure-flags flags)
#~(append #$flags (list "--enable-static")))))
(inputs
(modify-inputs inputs
(append `(,zlib "static"))
(replace "libtomcrypt" `(,libtomcrypt "static"))
(replace "libtommath" `(,libtommath "static"))))
(properties
`(,@(package-properties base)
(disable-updater? . #t))))))
@@ -0,0 +1,7 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages tree-sitter)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages))
@@ -0,0 +1,9 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages version-control)
;; Utilities
#:use-module (guix packages)
#:use-module (rosenthal utils packages)
;; Guix packages
#:use-module (gnu packages rust-apps))
+27
View File
@@ -0,0 +1,27 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages video)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
;; Guix packages
#:use-module (gnu packages video))
(define-public libva-nox
(let ((base libva))
(package
(inherit base)
(name "libva-nox")
(arguments
(substitute-keyword-arguments arguments
((#:configure-flags configure-flags)
#~(append #$configure-flags (list "--disable-glx")))
((#:phases _) #~%standard-phases)))
(inputs
(modify-inputs inputs
(delete "libx11" "libxext" "libxfixes")))
(properties
`(,@(package-properties base)
(disable-updater? . #t))))))
+211
View File
@@ -0,0 +1,211 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022, 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages web)
;; Utilities
#:use-module (guix deprecation)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (rosenthal utils cargo)
;; Guix origin methods
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (rosenthal utils download)
;; Guix build systems
#:use-module (guix build-system cargo)
#:use-module (guix build-system copy)
#:use-module (guix build-system go)
#:use-module (rosenthal build-system go-vendored)
;; Guix packages
#:use-module (gnu packages golang)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages version-control)
#:use-module (gnu packages web))
(define-public ai-robots-txt
(package
(name "ai-robots-txt")
(version "1.50")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ai-robots-txt/ai.robots.txt")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"18ahcvhicbgn30km8aph1vq3l4x09aasj0xvz3b0s0p8pkqqmw7g"))
(modules '((guix build utils)))
(snippet '(delete-file-recursively "code"))))
(build-system copy-build-system)
(arguments
(list #:install-plan
''(("." "share/ai-robots-txt/"
#:include ("robots.txt"
".htaccess"
"nginx-block-ai-bots.conf"
"Caddyfile"
"haproxy-block-ai-bots.txt")))))
(home-page "https://github.com/ai-robots-txt/ai.robots.txt")
(synopsis "List of AI agents and robots to block")
(description
"This package provides a collection of configuration files to help
website owners block unwanted AI crawlers from accessing their sites.")
(license license:expat)))
(define-deprecated/public-alias anubis-anti-crawler anubis-ai-firewall)
(define-public caddy
(package
(name "caddy")
(version "2.11.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/caddyserver/caddy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"04ypcnmplbkmp7r5vi3q2lx270q2195c4h8ripdjc32z2qlkqff3"))))
(build-system go-vendored-build-system)
(arguments
(list #:go go-1.26
#:vendor-hash (base32 "0vjdmwp4qdxvkrn1h7pk9ckwi5cjksq7nbd96yqd2dqan4ri4v6q")
#:tests? (not (%current-target-system)) ;TODO: Run test suite.
#:install-source? #f
#:import-path
(if (string=? "caddy" (package-name this-package))
"./cmd/caddy"
".")
#:build-flags
#~(list "-tags" "nobadger nomysql nopgx"
(string-append
"-ldflags="
" -X github.com/caddyserver/caddy/v2.CustomVersion="
#$(package-version this-package)))
#:modules
(cons '(ice-9 match)
%default-go-vendored-modules)
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'install-extras
(lambda _
(let ((caddy
(or (which "caddy")
(in-vicinity #$output "bin/caddy"))))
(invoke caddy "manpage" "--directory"
(in-vicinity #$output "share/man/man8"))
(map
(match-lambda
((shell . path)
(let ((file (in-vicinity #$output path)))
(mkdir-p (dirname file))
(with-output-to-file file
(lambda ()
(invoke caddy "completion" shell))))))
'(("bash" . "etc/bash_completion.d/caddy")
("fish" . "share/fish/vendor_completions.d/caddy.fish")
("zsh" . "share/zsh/site-functions/_caddy"))))))
(delete 'check)
(add-after 'install 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(let ((caddy (in-vicinity #$output "bin/caddy")))
(invoke caddy "help")
(invoke caddy "version"))))))))
(home-page "https://caddyserver.com/")
(synopsis "Extensible HTTP web server with automatic HTTPS")
(description
"Caddy is a web server designed for simplicity and ease of use. It is
notable for its automatic HTTPS feature, which enables secure connections
without requiring complex configuration. Caddy is built with a focus on
performance and flexibility, making it suitable for a variety of applications,
from serving static websites to running dynamic web applications.")
(license license:asl2.0)))
(define-public caddy/dolly
(package
(inherit caddy)
(name "caddy-dolly")
(version "2026.06.01")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://git.guix.moe/hako/caddy.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1b8606rbg57ylxz2q88335s04q8yvg6b33qkq3hk9895vwd74mq0"))))
(arguments
(substitute-keyword-arguments arguments
((#:vendor-hash _ #f)
(base32 "0bwpayz2yf18cycffy02iiq88cl0smljimsf0yrdzrn1l3flg37s"))))
(home-page "https://git.guix.moe/hako/caddy")
(properties '((disable-updater? . #t)))))
(define-public forgejo
(package
(name "forgejo")
(version "14.0.4")
;; TODO: Address npm dependencies and fetch from git.
(source (origin
(method url-fetch)
(uri (string-append
"https://codeberg.org/forgejo/forgejo/releases/download/v"
version "/forgejo-src-" version ".tar.gz"))
(sha256
(base32
"0mjmns7yqhhkqc3jcg8bffs64zj4b52hy2v1lvr14pq162r6wcil"))))
(build-system go-vendored-build-system)
(arguments
(list #:tests? (not (%current-target-system)) ;TODO: Run test suite.
#:go go-1.26
#:install-source? #f
#:build-flags
#~(list (string-append
"-ldflags="
" -X main.ReleaseVersion=" #$(package-version this-package)
" -X main.Version=" #$(package-version this-package)
" -X main.ForgejoVersion=" #$(package-version this-package)
" -X forgejo.org/modules/setting.AppWorkPath=/var/lib/forgejo"
" -X forgejo.org/modules/setting.CustomPath=" #$output "/etc/forgejo"
" -X forgejo.org/modules/setting.CustomConf=/etc/forgejo/app.ini"))
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'rename-binary
(lambda _
(rename-file (in-vicinity #$output "bin/forgejo.org")
(in-vicinity #$output "bin/forgejo"))))
(add-after 'install 'install-extras
(lambda _
(mkdir-p (in-vicinity #$output "/etc/forgejo"))
(copy-file "custom/conf/app.example.ini"
(in-vicinity #$output "etc/forgejo/app.ini"))
(for-each
(lambda (dir)
(copy-recursively
dir (string-append #$output "/etc/forgejo/" dir)))
'("options" "public" "templates"))))
(delete 'check)
(add-after 'rename-binary 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(let ((forgejo (in-vicinity #$output "bin/forgejo")))
(invoke forgejo "--help")
(invoke forgejo "--version"))))))))
(native-inputs (list git-minimal))
(home-page "https://forgejo.org/")
(synopsis "Lightweight software forge")
(description
"Forgejo is a self-hosted, lightweight software forge designed to
facilitate collaborative software development. It is built to be easy to
install and maintain, making it an ideal choice for teams and organizations
looking for a reliable platform to manage their software projects.")
(license license:gpl3+)
(properties
'((disable-updater? . #t)))))
+178
View File
@@ -0,0 +1,178 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025-2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages wm)
;; Utilities
#:use-module (guix deprecation)
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system meson)
;; Guix packages
#:use-module (gnu packages calendar)
#:use-module (gnu packages cpp)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages linux)
#:use-module (gnu packages markup)
#:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages polkit)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages stb)
#:use-module (gnu packages window-management)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml))
(define wayland-protocols-1.48
(package
(inherit wayland-protocols)
(name "wayland-protocols")
(version "1.48")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.freedesktop.org/wayland/wayland-protocols")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0zqnn7bwqzifchjhclrrcqnp39cpd3nnf6nbd9bav2hwhcx92mwy"))))))
;; TODO: Unbundle dependencies under the third_party directory.
(define-public noctalia
(package
(name "noctalia")
(version "5.2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/noctalia-dev/noctalia-shell")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"16ndg97ri51g4b0hg4k3h7dyi6s3cqz2xsw2r999az2g5xd73x25"))))
(build-system meson-build-system)
(arguments
(list #:build-type "release"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'prepare-for-build
(lambda _
;; /bin/sh doesn't exist in the build environment.
(substitute* "tests/process_test.cpp"
(("/bin/(sh)" _ cmd)
(which cmd)))
;; Adjust import paths for STB headers packaged in Guix.
(substitute* (find-files "." "\\.cpp$|^meson\\.build$")
(("\\bstb/stb_") "stb_")))))))
(native-inputs
(list pkg-config))
(inputs
(list cairo
curl
fontconfig
freetype
glib
gmp
harfbuzz
jemalloc
mpfr
(librsvg-for-system)
libjxl
libical
libqalculate
libsecret
libsndfile
libsodium
libwebp
libxkbcommon
libxml2
linux-pam
md4c
mesa
nlohmann-json
pango
pipewire
polkit
sdbus-c++
stb-image-resize2
stb-image-write
tomlplusplus
wayland
wayland-protocols-1.48
wireplumber))
(home-page "https://noctalia.dev/")
(synopsis "Wayland shell and bar")
(description
"Noctalia is a lightweight Wayland shell and bar built directly on
Wayland and OpenGL ES, with no Qt or GTK dependency.")
(license license:expat)))
(define-deprecated-package noctalia-shell noctalia)
(define-public noctalia-greeter
(package
(name "noctalia-greeter")
(version "1.6.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/noctalia-dev/noctalia-greeter")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1ml2wssydhlvsm16njrlqzyq4a0rlpc0h7jv6hcvwl3cd134f2ka"))))
(build-system meson-build-system)
(arguments
(list #:build-type "release"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'prepare-for-build
(lambda _
;; Adjust import paths for STB headers packaged in Guix.
(substitute* (find-files "." "\\.cpp$|^meson\\.build$")
(("\\bstb/stb_") "stb_"))
;; Reproducibility.
(substitute* "meson.build"
(("'-march=native', '-mtune=native',") "")))))))
(native-inputs (list pkg-config wayland))
(inputs
(list cairo
fontconfig
freetype
glib
harfbuzz
jemalloc
(librsvg-for-system)
libwebp
libxkbcommon
libxml2
mesa
nlohmann-json
pango
stb-image-resize2
tomlplusplus
wayland
wayland-protocols
wlroots))
(home-page "https://noctalia.dev/")
(synopsis "Login greeter for greetd")
(description
"Noctalia Greeter is a minimal login greeter for greetd that matches the
look and feel of Noctalia Shell")
(license license:expat)))
+17
View File
@@ -0,0 +1,17 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal packages xorg)
;; Utilities
#:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (rosenthal utils cargo)
;; Guix origin methods
#:use-module (guix git-download)
;; Guix build systems
#:use-module (guix build-system cargo)
;; Guix packages
#:use-module (gnu packages llvm)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages xorg))
+138
View File
@@ -0,0 +1,138 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services base)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
#:use-module (rosenthal utils contract combinators)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils records)
#:use-module (rosenthal utils packages)
;; Guix System
#:use-module (gnu system keyboard)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services base)
#:use-module (gnu services dbus)
;; Guix packages
#:use-module (gnu packages admin)
#:use-module (gnu packages bash)
#:use-module (rosenthal packages admin)
#:use-module (rosenthal packages wm)
#:export (noctalia-greeter-configuration
noctalia-greeter-service-type
greetd-noctalia-greeter-session
greetd-tuigreet-session))
;;;
;;; noctalia-greeter
;;;
(define-record-type/dolly <noctalia-greeter-configuration>
noctalia-greeter-configuration
make-noctalia-greeter-configuration
noctalia-greeter-configuration?
this-noctalia-greeter-configuration
(package
noctalia-greeter-configuration-package
(default noctalia-greeter)
(contract file-like?)
(documentation
"Noctalia greeter package."))
(keyboard-layout
noctalia-greeter-configuration-keyboard-layout
(default #f)
(contract (or/c #f keyboard-layout?))
(documentation
"Keyboard layout to use in a Noctalia greeter session.")))
(define (noctalia-greeter-activation-service _)
#~(mkdir-p/perms "/var/lib/noctalia-greeter" (getpwnam "greeter") #o750))
(define noctalia-greeter-special-files-service
(match-record-lambda/dolly <noctalia-greeter-configuration>
(keyboard-layout)
(if keyboard-layout
(let* ((name (keyboard-layout-name keyboard-layout))
(variant (keyboard-layout-variant keyboard-layout))
(options (keyboard-layout-options keyboard-layout))
(layout
`(("layout" . ,name)
,@(if variant
`(("variant" . ,variant))
'())
,@(if (null? options)
'()
`(("options" . ,(string-join options ",")))))))
`(("/var/lib/noctalia-greeter/greeter.toml"
,(toml-file "greeter.toml"
`(("keyboard" . ,layout))))))
'())))
(define noctalia-greeter-service-type
(service-type
(name 'noctalia-greeter)
(extensions
(list (service-extension activation-service-type
noctalia-greeter-activation-service)
(service-extension special-files-service-type
noctalia-greeter-special-files-service)
(service-extension polkit-service-type
(compose list noctalia-greeter-configuration-package))
(service-extension profile-service-type
(compose list noctalia-greeter-configuration-package))))
(default-value (noctalia-greeter-configuration))
(description "Set up environment for @command{noctalia-greeter-session}.")))
(define-record-type/dolly <greetd-noctalia-greeter-session>
greetd-noctalia-greeter-session
make-greetd-noctalia-greeter-session
greetd-noctalia-greeter-session?
this-greetd-noctalia-greeter-session
(noctalia-greeter-session
greetd-noctalia-greeter-session-noctalia-greeter-session
(default (file-append noctalia-greeter "/bin/noctalia-greeter-session"))
(contract (or/c file-like? string?))
(documentation
"@command{noctalia-greeter-session} executable file.")))
(define-gexp-compiler (greetd-noctalia-greeter-session-compiler
(session <greetd-noctalia-greeter-session>)
system target)
(match-record/dolly session <greetd-noctalia-greeter-session> (noctalia-greeter-session)
(lower-object
(program-file "noctalia-greeter-wrapper"
#~(execl #$noctalia-greeter-session #$noctalia-greeter-session)))))
;;;
;;; tuigreet
;;;
(define-record-type* <greetd-tuigreet-session>
greetd-tuigreet-session make-greetd-tuigreet-session
greetd-tuigreet-session?
this-greetd-tuigreet-session
(tuigreet greetd-tuigreet-session-tuigreet
(default tuigreet))
(args greetd-tuigreet-session-args
(default '("--issue"
"--time"
"--user-menu"
"--asterisks"
"--remember"
"--remember-session"
"--power-shutdown" "loginctl poweroff"
"--power-reboot" "loginctl reboot"))))
(define-gexp-compiler (greetd-tuigreet-session-compiler
(session <greetd-tuigreet-session>)
system target)
(match-record session <greetd-tuigreet-session> (tuigreet args)
(let ((tuigreet (file-append tuigreet "/bin/tuigreet")))
(lower-object
(program-file "tuigreet-wrapper"
#~(execl #$tuigreet #$tuigreet #$@args))))))
+166
View File
@@ -0,0 +1,166 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022, 2023 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services bittorrent)
;; Guile builtins
#:use-module (ice-9 format)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
#:use-module (rosenthal utils predicates)
;; Guix System
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
#:use-module (gnu services shepherd)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shepherd)
;; Guix packages
#:use-module (gnu packages admin)
#:use-module (gnu packages bittorrent)
#:export (qbittorrent-configuration
qbittorrent-service-type
home-qbittorrent-service-type))
;;;
;;; qBittorrent
;;;
(define-configuration qbittorrent-configuration
(qbittorrent
(file-like qbittorrent-no-x)
"The qBittorrent package to use, we need @command{qbittorrent-nox}.")
(webui-port
(integer 8080)
"Change the Web UI port.")
(profile-directory
(string "/var/lib/qbittorrent")
"Directory to store configuration files in.")
(extra-options
(list-of-strings '())
"List of extra options.")
;; Account
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(no-serialization))
(define qbittorrent-account
(match-record-lambda <qbittorrent-configuration>
(group-id user-id)
(list (user-group
(name "qbittorrent")
(id group-id)
(system? #t))
(user-account
(name "qbittorrent")
(group "qbittorrent")
(uid user-id)
(system? #t)
(comment "qBittorrent user")
(home-directory "/var/empty")
(shell (file-append shadow "/sbin/nologin"))))))
;; Set default password to adminadmin
(define %qbittorrent-default-config-file
(plain-file
"qBittorrent.conf"
(format #f "~
[LegalNotice]
Accepted=true
[Preferences]
WebUI\\Password_PBKDF2=\"@ByteArray(ARQ77eY1NUZaQsuDHbIMCA==:0WMRkYTUWVT9wVvdDtHAjU9b3b7uB8NR1Gur2hmQCvCDpm39Q+PsJRJPaCU51dEiz+dTzh8qbPsL8WkFljQYFQ==)\"~%")))
(define qbittorrent-activation
(match-record-lambda <qbittorrent-configuration>
(profile-directory)
#~(begin
(use-modules (srfi srfi-26)
(guix build utils))
(let ((user (getpwnam "qbittorrent"))
(config-file
(string-append
#$profile-directory "/qBittorrent/config/qBittorrent.conf")))
(unless (file-exists? config-file)
(mkdir-p (dirname config-file))
(copy-file #$%qbittorrent-default-config-file config-file)
(map (cut chown <> (passwd:uid user) (passwd:gid user))
(cons #$profile-directory
(find-files #$profile-directory #:directories? #t))))))))
(define qbittorrent-shepherd-service
(match-record-lambda <qbittorrent-configuration>
(qbittorrent webui-port profile-directory extra-options)
(list (shepherd-service
(documentation "Run qbittorrent.")
(provision '(qbittorrent))
(requirement '(networking))
(start #~(make-forkexec-constructor
(list #$(file-append qbittorrent "/bin/qbittorrent-nox")
#$(string-append "--webui-port="
(number->string webui-port))
#$(string-append "--profile=" profile-directory)
#$@extra-options)
#:user "qbittorrent"
#:group "qbittorrent"
#:resource-limits '((nofile 65536 65536))))
(stop #~(make-kill-destructor #:grace-period 1800))
(actions
(list (shepherd-configuration-action
(string-append profile-directory
"/qBittorrent/config/qBittorrent.conf"))))))))
(define qbittorrent-service-type
(service-type
(name 'qbittorrent)
(extensions
(list (service-extension shepherd-root-service-type
qbittorrent-shepherd-service)
(service-extension activation-service-type
qbittorrent-activation)
(service-extension account-service-type
qbittorrent-account)))
(default-value (qbittorrent-configuration))
(description "Run qBittorrent daemon.")))
(define home-qbittorrent-activation
#~(let ((config-file
(string-append
(or (getenv "XDG_CONFIG_HOME")
(string-append user-homedir "/.config"))
"/qBittorrent/qBittorrent.conf")))
(unless (file-exists? config-file)
(mkdir-p (dirname config-file))
(copy-file #$%qbittorrent-default-config-file config-file))))
(define home-qbittorrent-shepherd-service
(match-record-lambda <qbittorrent-configuration>
(qbittorrent webui-port extra-options)
(list (shepherd-service
(documentation "Run qbittorrent.")
(provision '(qbittorrent))
(requirement '())
(start
#~(make-forkexec-constructor
(list
#$(file-append qbittorrent "/bin/qbittorrent-nox")
#$(string-append "--webui-port=" (number->string webui-port))
#$@extra-options)))
(stop #~(make-kill-destructor #:grace-period 1800))))))
(define home-qbittorrent-service-type
(service-type
(name 'home-qbittorrent)
(extensions
(list (service-extension home-activation-service-type
(const home-qbittorrent-activation))
(service-extension home-shepherd-service-type
home-qbittorrent-shepherd-service)))
(default-value (qbittorrent-configuration))
(description "Run qBittorrent daemon.")))
+507
View File
@@ -0,0 +1,507 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022, 2023 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services child-error)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils predicates)
;; Guix System
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services admin)
#:use-module (gnu services configuration)
#:use-module (gnu services databases)
#:use-module (gnu services shepherd)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shepherd)
;; Guix packages
#:use-module (gnu packages admin)
#:use-module (gnu packages web)
#:use-module (rosenthal packages binaries)
#:use-module (rosenthal packages networking)
#:export (clash-configuration
clash-service-type
cloudflare-tunnel-configuration
cloudflare-tunnel-service-type
cloudflare-warp-configuration
cloudflare-warp-service-type
home-wakapi-configuration
home-wakapi-service-type
shadow-tls-configuration
shadow-tls-client-configuration
shadow-tls-server-configuration
shadow-tls-service-type
home-shadow-tls-service-type
home-socks2http-configuration
home-socks2http-service-type))
;;;
;;; Clash
;;;
(define-configuration clash-configuration
(clash
(file-like mihomo)
"The clash package.")
(log-file
(string "/var/log/clash.log")
"Where the logs go.")
(data-directory
(string "/var/lib/clash")
"Where to store data.")
(config
(file-like (plain-file "empty" ""))
"Clash configuration file.")
;; Account
(group-id
(user-and-group-id #f)
"")
;; Shepherd
(shepherd-provision
(list '(clash))
"A list of Shepherd service names (symbols) provided by this service.")
(no-serialization))
(define clash-account
(match-record-lambda <clash-configuration>
(group-id)
(list (user-group
(name "clash")
(id group-id)
(system? #t)))))
(define clash-activation
(match-record-lambda <clash-configuration>
(data-directory config)
#~(begin
(use-modules (guix build utils))
(let ((config-dest (string-append #$data-directory "/config.yaml")))
(mkdir-p #$data-directory)
(if (file-exists? config-dest)
(delete-file config-dest))
(symlink #$config config-dest)))))
(define clash-shepherd-service
(match-record-lambda <clash-configuration>
(clash log-file data-directory shepherd-provision)
(list (shepherd-service
(documentation "Run clash.")
(provision shepherd-provision)
(requirement '(loopback networking))
(start #~(make-forkexec-constructor
(list (let ((mihomo-cmd
#$(file-append clash "/bin/mihomo"))
(clash-cmd
#$(file-append clash "/bin/clash")))
(if (file-exists? mihomo-cmd)
mihomo-cmd
clash-cmd))
"-d" #$data-directory)
#:group "clash"
#:log-file #$log-file))
(stop #~(make-kill-destructor))
(actions
(list (shepherd-configuration-action
(string-append data-directory "/config.yaml"))))))))
(define clash-service-type
(service-type
(name 'clash)
(extensions
(list (service-extension shepherd-root-service-type
clash-shepherd-service)
(service-extension activation-service-type
clash-activation)
(service-extension account-service-type
clash-account)))
(default-value (clash-configuration))
(description "Run Clash.")))
;;;
;;; Cloudflare Tunnel
;;;
(define-maybe string)
(define-configuration cloudflare-tunnel-configuration
(cloudflared
(file-like cloudflared)
"The cloudflared executable.")
;; Tunnel options
(log-level
(string "info")
"Application logging level (@code{debug}, @code{info}, @code{warn},
@code{error}, @code{fatal}). At debug level cloudflared will log request URL,
method, protocol, content length, as well as, all request and response
headers. This can expose sensitive information in your logs.")
(log-file
(string "/var/log/cloudflared.log")
"File path to store logs.")
(extra-tunnel-options
(list-of-strings '())
"List of extra tunnel options.")
;; Subcommand options
(token
maybe-string
"The Tunnel token.")
(token-file
maybe-string
"Secert file for the Tunnel token.")
(extra-options
(list-of-strings '())
"List of extra options.")
;; Account
(user-id
(user-and-group-id #f)
"")
(no-serialization))
(define cloudflare-tunnel-account
(match-record-lambda <cloudflare-tunnel-configuration>
(user-id)
(list (user-account
(name "cloudflared")
(group "nogroup")
(uid user-id)
(system? #t)
(home-directory "/var/empty")
(create-home-directory? #f)
(shell (file-append shadow "/sbin/nologin"))))))
(define cloudflare-tunnel-shepherd-service
(match-record-lambda <cloudflare-tunnel-configuration>
(cloudflared log-level log-file extra-tunnel-options
token token-file extra-options)
(list (shepherd-service
(documentation "Run cloudflared.")
(provision '(cloudflare-tunnel cloudflared))
(requirement '(loopback networking))
(start #~(make-forkexec-constructor
(list #$(file-append cloudflared "/bin/cloudflared")
"tunnel"
"--no-autoupdate"
"--loglevel" #$log-level
#$@extra-tunnel-options
"run"
#$@extra-options)
#:user "cloudflared"
#:group "nogroup"
#:log-file #$log-file
#:environment-variables
(list #$@(if (maybe-value-set? token)
(list (format #f "TUNNEL_TOKEN=~a"
token))
'())
#$@(if (maybe-value-set? token-file)
(list (format #f "TUNNEL_TOKEN_FILE=~a"
token-file))
'()))))
(stop #~(make-kill-destructor))))))
(define cloudflare-tunnel-service-type
(service-type
(name 'cloudflare-tunnel)
(extensions
(list (service-extension shepherd-root-service-type
cloudflare-tunnel-shepherd-service)
(service-extension account-service-type
cloudflare-tunnel-account)))
(default-value (cloudflare-tunnel-configuration))
(description "Run cloudflared, the Cloudflare Tunnel daemon.")))
;;;
;;; Cloudflare Warp
;;;
(define-configuration cloudflare-warp-configuration
(cloudflare-warp
(file-like cloudflare-warp-bin)
"The Cloudflare Warp package.")
(no-serialization))
(define cloudflare-warp-shepherd-service
(match-record-lambda <cloudflare-warp-configuration>
(cloudflare-warp)
(list (shepherd-service
(documentation "Run warp-svc.")
(provision '(cloudflare-warp))
(start #~(make-forkexec-constructor
(list #$(file-append cloudflare-warp "/bin/warp-svc"))
;; Logs are written to
;; /var/lib/cloudflare-warp/cfwarp_service_log.txt.
#:log-file "/dev/null"))
(stop #~(make-kill-destructor))))))
(define cloudflare-warp-service-type
(service-type
(name 'cloudflare-warp)
(extensions
(list (service-extension shepherd-root-service-type
cloudflare-warp-shepherd-service)
(service-extension
profile-service-type
(compose list cloudflare-warp-configuration-cloudflare-warp))))
(default-value (cloudflare-warp-configuration))
(description "Run warp-svc, the Cloudflare Warp daemon.")))
;;;
;;; Wakapi
;;;
(define-configuration home-wakapi-configuration
(wakapi
(file-like wakapi-bin)
"The wakapi package.")
(config
file-object-or-file-config
"Association list of Wakapi configurations.")
(no-serialization))
(define home-wakapi-shepherd-service
(match-record-lambda <home-wakapi-configuration>
(wakapi config)
(let ((config-file
(if (file-config? config)
(yaml-file "wakapi.yaml" config)
config)))
(list (shepherd-service
(documentation "Run wakapi.")
(provision '(wakapi))
(start #~(make-forkexec-constructor
(list #$(file-append wakapi "/bin/wakapi")
"-config" #$config-file)))
(stop #~(make-kill-destructor))
(actions (list (shepherd-configuration-action config-file))))))))
(define home-wakapi-service-type
(service-type
(name 'home-wakapi)
(extensions
(list (service-extension home-shepherd-service-type
home-wakapi-shepherd-service)))
(description "Run Wakapi, a self-hosted WakaTime-compatible backend.")))
;;;
;;; ShadowTLS
;;;
(define-maybe list-of-strings
(no-serialization))
(define-configuration shadow-tls-client-configuration
(listen-address
(string "")
"Listen address with port. Usually this port is used by Shadowsocks
client.")
(server-address
(string "")
"ShadowTLS server address with port.")
(sni-list
(list-of-strings '(""))
"SNI list.")
(password
(string "")
"Must be the same as the ShadowTLS server.")
(alpn
maybe-list-of-strings
"ALPN ext. Do not use unless you know what you are doing.")
(no-serialization))
(define-configuration shadow-tls-server-configuration
(listen-address
(string "")
"Listen address with port.")
(server-address
(string "")
"Data server address with port. Usually this port is listened by Shadowsocks
server.")
(tls-name-list
(list-of-strings '(""))
"TLS names. There must be a fallback server name at the last, and there can
be multiple mappings. Mappings can be represented as
@code{ServerName:Host:Port}. Host can be omitted, in this case
@code{ServerName} is used as @code{Host}. @code{Port} can be omitted too, which
is @code{443} by default")
(password
(string "")
"Must be the same as the ShadowTLS client.")
(no-serialization))
(define-record-type* <shadow-tls-configuration> shadow-tls-configuration
make-shadow-tls-configuration
shadow-tls-configuration?
this-shadow-tls-configuration
(shadow-tls shadow-tls-configuration-shadow-tls ;file-like
(default shadow-tls-bin))
(threads shadow-tls-configuration-threads ;integer | #f
(default #f))
(no-delay? shadow-tls-configuration-disable-no-delay? ;boolean
(default #t))
(v3-protocol? shadow-tls-configuration-v3-protocol? ;boolean
(default #f))
(log-level shadow-tls-configuration-log-level ;string
(default "info"))
(client shadow-tls-configuration-client ;<shadow-tls-client-configuration> | #f
(default #f))
(server shadow-tls-configuration-server ;<shadow-tls-server-configuration> | #f
(default #f))
(home-service? shadow-tls-configuration-home-service?
(default for-home?) (innate)))
(define shadow-tls-shepherd-service
(match-record-lambda <shadow-tls-configuration>
(shadow-tls threads no-delay? v3-protocol? log-level client server
home-service?)
(let ((common-options
(append (if threads
`("--threads" ,(number->string threads))
'())
(if no-delay?
'()
'("--disable-nodelay"))
(if v3-protocol?
'("--v3")
'()))))
(append
(if client
(match-record client
<shadow-tls-client-configuration>
(listen-address server-address sni-list password alpn)
(let ((log-file
(if home-service?
#~(string-append %user-log-dir "/shadow-tls-client.log")
"/var/log/shadow-tls-client.log")))
(list (shepherd-service
(documentation "Run shadow-tls client.")
(provision '(shadow-tls-client))
(requirement (if home-service? '() '(networking)))
(modules '((shepherd support)))
(start #~(make-forkexec-constructor
(list #$(file-append
shadow-tls "/bin/shadow-tls")
#$@common-options
"client"
"--listen" #$listen-address
"--server" #$server-address
"--sni" #$(string-join sni-list ";")
"--password" #$password
#$@(if (maybe-value-set? alpn)
`("--alpn" ,(string-join alpn ";"))
'()))
#:user #$(and (not home-service?) "nobody")
#:group #$(and (not home-service?) "nogroup")
#:log-file #$log-file
#:environment-variables
(list (string-append "RUST_LOG=" #$log-level))))
(stop #~(make-kill-destructor))))))
'())
(if server
(match-record server
<shadow-tls-server-configuration>
(listen-address server-address tls-name-list password)
(let ((log-file
(if home-service?
#~(string-append %user-log-dir "/shadow-tls-server.log")
"/var/log/shadow-tls-server.log")))
(list (shepherd-service
(documentation "Run shadow-tls server.")
(provision '(shadow-tls-server))
(requirement (if home-service? '() '(networking)))
(modules '((shepherd support)))
(start #~(make-forkexec-constructor
(list #$(file-append
shadow-tls "/bin/shadow-tls")
#$@common-options
"server"
"--listen" #$listen-address
"--server" #$server-address
"--tls" #$(string-join tls-name-list ";")
"--password" #$password)
#:user #$(and (not home-service?) "nobody")
#:group #$(and (not home-service?) "nogroup")
#:log-file #$log-file))
(stop #~(make-kill-destructor))))))
'())))))
(define shadow-tls-service-type
(service-type
(name 'shadow-tls)
(extensions
(list (service-extension shepherd-root-service-type
shadow-tls-shepherd-service)))
(default-value (shadow-tls-server-configuration))
(description "Run shadow-tls.")))
(define home-shadow-tls-service-type
(service-type
(inherit (system->home-service-type shadow-tls-service-type))
(default-value (for-home (shadow-tls-configuration)))))
;;;
;;; Socks2http
;;;
(define-configuration home-socks2http-configuration
(socks2http
(file-like socks2http)
"Socks2http package to use.")
(socks-address
(string ":1080")
"SOCKS5 proxy address to connect to.")
(http-address
(string ":8000")
"HTTP proxy address to serve.")
(no-serialization))
(define home-socks2http-shepherd-service
(match-record-lambda <home-socks2http-configuration>
(socks2http socks-address http-address)
(list (shepherd-service
(documentation "Run socks2http.")
(provision '(socks2http))
(start #~(make-forkexec-constructor
(list #$(file-append socks2http "/bin/socks2http")
"-raddr" #$socks-address
"-laddr" #$http-address)))
(stop #~(make-kill-destructor))))))
(define home-socks2http-service-type
(service-type
(name 'home-socks2http)
(extensions
(list (service-extension home-shepherd-service-type
home-socks2http-shepherd-service)))
(default-value (home-socks2http-configuration))
(description "Run socks2http.")))
(define-service-type-mapping
shadow-tls-service-type => home-shadow-tls-service-type)
+215
View File
@@ -0,0 +1,215 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services cuirass)
;; Guile builtins
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix modules)
#:use-module (guix records)
#:use-module (guix store)
#:use-module (rosenthal utils packages)
;; Guix System
#:use-module (gnu system)
#:use-module (gnu system linux-container)
#:use-module (gnu system file-systems)
#:use-module (gnu system shadow)
;; Guix System - bootloaders
#:use-module (gnu bootloader)
#:use-module (gnu bootloader grub)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services admin)
#:use-module (gnu services base)
#:use-module (gnu services cuirass)
#:use-module (gnu services databases)
#:use-module (gnu services shepherd)
;; Guix packages
#:use-module (gnu packages linux)
#:use-module (rosenthal packages ci)
#:export (cuirass-worker-container-service-type
cuirass-worker-container-configuration
cuirass-worker-container-configuration?
this-cuirass-worker-container-configuration
cuirass-worker-container-activation
cuirass-worker-container-shepherd
cuirass-service-type/hako))
;;;
;;; Cuirass service with ‘avahi-daemon’ shepherd requirement stripped.
;;;
(define cuirass-service-type/hako
(let ((cuirass-configuration-cuirass
(@@ (gnu services cuirass) cuirass-configuration-cuirass))
(cuirass-activation
(@@ (gnu services cuirass) cuirass-activation))
(cuirass-shepherd-service
(@@ (gnu services cuirass) cuirass-shepherd-service))
(cuirass-account
(@@ (gnu services cuirass) cuirass-account))
(cuirass-postgresql-role
(@@ (gnu services cuirass) cuirass-postgresql-role))
(strip-shepherd-requirement
(lambda (services)
(map (lambda (service)
(if (member 'cuirass-remote-server
(shepherd-service-provision service))
(shepherd-service
(inherit service)
(requirement
(remove (cut eqv? <> 'avahi-daemon)
(shepherd-service-requirement service))))
service))
services))))
(service-type
(name 'cuirass)
(extensions
(list
(service-extension profile-service-type ;for 'info cuirass'
(compose list cuirass-configuration-cuirass))
(service-extension activation-service-type cuirass-activation)
(service-extension shepherd-root-service-type
(compose strip-shepherd-requirement
cuirass-shepherd-service))
(service-extension account-service-type cuirass-account)
;; Make sure postgresql and postgresql-role are instantiated.
(service-extension postgresql-service-type (const #t))
(service-extension postgresql-role-service-type
cuirass-postgresql-role)))
(description "Run the Cuirass continuous integration service."))))
;;;
;;; Run Cuirass remote worker in container.
;;;
(define-record-type* <cuirass-worker-container-configuration>
cuirass-worker-container-configuration
make-cuirass-worker-container-configuration
cuirass-worker-container-configuration?
this-cuirass-worker-container-configuration
(host-name cuirass-worker-container-host-name)
(server cuirass-worker-container-server)
(workers cuirass-worker-container-workers
(default 1))
(supported-systems cuirass-worker-container-supported-systems
(default (list (%current-system)))
(thunked))
(substitute-urls cuirass-worker-container-substitute-urls
(default %default-substitute-urls))
;; Internal.
(container-script cuirass-worker-container-script
(default (%cuirass-worker-container-script
this-cuirass-worker-container-configuration))
(thunked))
;; Extensions.
(activation cuirass-worker-container-activation
(default (%cuirass-worker-container-activation
this-cuirass-worker-container-configuration))
(thunked))
(shepherd cuirass-worker-container-shepherd
(default (%cuirass-worker-container-shepherd
this-cuirass-worker-container-configuration))
(thunked)))
(define %cuirass-worker-container-script
(match-record-lambda <cuirass-worker-container-configuration>
(host-name server workers supported-systems substitute-urls)
(define cuirass-remote-worker-shepherd-service
(@@ (gnu services cuirass) cuirass-remote-worker-shepherd-service))
(define %cuirass-remote-worker-accounts
(@@ (gnu services cuirass) %cuirass-remote-worker-accounts))
(define (strip-shepherd-requirement services)
(map (lambda (service)
(if (member 'cuirass-remote-worker
(shepherd-service-provision service))
(shepherd-service
(inherit service)
(requirement
(remove (cut member <> '(avahi-daemon guix-daemon))
(shepherd-service-requirement service))))
service))
services))
(define cuirass-remote-worker-for-container
(service-type
(name 'cuirass-remote-worker)
(extensions
(list (service-extension shepherd-root-service-type
(compose strip-shepherd-requirement
cuirass-remote-worker-shepherd-service))
(service-extension account-service-type
(const %cuirass-remote-worker-accounts))))
(description "Run the Cuirass remote build worker service.")))
(define os
(operating-system
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(targets '("/dev/sda"))))
(file-systems
(cons (file-system
(mount-point "/")
(device "nothing")
(type "dummy"))
%base-file-systems))
(kernel linux-libre-lts)
(host-name host-name)
(services
(cons (service cuirass-remote-worker-for-container
(cuirass-remote-worker-configuration
(workers workers)
(server server)
(systems supported-systems)
(publish-port 5558)
(substitute-urls substitute-urls)))
%base-services))))
(with-store store
(run-with-store store
(container-script os #:shared-network? #t)))))
(define (%cuirass-worker-container-activation _)
(with-imported-modules (source-module-closure '((guix build utils)))
#~(begin
(use-modules (guix build utils))
(let ((log-file "/var/log/cuirass-worker-container.log"))
(mkdir-p (dirname log-file))
;; Clear log on start.
(call-with-output-file log-file (const #t))))))
(define %cuirass-worker-container-shepherd
(match-record-lambda <cuirass-worker-container-configuration>
(container-script)
(list (shepherd-service
(provision '(cuirass-worker-container))
(requirement '(guix-daemon user-processes))
(start
#~(make-forkexec-constructor
(list #$container-script
"--expose=/etc/guix"
"--share=/var/guix/daemon-socket/socket"
(string-append
"--share=" (string-join
'("/var/log/cuirass-worker-container.log"
"/var/log/cuirass-remote-worker.log")
"=")))))
(stop
#~(make-kill-destructor))))))
(define cuirass-worker-container-service-type
(service-type
(name 'cuirass-worker-container)
(extensions
(list (service-extension activation-service-type
cuirass-worker-container-activation)
(service-extension shepherd-root-service-type
cuirass-worker-container-shepherd)))
(description "")))
+795
View File
@@ -0,0 +1,795 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services desktop)
;; Utilities
#:use-module (guix deprecation)
#:use-module (guix diagnostics)
#:use-module (guix gexp)
#:use-module (guix i18n)
#:use-module (guix modules)
#:use-module (guix packages)
#:use-module (guix records)
#:use-module (guix utils)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils packages)
;; Guix build systems
#:use-module (guix build-system copy)
;; Guix System
#:use-module (gnu system)
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services base)
#:use-module (gnu services configuration)
#:use-module (gnu services desktop)
#:use-module (gnu services pm)
#:use-module (gnu services sddm)
#:use-module (gnu services xorg)
#:use-module (rosenthal services base)
#:use-module (rosenthal services networking)
;; Guix Home - services
#:use-module (gnu home)
#:use-module (gnu home services)
#:use-module (gnu home services desktop)
#:use-module (gnu home services shepherd)
#:use-module (gnu home services sound)
#:use-module (rosenthal home services desktop)
#:use-module (rosenthal home services gtk)
;; Guix packages
#:use-module (gnu packages fcitx5)
#:use-module (gnu packages fonts)
#:autoload (gnu packages glib) (glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages guile)
#:use-module (gnu packages hardware)
#:use-module (gnu packages linux)
#:use-module (gnu packages networking)
#:use-module (gnu packages polkit)
#:use-module (gnu packages qt)
#:use-module (gnu packages window-management)
#:use-module (gnu packages xorg)
#:use-module (rosenthal packages authentication)
#:use-module (rosenthal packages wm)
#:export (home-blueman-applet-configuration
home-blueman-applet-service-type
home-fcitx5-configuration
home-fcitx5-service-type
home-mako-configuration
home-mako-service-type
home-network-manager-applet-configuration
home-network-manager-applet-service-type
home-niri-configuration
home-niri-service-type
home-bb-auth-service-type
home-polkit-gnome-service-type
home-rofi-configuration
home-rofi-service-type
home-swaybg-configuration
home-swaybg-service-type
home-theme-configuration
home-theme-service-type
home-waybar-configuration
home-waybar-service-type
%rosenthal-skeletons
%rosenthal-skeletons-installer
%rosenthal-desktop-services/base
%rosenthal-desktop-services/gdm
%rosenthal-desktop-services/tuigreet
%rosenthal-desktop-services-gdm ;deprecated
%rosenthal-desktop-services ;deprecated
%rosenthal-desktop-home-services))
;;;
;;; Blueman
;;;
(define-configuration/no-serialization home-blueman-applet-configuration
(blueman
(file-like blueman)
""))
(define %home-blueman-applet-shepherd
(match-record-lambda <home-blueman-applet-configuration>
(blueman)
(list (shepherd-service
(documentation "Start blueman applet.")
(provision '(blueman-applet))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append blueman "/bin/blueman-applet"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-blueman-applet-service-type
(service-type
(name 'home-blueman-applet)
(extensions
(list (service-extension home-profile-service-type
(compose list home-blueman-applet-configuration-blueman))
(service-extension home-shepherd-service-type
%home-blueman-applet-shepherd)))
(default-value (home-blueman-applet-configuration))
(description "Run blueman applet, a tray applet for managing bluetooth.")))
;;;
;;; Fcitx5
;;;
(define list-of-file-likes?
(list-of file-like?))
(define-maybe file-like)
(define-maybe boolean)
(define-configuration/no-serialization home-fcitx5-configuration
(fcitx5
(file-like fcitx5)
"")
(utilities
(list-of-file-likes (list fcitx5-configtool))
"")
(themes
(list-of-file-likes '())
"")
(input-method-editors
(list-of-file-likes '())
"")
(wayland-frontend?
(boolean #f)
"")
;; deprecated
(gtk-im-module?
maybe-boolean
""
(sanitizer
(lambda (config)
(if (maybe-value-set? config)
(warning
(G_ "'~a': option '~a' is deprecated, please use '~a' instead.~%")
"home-fcitx5-configuration"
"gtk-im-module?"
"wayland-frontend?")))))
(qt-im-module?
maybe-boolean
""
(sanitizer
(lambda (config)
(if (maybe-value-set? config)
(warning
(G_ "'~a': option '~a' is deprecated, please use '~a' instead.~%")
"home-fcitx5-configuration"
"qt-im-module?"
"wayland-frontend?")))))
(xim?
maybe-boolean
""
(sanitizer
(lambda (config)
(if (maybe-value-set? config)
(warning
(G_ "'~a': option '~a' is deprecated.~%")
"home-fcitx5-configuration"
"xim?"))))))
;; https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland
(define home-fcitx5-environment-variables-service
(match-record-lambda <home-fcitx5-configuration>
(wayland-frontend?)
`(("XMODIFIERS" . "@im=fcitx")
("QT_IM_MODULE" . "fcitx")
,@(if wayland-frontend?
'(("QT_IM_MODULES" . "wayland;fcitx"))
'(("GTK_IM_MODULE" . "fcitx"))))))
(define home-fcitx5-gtk2-service
(match-record-lambda <home-fcitx5-configuration>
(wayland-frontend?)
(if wayland-frontend?
`(("gtk-im-module" . ,(format #f "~s" "fcitx")))
'())))
(define home-fcitx5-gtk3-service
(match-record-lambda <home-fcitx5-configuration>
(wayland-frontend?)
(if wayland-frontend?
`(("gtk-im-module" . "fcitx"))
'())))
(define home-fcitx5-profile-service
(match-record-lambda <home-fcitx5-configuration>
(fcitx5 utilities themes input-method-editors wayland-frontend?)
(append (list fcitx5 fcitx5-gtk fcitx5-qt)
(if wayland-frontend?
'()
(list `(,fcitx5-gtk "gtk2")
`(,fcitx5-gtk "gtk3")
fcitx5-gtk4))
utilities
themes
input-method-editors)))
(define home-fcitx5-shepherd-service
(match-record-lambda <home-fcitx5-configuration>
(fcitx5)
(list (shepherd-service
(documentation "Start fcitx5.")
(provision '(fcitx5))
(requirement '(dbus graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append fcitx5 "/bin/fcitx5"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-fcitx5-service-type
(service-type
(name 'home-fcitx5)
(extensions
(list (service-extension home-environment-variables-service-type
home-fcitx5-environment-variables-service)
(service-extension home-gtk2-service-type
home-fcitx5-gtk2-service)
(service-extension home-gtk3-service-type
home-fcitx5-gtk3-service)
(service-extension home-gtk4-service-type
home-fcitx5-gtk3-service)
(service-extension home-profile-service-type
home-fcitx5-profile-service)
(service-extension home-shepherd-service-type
home-fcitx5-shepherd-service)))
(default-value (home-fcitx5-configuration))
(description "Run fcitx5, an input method framework.")))
;;;
;;; mako
;;;
(define-configuration/no-serialization home-mako-configuration
(mako
(file-like mako)
"")
(config
maybe-file-like
"")
)
(define %home-mako-xdg-config
(match-record-lambda <home-mako-configuration>
(config)
(if (maybe-value-set? config)
`(("mako/config" ,config))
'())))
(define %home-mako-shepherd
(match-record-lambda <home-mako-configuration>
(mako)
(list (shepherd-service
(documentation "Start mako.")
(provision '(mako))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append mako "/bin/mako"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-mako-service-type
(service-type
(name 'home-mako)
(extensions
(list (service-extension home-xdg-configuration-files-service-type
%home-mako-xdg-config)
(service-extension home-shepherd-service-type
%home-mako-shepherd)
(service-extension home-graphical-session-service-type
(const 'wayland))))
(default-value (home-mako-configuration))
(description "Run mako, a notification daemon.")))
;;;
;;; network-manager-applet
;;;
(define-configuration/no-serialization home-network-manager-applet-configuration
(network-manager-applet
(file-like network-manager-applet)
""))
(define %home-network-manager-applet-shepherd
(match-record-lambda <home-network-manager-applet-configuration>
(network-manager-applet)
(list (shepherd-service
(documentation "Start network manager applet.")
(provision '(network-manager-applet))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append network-manager-applet "/bin/nm-applet"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-network-manager-applet-service-type
(service-type
(name 'home-network-manager-applet)
(extensions
(list (service-extension home-profile-service-type
(compose list home-network-manager-applet-configuration-network-manager-applet))
(service-extension home-shepherd-service-type
%home-network-manager-applet-shepherd)))
(default-value (home-network-manager-applet-configuration))
(description "Run nm-applet, a tray applet for managing networks.")))
;;;
;;; niri
;;;
(define-configuration/no-serialization home-niri-configuration
(config
maybe-file-like
""))
(define %home-niri-xdg-config
(match-record-lambda <home-niri-configuration>
(config)
(if (maybe-value-set? config)
`(("niri/config.kdl" ,config))
'())))
(define home-niri-service-type
(service-type
(name 'home-niri)
(extensions
(list (service-extension home-xdg-configuration-files-service-type
%home-niri-xdg-config)))
(default-value (home-niri-configuration))
(description
"Set up configuration file for niri, a scrollable-tiling Wayland
compositor.")))
;;;
;;; Noctalia
;;;
(define-deprecated/public-alias home-noctalia-shell-configuration
(@ (rosenthal home services desktop) home-noctalia-configuration))
(define-deprecated/public-alias home-noctalia-shell-service-type
(@ (rosenthal home services desktop) home-noctalia-service-type))
;;;
;;; bb-auth
;;;
(define (%home-bb-auth-shepherd _)
(list (shepherd-service
(provision '(bb-auth))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append bb-auth "/libexec/bb-auth") "--daemon")
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor)))))
(define home-bb-auth-service-type
(service-type
(name 'home-bb-auth)
(extensions
(list (service-extension home-shepherd-service-type
%home-bb-auth-shepherd)))
(default-value #f)
(description "Run @command{bb-auth} daemon.")))
;;;
;;; polkit-gnome
;;;
(define (%home-polkit-gnome-shepherd _)
(list (shepherd-service
(provision '(polkit-gnome))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append polkit-gnome "/libexec/polkit-gnome-authentication-agent-1"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor)))))
(define home-polkit-gnome-service-type
(service-type
(name 'home-polkit-gnome)
(extensions
(list (service-extension home-shepherd-service-type
%home-polkit-gnome-shepherd)))
(default-value #f)
(description "")))
;;;
;;; rofi
;;;
(define-configuration/no-serialization home-rofi-configuration
(config
maybe-file-like
""))
(define %home-rofi-xdg-config
(match-record-lambda <home-rofi-configuration>
(config)
(if (maybe-value-set? config)
`(("rofi/config.rasi" ,config))
'())))
(define home-rofi-service-type
(service-type
(name 'home-rofi)
(extensions
(list (service-extension home-xdg-configuration-files-service-type
%home-rofi-xdg-config)))
(default-value (home-rofi-configuration))
(description
"Set up configuration file for rofi, an application launcher.")))
;;;
;;; swaybg
;;;
(define-configuration/no-serialization home-swaybg-configuration
(swaybg
(file-like swaybg)
"")
(background
(file-like (local-file "../examples/wallpaper.jpg"))
""))
(define %home-swaybg-shepherd
(match-record-lambda <home-swaybg-configuration>
(swaybg background)
(list (shepherd-service
(documentation "Start swaybg.")
(provision '(swaybg))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append swaybg "/bin/swaybg") "--mode" "fill"
"--image" #$background)
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-swaybg-service-type
(service-type
(name 'home-swaybg)
(extensions
(list (service-extension home-shepherd-service-type
%home-swaybg-shepherd)
(service-extension home-graphical-session-service-type
(const 'wayland))))
(default-value (home-swaybg-configuration))
(description
"Run swaybg, a screen wallpaper utility for Wayland compositors.")))
;;;
;;; theme
;;;
(define-configuration/no-serialization home-theme-configuration
(packages
(list-of-file-likes '())
"")
(icon-theme
(string "Adwaita")
"")
(font
(string "sans-serif 11")
"")
(cursor-theme
(string "Adwaita")
"")
(cursor-size
(number 24)
"")
(key-theme
(string "Default")
""))
(define home-theme-activation-service
(match-record-lambda <home-theme-configuration>
(icon-theme cursor-theme font)
#~(let ((gsettings #$(file-append (gexp-input glib "bin") "/bin/gsettings")))
(system* gsettings "set" "org.gnome.desktop.interface" "icon-theme" #$icon-theme)
(system* gsettings "set" "org.gnome.desktop.interface" "cursor-theme" #$cursor-theme)
(system* gsettings "set" "org.gnome.desktop.interface" "font-name" #$font))))
(define (%home-theme-environment-variables _)
'(("QT_QPA_PLATFORMTHEME" . "gtk3")
("QT_WAYLAND_DECORATION" . "adwaita")))
(define %home-theme-profile
(match-record-lambda <home-theme-configuration>
(packages)
(cons* adwaita-icon-theme
packages)))
(define home-theme-icons-config
(match-record-lambda <home-theme-configuration>
(icon-theme)
(ini-file "index.theme"
#~'(("icon theme"
. (("Inherits" . #$icon-theme)))))))
(define (home-theme-files config)
`((".icons/default/index.theme"
,(home-theme-icons-config config))))
(define (home-theme-xdg-data-files config)
`(("icons/default/index.theme"
,(home-theme-icons-config config))))
(define home-theme-gtk2
(match-record-lambda <home-theme-configuration>
(icon-theme font cursor-theme cursor-size key-theme)
`(("gtk-theme-name" . ,(format #f "~s" "Adwaita"))
("gtk-icon-theme-name" . ,(format #f "~s" icon-theme))
("gtk-font-name" . ,(format #f "~s" font))
("gtk-cursor-theme-name" . ,(format #f "~s" cursor-theme))
("gtk-cursor-theme-size" . ,cursor-size)
("gtk-key-theme-name" . ,(format #f "~s" key-theme)))))
(define home-theme-gtk3
(match-record-lambda <home-theme-configuration>
(icon-theme font cursor-theme cursor-size key-theme)
`(("gtk-theme-name" . "Adwaita")
("gtk-icon-theme-name" . ,icon-theme)
("gtk-font-name" . ,font)
("gtk-cursor-theme-name" . ,cursor-theme)
("gtk-cursor-theme-size" . ,cursor-size)
("gtk-key-theme-name" . ,key-theme))))
(define home-theme-gtk4
(match-record-lambda <home-theme-configuration>
(icon-theme font cursor-theme cursor-size key-theme)
`(("gtk-theme-name" . "Adwaita")
("gtk-icon-theme-name" . ,icon-theme)
("gtk-font-name" . ,font)
("gtk-cursor-theme-name" . ,cursor-theme)
("gtk-cursor-theme-size" . ,cursor-size))))
(define home-theme-service-type
(service-type
(name 'home-theme)
(extensions
(list (service-extension home-activation-service-type
home-theme-activation-service)
(service-extension home-environment-variables-service-type
%home-theme-environment-variables)
(service-extension home-profile-service-type
%home-theme-profile)
(service-extension home-files-service-type
home-theme-files)
(service-extension home-xdg-data-files-service-type
home-theme-xdg-data-files)
(service-extension home-gtk2-service-type
home-theme-gtk2)
(service-extension home-gtk3-service-type
home-theme-gtk3)
(service-extension home-gtk4-service-type
home-theme-gtk4)))
(default-value (home-theme-configuration))
(description "Set up desktop themes.")))
;;;
;;; waybar
;;;
(define-configuration/no-serialization home-waybar-configuration
(waybar
(file-like waybar)
"")
(config
maybe-file-like
"")
(style
maybe-file-like
""))
(define %home-waybar-xdg-config
(match-record-lambda <home-waybar-configuration>
(config style)
`(,@(if (maybe-value-set? config)
`(("waybar/config.jsonc" ,config))
'())
,@(if (maybe-value-set? style)
`(("waybar/style.css" ,style))
'()))))
(define %home-waybar-shepherd
(match-record-lambda <home-waybar-configuration>
(waybar)
(list (shepherd-service
(documentation "Start waybar.")
(provision '(waybar))
(requirement '(graphical-session))
(start
#~(lambda args
((make-forkexec-constructor
(list #$(file-append waybar "/bin/waybar"))
;; Inherit graphical session environment.
#:environment-variables (environ))
args)))
(stop #~(make-kill-destructor))))))
(define home-waybar-service-type
(service-type
(name 'home-waybar)
(extensions
(list (service-extension home-xdg-configuration-files-service-type
%home-waybar-xdg-config)
(service-extension home-shepherd-service-type
%home-waybar-shepherd)
(service-extension home-graphical-session-service-type
(const 'wayland))))
(default-value (home-waybar-configuration))
(description "Run waybar, a status bar for Wayland compositors.")))
;;;
;;; Configuration file presets.
;;;
(define %rosenthal-skeletons
`((".config/emacs/init.el"
,(local-file "../examples/emacs/init.el"))
(".config/fcitx5/config"
,(local-file "../examples/dot-config/fcitx5/config"))
(".config/htop/htoprc"
,(local-file "../examples/dot-config/htop/htoprc"))
(".config/niri/config.kdl"
,(local-file "../examples/dot-config/niri/config.kdl"))
(".config/xfce4/helpers.rc"
,(local-file "../examples/dot-config/xfce4/helpers.rc"))
,@(default-skeletons)))
(define %rosenthal-skeletons-installer
`((".config/noctalia/settings.json"
,(local-file "../examples/dot-config/noctalia/settings.json"))
(".config/wezterm/wezterm.lua"
,(local-file "../examples/dot-config/wezterm/wezterm.lua"))
;; Prevent Noctalia shell initial screen.
(".cache/noctalia/shell-state.json"
,(json-file "noctalia-shell-state.json"
#~'(("changelogState"
("lastSeenVersion"
. #$(string-append "v" (package-version noctalia-shell))))
("telemetry"
("instanceId" . "")))))
,@%rosenthal-skeletons))
;;;
;;; Service presets.
;;;
(define* (base-rosenthal-desktop-services
#:optional (system (or (%current-target-system)
(%current-system))))
(define %display-manager-service-type
(if (target-64bit? system)
gdm-service-type
sddm-service-type))
(cons* (service bluetooth-service-type
(bluetooth-configuration
(auto-enable? #t)))
(service gvfs-service-type)
(service power-profiles-daemon-service-type)
;; Screen lockers for Wayland environment. No dependencies are pulled
;; in since we're using empty files.
(service screen-locker-service-type
(screen-locker-configuration
(name "swaylock")
(program (plain-file "empty" "")) ;Not used.
(using-setuid? #f)))
(service screen-locker-service-type
(screen-locker-configuration
(name "waylock")
(program (plain-file "empty" "")) ;Not used.
(using-setuid? #f)))
;; Add udev rules for backlight control.
(simple-service 'backlight udev-service-type (list ddcutil light))
(modify-services %desktop-services
(delete %display-manager-service-type)
;; Use a font suitable for HiDPI monitors.
(console-font-service-type
_ => (map (lambda (num)
(cons (string-append "tty" (number->string num))
(file-append font-terminus
"/share/consolefonts/ter-132n")))
(iota 6 1))))))
(define-syntax %rosenthal-desktop-services/base
(identifier-syntax (base-rosenthal-desktop-services)))
(define %rosenthal-desktop-services/gdm
(cons* (service gdm-service-type)
%rosenthal-desktop-services/base))
(define %rosenthal-desktop-services/tuigreet
(cons* (service greetd-service-type
(greetd-configuration
(greeter-supplementary-groups '("video" "input"))
(terminals
(map (lambda (x)
(greetd-terminal-configuration
(terminal-vt (number->string x))
(terminal-switch (eqv? 1 x))
(default-session-command
(cond
((eqv? 1 x)
(greetd-tuigreet-session))
(else
(greetd-agreety-session
(command
(greetd-user-session
(command #~(getenv "SHELL"))))))))))
(iota 6 1)))))
(modify-services %rosenthal-desktop-services/base
(delete mingetty-service-type))))
(define-deprecated %rosenthal-desktop-services-gdm %rosenthal-desktop-services/gdm)
(define-deprecated %rosenthal-desktop-services %rosenthal-desktop-services/tuigreet)
(define %rosenthal-desktop-home-services
(cons* (service home-dbus-service-type)
(service home-pipewire-service-type)
%base-home-services))
+50
View File
@@ -0,0 +1,50 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2022, 2023 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services dns)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
#:use-module (gnu services shepherd)
;; Guix packages
#:use-module (gnu packages dns)
#:export (smartdns-configuration
smartdns-service-type))
;;;
;;; Smartdns
;;;
(define-configuration smartdns-configuration
(smartdns
(file-like smartdns)
"The Smartdns package.")
(config-file
(file-like (plain-file "empty" ""))
"Configuration file for Smartdns.")
(no-serialization))
(define smartdns-shepherd-service
(match-record-lambda <smartdns-configuration>
(smartdns config-file)
(list (shepherd-service
(documentation "Run smartdns.")
(provision '(smartdns dns))
(requirement '(loopback networking))
(start #~(make-forkexec-constructor
(list #$(file-append smartdns "/sbin/smartdns")
"-f" "-c" #$(file-append config-file))))
(stop #~(make-kill-destructor))))))
(define smartdns-service-type
(service-type
(name 'smartdns)
(extensions
(list (service-extension shepherd-root-service-type
smartdns-shepherd-service)))
(default-value (smartdns-configuration))
(description "Run Smartdns daemon.")))
+201
View File
@@ -0,0 +1,201 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2024, 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services file-systems)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
;; Guix System
#:use-module (gnu system pam)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services base)
#:use-module (gnu services configuration)
#:use-module (gnu services linux)
#:use-module (gnu services mcron)
#:use-module (gnu services shepherd)
;; Guix packages
#:use-module (gnu packages backup)
#:use-module (gnu packages file-systems)
#:use-module (rosenthal packages admin)
#:export (btrbk-service-type
btrbk-configuration
dumb-runtime-dir-service-type
zfs-service-type
zfs-configuration))
;;;
;;; Btrbk
;;;
(define-configuration btrbk-configuration
(btrbk
(file-like btrbk)
"@code{btrbk} package to use.")
(config-file
(file-like (plain-file "empty" ""))
"File-like object for btrbk configuration, see also @code{btrbk.conf(5)}.")
(no-serialization))
(define (btrbk-etc-service config)
`(("btrbk/btrbk.conf" ,(btrbk-configuration-config-file config))))
(define (btrbk-mcron-jobs config)
(list #~(job next-hour-from
#$(file-append (btrbk-configuration-btrbk config)
"/bin/btrbk run --quiet"))))
(define btrbk-service-type
(service-type
(name 'btrbk)
(extensions
(list (service-extension etc-service-type
btrbk-etc-service)
(service-extension mcron-service-type
btrbk-mcron-jobs)))
(default-value (btrbk-configuration))
(description "Configure and run btrbk hourly.")))
;;;
;;; pam-dumb-runtime-dir
;;;
(define dumb-runtime-dir-activation
#~(begin
(use-modules (guix build utils))
(mkdir-p "/run/user")
(chmod "/run/user" #o0755)))
(define dumb-runtime-dir-pam-service
(let ((optional-pam-entry
(pam-entry
(control "optional")
(module
(file-append
pam-dumb-runtime-dir "/lib/security/pam_dumb_runtime_dir.so")))))
(list (pam-extension
(transformer
(lambda (pam)
(if (string=? (pam-service-name pam) "login")
(pam-service
(inherit pam)
(session
(cons optional-pam-entry
(pam-service-session pam))))
pam)))))))
(define dumb-runtime-dir-service-type
(service-type
(name 'dumb-runtime-dir)
(extensions
(list (service-extension activation-service-type
(const dumb-runtime-dir-activation))
(service-extension pam-root-service-type
(const dumb-runtime-dir-pam-service))))
(default-value #f) ;No default value required.
(description "Create @code{XDG_RUNTIME_DIR} on login and never remove it.")))
;;;
;;; ZFS
;;;
(define-configuration/no-serialization zfs-configuration
(zfs
(file-like zfs)
"ZFS package to use.")
(kernel-has-zfs-module?
(boolean #f)
"Whether ZFS module has already been built into the kernel.")
(volumes?
(boolean #f)
"Wait for ZFS volumes to show up.")
(auto-mount?
(boolean #t)
"Auto-mount ZFS datasets."))
(define zfs-linux-loadable-module-service
(match-record-lambda <zfs-configuration>
(zfs kernel-has-zfs-module?)
(if kernel-has-zfs-module?
'()
(list `(,zfs "module")))))
(define add-zfs-package
(match-record-lambda <zfs-configuration>
(zfs)
(list zfs)))
(define zfs-shepherd-service
(match-record-lambda <zfs-configuration>
(zfs volumes? auto-mount?)
`(,(shepherd-service
(provision '(zfs-import))
(requirement '(udev))
(documentation "Import ZFS storage pools.")
(start
#~(make-system-constructor
(string-join
(list #$(file-append zfs "/sbin/zpool") "import" "-a" "-N"))))
(stop #~(const #f)))
,@(if volumes?
(list
(shepherd-service
(provision '(zfs-volumes))
(requirement '(zfs-import))
(documentation "Wait for ZFS volume links to appear in /dev.")
(start
#~(make-system-constructor
(string-join
;; TODO: Patch references within zfs package instead.
(list "PATH=/run/current-system/profile/bin:/run/current-system/profile/sbin"
#$(file-append zfs "/bin/zvol_wait")))))
(stop #~(const #f))))
'())
,@(if auto-mount?
(list
(shepherd-service
(provision '(zfs-mount))
(requirement '(zfs-import))
(documentation "Mount all available ZFS file systems.")
(start
#~(make-system-constructor
(string-join
(list #$(file-append zfs "/sbin/zfs") "mount" "-a" "-l"))))
(stop
#~(make-system-destructor
(string-join
(list #$(file-append zfs "/sbin/zfs") "unmount" "-a"))))))
'())
,(shepherd-service
(provision '(file-system-zfs))
(requirement
`(zfs-import
,@(if volumes? '(zfs-volumes) '())
,@(if auto-mount? '(zfs-mount) '())))
(documentation "Take care of ZFS file systems.")
(start #~(const #t))
(stop #~(const #f))))))
(define zfs-service-type
(service-type
(name 'zfs)
(extensions
(list (service-extension linux-loadable-module-service-type
zfs-linux-loadable-module-service)
(service-extension udev-service-type
add-zfs-package)
(service-extension profile-service-type
add-zfs-package)
(service-extension shepherd-root-service-type
zfs-shepherd-service)
(service-extension user-processes-service-type
(const '(file-system-zfs)))))
(default-value (zfs-configuration))
(description "")))
+65
View File
@@ -0,0 +1,65 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services games)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix records)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils predicates)
;; Guix System
#:use-module (gnu system accounts)
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
#:use-module (gnu services dbus)
;; Guix packages
#:use-module (gnu packages linux)
#:export (gamemode-service-type
gamemode-configuration))
(define-maybe file-object-or-file-config)
(define-configuration/no-serialization gamemode-configuration
(gamemode
(file-like gamemode)
"@code{gamemode} package to use.")
(config
maybe-file-object-or-file-config
""))
(define (gamemode-account-service config)
(list (user-group
(system? #t)
(name "gamemode"))))
(define gamemode-etc-service
(match-record-lambda <gamemode-configuration>
(gamemode config)
`(("gamemode.ini"
,(if (maybe-value-set? config)
(if (file-config? config)
(ini-file "gamemode.ini" config)
config)
(file-append (package-source gamemode) "/example/gamemode.ini")))
("security/limits.d/10-gamemode.conf"
,(file-append gamemode "/etc/security/limits.d/10-gamemode.conf")))))
(define gamemode-service-type
(service-type
(name 'gamemode)
(extensions
(list (service-extension profile-service-type
(compose list gamemode-configuration-gamemode))
(service-extension account-service-type
gamemode-account-service)
(service-extension etc-service-type
gamemode-etc-service)
(service-extension dbus-root-service-type
(compose list gamemode-configuration-gamemode))
(service-extension polkit-service-type
(compose list gamemode-configuration-gamemode))))
(default-value (gamemode-configuration))
(description "Set up Guix System environment for gamemode.")))
+29
View File
@@ -0,0 +1,29 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2021 Andrew Tropin <andrew@trop.in>
(define-module (rosenthal services keyboard)
;; Guix System
#:use-module (gnu system keyboard)
;; Guix Home - services
#:use-module (gnu home services)
#:export (home-keyboard-service-type))
(define (set-xkb-variables layout)
(if layout
`(("XKB_DEFAULT_LAYOUT" . ,(keyboard-layout-name layout))
("XKB_DEFAULT_VARIANT" . ,(keyboard-layout-variant layout))
("XKB_DEFAULT_OPTIONS" . ,(string-join
(keyboard-layout-options layout) ","))
("XKB_DEFAULT_MODEL" . ,(keyboard-layout-model layout)))
'()))
(define home-keyboard-service-type
(service-type (name 'home-keyboard)
(extensions
(list (service-extension
home-environment-variables-service-type
set-xkb-variables)))
(default-value #f)
(description "Set layouts by configuring XKB_*
environment variables. Service accepts an instance of
@code{keyboard-layout} from @code{(gnu system keyboard)}.")))
+134
View File
@@ -0,0 +1,134 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2024, 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services mail)
;; Guile builtins
#:use-module (srfi srfi-26)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix records)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils predicates)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services admin)
#:use-module (gnu services configuration)
#:use-module (gnu services containers)
#:use-module (gnu services docker)
#:use-module (gnu services shepherd)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shepherd)
;; Guix packages
#:use-module (gnu packages mail)
#:export (docker-mailserver-configuration
docker-mailserver-service-type
home-goimapnotify-service-type
home-goimapnotify-configuration))
;;;
;;; Docker Mailserver
;;; https://docker-mailserver.github.io/docker-mailserver/latest/
;;;
(define-configuration docker-mailserver-configuration
(data-directory
(string "/var/lib/docker-mailserver")
"Directory to store Docker Mailserver data.")
(log-file
(string "/var/log/docker-mailserver.log")
"Path to log file.")
(shepherd-requirement
(list-of-symbols '())
"List of Shepherd service dependencies.")
(options
(alist '())
"Alist of Docker Mailserver configuration. See also
@url{https://docker-mailserver.github.io/docker-mailserver/latest/config/environment/}.")
(extra-arguments
(list '())
"List of extra Docker arguments.")
(no-serialization))
(define docker-mailserver-oci
(match-record-lambda <docker-mailserver-configuration>
(data-directory log-file shepherd-requirement options extra-arguments)
(let ((docker-mailserver-path
(cut string-append data-directory <>)))
(oci-extension
(containers
(list (oci-container-configuration
(environment options)
(image "ghcr.io/docker-mailserver/docker-mailserver:latest")
(provision "docker-mailserver")
(requirement shepherd-requirement)
(log-file log-file)
(network "host")
(volumes
`((,(docker-mailserver-path "/data") . "/var/mail")
(,(docker-mailserver-path "/state") . "/var/mail-state")
(,(docker-mailserver-path "/logs") . "/var/log/mail")
(,(docker-mailserver-path "/config") . "/tmp/docker-mailserver")
("/etc/localtime" . "/etc/localtime:ro")))
(extra-arguments extra-arguments))))))))
(define docker-mailserver-service-type
(service-type
(name 'docker-mailserver)
(extensions
(list (service-extension oci-service-type
docker-mailserver-oci)))
(default-value (docker-mailserver-configuration))
(description "Run Docker Mailserver.")))
;;;
;;; goimapnotify
;;;
(define-configuration/no-serialization home-goimapnotify-configuration
(goimapnotify
(file-like goimapnotify)
"")
(config
file-object-or-file-config
"")
(wait
(integer 1)
"")
(shepherd-provision
(list-of-symbols '(goimapnotify))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define home-goimapnotify-shepherd
(match-record-lambda <home-goimapnotify-configuration>
(goimapnotify config wait shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(yaml-file "goimapnotify.yaml" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement shepherd-requirement)
(start
#~(make-forkexec-constructor
(list #$(file-append goimapnotify "/bin/goimapnotify")
"-conf" #$config-file
"-wait" (number->string #$wait))))
(stop #~(make-kill-destructor))
(auto-start? auto-start?))))))
(define home-goimapnotify-service-type
(service-type
(name 'home-goimapnotify)
(extensions
(list (service-extension home-shepherd-service-type
home-goimapnotify-shepherd)))
(description "")))
+192
View File
@@ -0,0 +1,192 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services messaging)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix modules)
#:use-module (guix records)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils predicates)
;; Guix System
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
#:use-module (gnu services databases)
#:use-module (gnu services shepherd)
;; Guix packages
#:use-module (rosenthal packages messaging)
#:export (heisenbridge-service-type
heisenbridge-configuration
mautrix-telegram-service-type
mautrix-telegram-configuration))
;;;
;;; Heisenbridge
;;;
(define-configuration/no-serialization heisenbridge-configuration
(heisenbridge
(file-like heisenbridge)
"")
(homeserver
(string "http://localhost:8008")
"")
(config
file-object-or-file-config
"")
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(shepherd-provision
(list-of-symbols '(heisenbridge))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define heisenbridge-account
(match-record-lambda <heisenbridge-configuration>
(group-id user-id)
(list (user-group
(name "heisenbridge")
(id group-id)
(system? #t))
(user-account
(name "heisenbridge")
(group "heisenbridge")
(uid user-id)
(system? #t)
(home-directory "/var/empty")))))
(define heisenbridge-shepherd
(match-record-lambda <heisenbridge-configuration>
(heisenbridge config homeserver shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(yaml-file "heisenbridge.yaml" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement `(user-processes networking ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append heisenbridge "/bin/heisenbridge")
"--config" #$config-file #$homeserver)
#:user "heisenbridge"
#:group "heisenbridge"
#:environment-variables
'("PATH=/run/current-system/profile/bin"
"SSL_CERT_DIR=/run/current-system/profile/etc/ssl/certs"
"SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt")))
(stop #~(make-kill-destructor))
(auto-start? auto-start?)
(actions (list (shepherd-configuration-action config-file))))))))
(define heisenbridge-service-type
(service-type
(name 'heisenbridge)
(extensions
(list (service-extension account-service-type
heisenbridge-account)
(service-extension shepherd-root-service-type
heisenbridge-shepherd)))
(description "")))
;;;
;;; Mautrix Telegram
;;;
(define-configuration/no-serialization mautrix-telegram-configuration
(mautrix-telegram
(file-like mautrix-telegram)
"")
(config
file-object-or-file-config
"")
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(shepherd-provision
(list-of-symbols '(mautrix-telegram))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define mautrix-telegram-account
(match-record-lambda <mautrix-telegram-configuration>
(group-id user-id)
(list (user-group
(name "mautrix-telegram")
(id group-id)
(system? #t))
(user-account
(name "mautrix-telegram")
(group "mautrix-telegram")
(uid user-id)
(system? #t)
(home-directory "/var/lib/mautrix-telegram")))))
(define mautrix-telegram-activation
(with-imported-modules (source-module-closure '((gnu build activation)))
#~(begin
(use-modules (gnu build activation))
(let ((user (getpwnam "mautrix-telegram")))
(mkdir-p/perms "/var/lib/mautrix-telegram" user #o700)))))
(define mautrix-telegram-postgresql-role
(list (postgresql-role
(name "mautrix-telegram")
(create-database? #t))))
(define mautrix-telegram-shepherd
(match-record-lambda <mautrix-telegram-configuration>
(mautrix-telegram config shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(yaml-file "mautrix-telegram.yaml" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement
`(user-processes networking postgresql ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append mautrix-telegram "/bin/mautrix-telegram")
"--no-update" "--config" #$config-file)
#:user "mautrix-telegram"
#:group "mautrix-telegram"
#:directory "/var/lib/mautrix-telegram"))
(stop #~(make-kill-destructor))
(auto-start? auto-start?)
(actions (list (shepherd-configuration-action config-file))))))))
(define mautrix-telegram-service-type
(service-type
(name 'mautrix-telegram)
(extensions
(list (service-extension account-service-type
mautrix-telegram-account)
(service-extension activation-service-type
(const mautrix-telegram-activation))
(service-extension postgresql-role-service-type
(const mautrix-telegram-postgresql-role))
(service-extension shepherd-root-service-type
mautrix-telegram-shepherd)))
(description "")))
+456
View File
@@ -0,0 +1,456 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services monitoring)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix modules)
#:use-module (guix records)
#:use-module (rosenthal utils file)
#:use-module (rosenthal utils predicates)
;; Guix System
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services admin)
#:use-module (gnu services configuration)
#:use-module (gnu services databases)
#:use-module (gnu services shepherd)
;; Guix packages
#:use-module (gnu packages guile-xyz)
#:use-module (rosenthal packages binaries)
#:export (alloy-configuration
alloy-service-type
grafana-service-type
grafana-configuration
loki-service-type
loki-configuration
mimir-service-type
mimir-configuration
prometheus-service-type
prometheus-configuration))
;;;
;;; alloy
;;;
(define-configuration/no-serialization alloy-configuration
(alloy
(file-like alloy-bin)
"")
(config
file-like
"")
(shepherd-provision
(list-of-symbols '(alloy))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define alloy-activation
(lambda _
#~(begin
(use-modules (guix build utils))
(let ((directory "/var/lib/alloy"))
(unless (file-exists? directory)
(mkdir-p directory)
(chmod directory #o755))))))
(define alloy-shepherd
(match-record-lambda <alloy-configuration>
(alloy config shepherd-provision shepherd-requirement auto-start?)
(list (shepherd-service
(provision shepherd-provision)
(requirement `(loopback user-processes ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append alloy "/bin/alloy") "run" #$config)
#:directory "/var/lib/alloy"
#:log-file "/var/log/alloy.log"))
(stop #~(make-kill-destructor))
(auto-start? auto-start?)))))
(define alloy-service-type
(service-type
(name 'alloy)
(extensions
(list (service-extension activation-service-type
alloy-activation)
(service-extension shepherd-root-service-type
alloy-shepherd)))
(description "")))
;;;
;;; Grafana
;;;
(define-configuration/no-serialization grafana-configuration
(grafana
(file-like grafana-bin)
"")
(config
file-object-or-file-config
"")
(postgresql-password-file
string
"")
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(shepherd-provision
(list-of-symbols '(grafana))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define grafana-account
(match-record-lambda <grafana-configuration>
(group-id user-id)
(list (user-group
(name "grafana")
(id group-id)
(system? #t))
(user-account
(name "grafana")
(group "grafana")
(uid user-id)
(system? #t)
(comment "Grafana user")
(home-directory "/var/lib/grafana")))))
(define grafana-postgresql-role
(match-record-lambda <grafana-configuration>
(postgresql-password-file)
(list (postgresql-role
(name "grafana")
(create-database? #t)
(password-file postgresql-password-file)))))
(define grafana-activation
(lambda _
#~(begin
(use-modules (guix build utils))
(let ((user (getpwnam "grafana")))
(for-each
(lambda (directory)
(unless (file-exists? directory)
(mkdir-p directory)
(chown directory (passwd:uid user) (passwd:gid user))))
'("/var/log/grafana" "/var/lib/grafana"))))))
(define grafana-shepherd
(match-record-lambda <grafana-configuration>
(grafana config shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(ini-file "grafana.ini" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement `(loopback postgresql user-processes
,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append grafana "/bin/grafana")
"server" "--config" #$config-file)
#:user "grafana"
#:group "grafana"
#:directory #$(file-append grafana "/share/grafana")
#:log-file "/var/log/grafana.log"))
(stop #~(make-kill-destructor))
(auto-start? auto-start?))))))
(define grafana-service-type
(service-type
(name 'grafana)
(extensions
(list (service-extension account-service-type
grafana-account)
(service-extension postgresql-role-service-type
grafana-postgresql-role)
(service-extension activation-service-type
grafana-activation)
(service-extension shepherd-root-service-type
grafana-shepherd)))
(description "")))
;;;
;;; loki
;;;
(define-configuration/no-serialization loki-configuration
(loki
(file-like loki-bin)
"")
(config
file-object-or-file-config
"")
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(shepherd-provision
(list-of-symbols '(loki))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define loki-account
(match-record-lambda <loki-configuration>
(group-id user-id)
(list (user-group
(name "loki")
(id group-id)
(system? #t))
(user-account
(name "loki")
(group "loki")
(uid user-id)
(system? #t)
(comment "Loki user")
(home-directory "/var/lib/loki")))))
(define loki-activation
(lambda _
#~(begin
(use-modules (guix build utils))
(let ((user (getpwnam "loki"))
(directory "/var/lib/loki"))
(unless (file-exists? directory)
(mkdir-p directory)
(chown directory (passwd:uid user) (passwd:gid user))
(chmod directory #o755))))))
(define loki-shepherd
(match-record-lambda <loki-configuration>
(loki config shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(yaml-file "loki.yaml" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement `(loopback user-processes ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append loki "/bin/loki")
(string-append "-config.file=" #$config-file))
#:user "loki"
#:group "loki"
#:directory "/var/lib/loki"
#:log-file "/var/log/loki.log"))
(stop #~(make-kill-destructor))
(auto-start? auto-start?))))))
(define loki-service-type
(service-type
(name 'loki)
(extensions
(list (service-extension account-service-type
loki-account)
(service-extension activation-service-type
loki-activation)
(service-extension shepherd-root-service-type
loki-shepherd)))
(description "")))
;;;
;;; mimir
;;;
(define-configuration/no-serialization mimir-configuration
(mimir
(file-like mimir-bin)
"")
(config
file-object-or-file-config
"")
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(shepherd-provision
(list-of-symbols '(mimir))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define mimir-account
(match-record-lambda <mimir-configuration>
(group-id user-id)
(list (user-group
(name "mimir")
(id group-id)
(system? #t))
(user-account
(name "mimir")
(group "mimir")
(uid user-id)
(system? #t)
(comment "Mimir user")
(home-directory "/var/lib/mimir")))))
(define mimir-activation
(lambda _
#~(begin
(use-modules (guix build utils))
(let ((user (getpwnam "mimir"))
(directory "/var/lib/mimir"))
(unless (file-exists? directory)
(mkdir-p directory)
(chown directory (passwd:uid user) (passwd:gid user))
(chmod directory #o755))))))
(define mimir-shepherd
(match-record-lambda <mimir-configuration>
(mimir config shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(yaml-file "mimir.yaml" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement `(loopback user-processes ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append mimir "/bin/mimir")
(string-append "-config.file=" #$config-file))
#:user "mimir"
#:group "mimir"
#:directory "/var/lib/mimir"
#:log-file "/var/log/mimir.log"))
(stop #~(make-kill-destructor))
(auto-start? auto-start?))))))
(define mimir-service-type
(service-type
(name 'mimir)
(extensions
(list (service-extension account-service-type
mimir-account)
(service-extension activation-service-type
mimir-activation)
(service-extension shepherd-root-service-type
mimir-shepherd)))
(description "")))
;;;
;;; prometheus
;;;
(define-configuration/no-serialization prometheus-configuration
(prometheus
(file-like prometheus-bin)
"")
(listen-address
(string "0.0.0.0:9090")
"")
(config
file-object-or-file-config
"")
(group-id
(user-and-group-id #f)
"")
(user-id
(user-and-group-id #f)
"")
(shepherd-provision
(list-of-symbols '(prometheus))
"")
(shepherd-requirement
(list-of-symbols '())
"")
(auto-start?
(boolean #t)
""))
(define prometheus-account
(match-record-lambda <prometheus-configuration>
(group-id user-id)
(list (user-group
(name "prometheus")
(id group-id)
(system? #t))
(user-account
(name "prometheus")
(group "prometheus")
(uid user-id)
(system? #t)
(comment "Prometheus user")
(home-directory "/var/lib/prometheus")))))
(define prometheus-activation
(lambda _
#~(begin
(use-modules (guix build utils))
(let ((user (getpwnam "prometheus"))
(directory "/var/lib/prometheus"))
(unless (file-exists? directory)
(mkdir-p directory)
(chown directory (passwd:uid user) (passwd:gid user))
(chmod directory #o775))))))
(define prometheus-shepherd
(match-record-lambda <prometheus-configuration>
(prometheus listen-address config shepherd-provision shepherd-requirement auto-start?)
(let ((config-file
(if (file-config? config)
(yaml-file "prometheus.yml" config)
config)))
(list (shepherd-service
(provision shepherd-provision)
(requirement `(loopback user-processes ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append prometheus "/bin/prometheus")
(string-append "--config.file=" #$config-file)
(string-append "--web.listen-address=" #$listen-address))
#:user "prometheus"
#:group "prometheus"
#:directory "/var/lib/prometheus"
#:log-file "/var/log/prometheus.log"))
(stop #~(make-kill-destructor))
(auto-start? auto-start?))))))
(define prometheus-service-type
(service-type
(name 'prometheus)
(extensions
(list (service-extension account-service-type
prometheus-account)
(service-extension activation-service-type
prometheus-activation)
(service-extension shepherd-root-service-type
prometheus-shepherd)))
(description "")))
+257
View File
@@ -0,0 +1,257 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services networking)
;; Guile builtins
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
;; Utilities
#:use-module (guix diagnostics)
#:use-module (guix gexp)
#:use-module (guix i18n)
#:use-module (guix records)
#:use-module (rosenthal utils predicates)
;; Guix System
#:use-module (gnu system shadow)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services admin)
#:use-module (gnu services configuration)
#:use-module (gnu services dbus)
#:use-module (gnu services shepherd)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shepherd)
;; Guix packages
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages linux)
#:use-module (gnu packages networking)
#:use-module (rosenthal packages networking)
#:export (network-online-service-type
home-network-online-service-type
sing-box-service-type
sing-box-configuration
tailscale-configuration
tailscale-service-type))
;;;
;;; network-online (https://codeberg.org/guix/guix/issues/838#issue-1886438)
;;;
(define* (%network-online-shepherd _ #:key home-service?)
(list (shepherd-service
(requirement (if home-service? '() '(networking)))
(provision '(network-online))
(documentation "Wait for the network to come up.")
(one-shot? #t)
(start
#~(lambda _
(let ((timeout #$(file-append coreutils-minimal "/bin/timeout"))
(sleep #$(file-append coreutils-minimal "/bin/sleep"))
(sh #$(file-append bash-minimal "/bin/sh"))
(ping (if #$home-service?
"ping"
#$(file-append inetutils "/bin/ping"))))
(zero?
(system* timeout "60" sh "-c"
(format #f "\
until ~a -qc1 -W1 example.org
do
~a 1
done"
ping
sleep)))))))))
(define network-online-service-type
(service-type
(name 'network-online)
(extensions
(list (service-extension shepherd-root-service-type
%network-online-shepherd)))
(default-value #f)
(description "Wait for the network to come up.")))
(define home-network-online-service-type
(service-type
(inherit network-online-service-type)
(name 'home-network-online)
(extensions
(list (service-extension home-shepherd-service-type
(cut %network-online-shepherd <> #:home-service? #t))))))
(define-service-type-mapping
network-online-service-type => home-network-online-service-type)
;;;
;;; sing-box
;;;
(define-maybe file-object)
(define-maybe string)
(define-configuration/no-serialization sing-box-configuration
(sing-box
(file-like sing-box)
"")
(config-file
maybe-file-object
"")
(config-directory
maybe-string
"")
(data-directory
(string "/var/lib/sing-box")
"")
;; Account
(group-id
(user-and-group-id #f)
"")
;; Shepherd
(shepherd-provision
(list-of-symbols '(sing-box))
"")
(shepherd-requirement
(list-of-symbols '(networking))
"")
(log-file
(string "/var/log/sing-box.log")
"")
(auto-start?
(boolean #t)
""))
(define sing-box-account
(match-record-lambda <sing-box-configuration>
(group-id)
(list (user-group
(name "sing-box")
(id group-id)
(system? #t)))))
(define sing-box-activation
(match-record-lambda <sing-box-configuration>
(data-directory)
#~(begin
(use-modules (guix build utils))
(mkdir-p #$data-directory))))
(define sing-box-shepherd-service
(match-record-lambda <sing-box-configuration>
(sing-box data-directory config-file config-directory
shepherd-provision shepherd-requirement log-file auto-start?)
(let ((config-file-set? (maybe-value-set? config-file))
(config-dir-set? (maybe-value-set? config-directory)))
(when (eqv? config-file-set? config-dir-set?)
(leave (G_ "'~a': exactly one of '~a' or '~a' must be set~%")
"sing-box-configuration"
"config-file"
"config-directory"))
(list (shepherd-service
(provision shepherd-provision)
(requirement `(user-processes ,@shepherd-requirement))
(start
#~(make-forkexec-constructor
(list #$(file-append sing-box "/bin/sing-box")
#$@(if config-file-set?
(list "--config" config-file)
'())
#$@(if config-dir-set?
(list "--config-directory" config-directory)
'())
"--directory" #$data-directory
"--disable-color"
"run")
#:log-file #$log-file))
(stop #~(make-kill-destructor))
(auto-start? auto-start?))))))
(define sing-box-service-type
(service-type
(name 'sing-box)
(extensions
(list (service-extension account-service-type
sing-box-account)
(service-extension activation-service-type
sing-box-activation)
(service-extension shepherd-root-service-type
sing-box-shepherd-service)))
(description "")))
;;;
;;; Tailscale
;;;
(define-configuration tailscale-configuration
(tailscale
(file-like tailscale)
"The tailscale package to use.")
(log-file
(string "/var/log/tailscaled.log")
"Path to log file.")
(socket
(string "/var/run/tailscale/tailscaled.sock")
"Path of the service UNIX socket.")
(state-directory
(string "/var/lib/tailscale")
"Path to directory for storage of config state, TLS certs, temporary incoming
Taildrop files, etc. If empty, it's derived from @code{state-file} when
possible.")
(upload-log?
(boolean #f)
"Whether to upload logs or not, technical support is also disabled when set
to #f.")
(verbosity
(integer 0)
"Log verbosity level; 0 is default, 1 or higher are increasingly verbose.")
(extra-options
(list-of-strings '())
"List of extra options.")
(no-serialization))
(define tailscale-shepherd-service
(match-record-lambda <tailscale-configuration>
(tailscale log-file socket state-directory
upload-log? verbosity extra-options)
(list (shepherd-service
(documentation "Run tailscaled")
(provision '(tailscaled))
(requirement '(user-processes))
(start
#~(make-forkexec-constructor
(list
#$(file-append tailscale "/bin/tailscaled")
#$@(if upload-log?
'()
'("-no-logs-no-support"))
"-socket" #$socket
"-statedir" #$state-directory
"-verbose" #$(number->string verbosity)
#$@extra-options)
#:log-file #$log-file))
(stop #~(make-kill-destructor))))))
(define tailscale-service-type
(service-type
(name 'tailscaled)
(extensions
(list (service-extension shepherd-root-service-type
tailscale-shepherd-service)
(service-extension profile-service-type
(compose list tailscale-configuration-tailscale))))
(default-value (tailscale-configuration))
(description "Run tailscaled.")))
+89
View File
@@ -0,0 +1,89 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services nix)
;; Utilities
#:use-module (guix gexp)
;; Guix System
#:use-module (gnu system pam)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services shepherd)
;; Guix Home - services
#:use-module (gnu home services)
#:use-module (gnu home services shells)
#:use-module (gnu home services shepherd)
;; Guix packages
#:autoload (gnu packages package-management) (guix)
#:export (nix-search-paths-service-type
home-nix-search-paths-service-type))
(define (nix-search-paths-activation config)
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
(mkdir-p (dirname #$config)))))
(define (nix-search-paths-environment-extension config)
`(("LOCALE_ARCHIVE" . ,(in-vicinity config "lib/locale/locale-archive"))))
(define* (nix-search-paths-shepherd-extension #:key home?)
(lambda (config)
(list (shepherd-service
(documentation
"Build Nix profile and symlink it to the specified path.")
(requirement
(if home?
'()
'(user-processes nix-daemon networking)))
(provision '(build-nix-profile))
(one-shot? #t)
(start
#~(make-forkexec-constructor
(list #$(if home?
"build-nix-profile"
"/run/current-system/profile/bin/build-nix-profile")
#$config)))))))
;; TODO: Avoid duplicating search paths from the system profile.
(define* (nix-search-paths-profile-extension #:key home?)
(lambda (config)
(list (mixed-text-file "nix-search-paths.sh" "\
eval \"$(" guix "/bin/guix package --search-paths=suffix"
" -p " (if home?
"~/.guix-home/profile"
"/run/current-system/profile")
" -p " config ")\""))))
(define nix-search-paths-service-type
(service-type
(name 'nix-search-paths)
(extensions
(list (service-extension session-environment-service-type
nix-search-paths-environment-extension)
(service-extension activation-service-type
nix-search-paths-activation)
(service-extension shepherd-root-service-type
(nix-search-paths-shepherd-extension))
(service-extension etc-profile-d-service-type
(nix-search-paths-profile-extension))))
(default-value "/nix/var/nix/profiles/guix-system-nix-profile")
(description "Set up search paths for @code{with-nix-profile}.")))
(define home-nix-search-paths-service-type
(service-type
(inherit nix-search-paths-service-type)
(name 'home-nix-search-paths)
(extensions
(list (service-extension home-environment-variables-service-type
nix-search-paths-environment-extension)
(service-extension home-activation-service-type
nix-search-paths-activation)
(service-extension home-shepherd-service-type
(nix-search-paths-shepherd-extension #:home? #t))
(service-extension home-shell-profile-service-type
(nix-search-paths-profile-extension #:home? #t))))
(default-value "/var/tmp/guix-home-nix-profile")))
(define-service-type-mapping
nix-search-paths-service-type => home-nix-search-paths-service-type)
+146
View File
@@ -0,0 +1,146 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal services shellutils)
;; Guile builtins
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
;; Utilities
#:use-module (guix deprecation)
#:use-module (guix diagnostics)
#:use-module (guix gexp)
#:use-module (guix i18n)
#:use-module (guix records)
#:use-module (rosenthal utils packages)
;; Guix System - services
#:use-module (gnu services)
#:use-module (gnu services configuration)
;; Guix Home - services
#:use-module (gnu home services shells)
;; Guix packages
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages shellutils)
#:export (home-fish-plugin-atuin-service-type
home-atuin-configuration
home-fish-plugin-direnv-service-type
home-direnv-configuration
home-fish-plugin-zoxide-service-type
home-zoxide-configuration))
(define (warn-deprecated-shells-field configuration)
(lambda (value)
(when (maybe-value-set? value)
(warning #f (G_ "'~a': '~a' field is deprecated~%")
configuration 'shells))))
;;;
;;; atuin
;;;
(define-configuration/no-serialization home-atuin-configuration
(atuin
(file-like atuin)
"")
(shells
list
"Deprecated."
(sanitizer (warn-deprecated-shells-field 'home-atuin-configuration))))
(define %home-atuin-fish
(match-record-lambda <home-atuin-configuration>
(atuin)
(home-fish-extension
(config
(list (mixed-text-file "atuin.fish" "\
status is-interactive
and begin
" atuin "/bin/atuin init fish | source
end\n"))))))
(define home-fish-plugin-atuin-service-type
(service-type
(name 'home-atuin)
(extensions
(list (service-extension home-fish-service-type
%home-atuin-fish)))
(default-value (home-atuin-configuration))
(description "")))
(define-deprecated/public-alias home-atuin-service-type
home-fish-plugin-atuin-service-type)
;;;
;;; direnv
;;;
(define-configuration/no-serialization home-direnv-configuration
(direnv
(file-like direnv)
"")
(shells
list
"Deprecated."
(sanitizer (warn-deprecated-shells-field 'home-atuin-configuration))))
(define %home-direnv-fish
(match-record-lambda <home-direnv-configuration>
(direnv)
(home-fish-extension
(config
(list (mixed-text-file "direnv.fish" "\
status is-interactive
and begin
" direnv "/bin/direnv hook fish | source
end\n"))))))
(define home-fish-plugin-direnv-service-type
(service-type
(name 'home-direnv)
(extensions
(list (service-extension home-fish-service-type
%home-direnv-fish)))
(default-value (home-direnv-configuration))
(description "")))
(define-deprecated/public-alias home-direnv-service-type
home-fish-plugin-direnv-service-type)
;;;
;;; zoxide
;;;
(define-configuration/no-serialization home-zoxide-configuration
(zoxide
(file-like zoxide)
"")
(shells
list
"Deprecated."
(sanitizer (warn-deprecated-shells-field 'home-atuin-configuration))))
(define %home-zoxide-fish
(match-record-lambda <home-zoxide-configuration>
(zoxide)
(home-fish-extension
(config
(list (mixed-text-file "zoxide.fish" "\
status is-interactive
and begin
" zoxide "/bin/zoxide init --cmd cd fish | source
end\n"))))))
(define home-fish-plugin-zoxide-service-type
(service-type
(name 'home-zoxide)
(extensions
(list (service-extension home-fish-service-type
%home-zoxide-fish)))
(default-value (home-zoxide-configuration))
(description "")))
(define-deprecated/public-alias home-zoxide-service-type
home-fish-plugin-zoxide-service-type)
File diff suppressed because it is too large. Load diff
+12
View File
@@ -0,0 +1,12 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils cargo)
;; Guile builtins
#:use-module (srfi srfi-26)
;; Guix build systems
#:use-module (guix build-system cargo)
#:export (rosenthal-cargo-inputs))
(define rosenthal-cargo-inputs
(cut cargo-inputs <> #:module '(rosenthal packages rust-crates)))
+97
View File
@@ -0,0 +1,97 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils contract)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (guix colors)
#:use-module (guix diagnostics)
#:use-module (rosenthal utils contract impl)
#:use-module (rosenthal utils contract blame)
#:use-module (rosenthal utils contract combinators)
#:export (apply-contract/guix-record-field
contract
define/contract))
#|
Helpers to attach contracts to values and functions.
See (rosenthal utils contract impl) for more information.
|#
(define (src->location-str src)
(match src
((_ _ _)
(let ((location (source-properties->location src)))
(if (supports-hyperlinks? (guix-warning-port))
(location->hyperlink location)
(location->string location))))
(_ #f)))
(define* (apply-contract contract value positive negative name location
#:key context-limit)
(let* ((ctc (->contract contract))
(ctc-name (contract-name ctc))
(checker (contract-checker ctc))
(blame
(make-blame*
#:source location
#:value name
#:build-name (lambda () ctc-name)
#:positive positive
#:negative #f
#:original? #t
#:context-limit context-limit)))
(cond
(checker
(if (checker value)
value
(raise-blame-error
blame #:missing-party negative
`(expected: "~a" got: "~s") ctc-name value)))
(else
(((contract-enforcer ctc) blame) value negative)))))
(define-syntax apply-contract/guix-record-field
(lambda (stx)
(syntax-case stx ()
((_ ctc value record-name field-name)
(with-syntax ((field-name #'(format #f "(field: ~a)" field-name))
(location (src->location-str (syntax-source stx))))
;; Use field-name for both positive and negative parties, to ensure the
;; error message is always "contract violation".
#'(apply-contract ctc value field-name field-name record-name location))))))
(define-syntax contract
(lambda (stx)
(syntax-case stx ()
((_ ctc value positive negative name location #:context-limit context-limit)
#'(apply-contract ctc value positive negative name location #:context-limit context-limit))
((_ ctc value positive negative name location)
#'(contract ctc value positive negative name location #:context-limit #f))
((_ ctc value positive negative name)
(with-syntax ((location (src->location-str (syntax-source stx))))
#'(contract ctc value positive negative name location)))
((_ ctc value positive negative)
#'(contract ctc value positive negative positive))
((_ ctc value)
#'(contract ctc value 'unknown-definition 'caller)))))
(define-syntax define/contract
(lambda (stx)
(syntax-case stx ()
((_ (name . args) ctc body ...)
(if (null? #'(body ...))
(syntax-violation 'define/contract "missing body" stx)
(with-syntax ((value #'(lambda* args body ...)))
#'(define name
(contract ctc value '(definition: name) 'caller 'name)))))
((_ name ctc body ...)
(if (null? #'(body ...))
(syntax-violation 'define/contract "missing body" stx)
(with-syntax ((value #'(begin body ...)))
#'(define name
(contract ctc value '(definition: name) 'caller 'name))))))))
+704
View File
@@ -0,0 +1,704 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
;;; https://github.com/racket/racket/blob/master/racket/collects/racket/contract/private/blame.rkt
;;; Copyright © 2010-2019, 2021, 2024 Racket authors
;;; Ported from Racket, original copyright notice below:
;;;
;;; Permission is hereby granted, free of charge, to any person obtaining a copy
;;; of this software and associated documentation files (the "Software"), to
;;; deal in the Software without restriction, including without limitation the
;;; rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
;;; sell copies of the Software, and to permit persons to whom the Software is
;;; furnished to do so, subject to the following conditions:
;;;
;;; The above copyright notice and this permission notice shall be included in
;;; all copies or substantial portions of the Software.
;;;
;;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
;;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
;;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
;;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
;;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
;;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
;;; IN THE SOFTWARE.
(define-module (rosenthal utils contract blame)
#:use-module (ice-9 format)
#:use-module (ice-9 match)
#:use-module (ice-9 regex)
#:use-module (ice-9 string-fun)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-9)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)
#:use-module (srfi srfi-35)
#:use-module (srfi srfi-71)
#:export (blame?
make-blame
blame-source
blame-positive
blame-negative
blame-contract
blame-value
blame-original?
blame-swapped?
blame-swap
blame-replace-negative ;used for indy blame
blame-replaced-negative? ;used for indy blame
blame-update ;used for option contract transfers
blame-add-context
;; blame-add-unknown-context
blame-context
blame-replaced-negative?
blame-add-missing-party
blame-missing-party?
;; blame-add-extra-field
raise-blame-error
;; current-blame-format
;; exn:fail:contract:blame
;; blame-fmt->-string
;; invariant-assertion-party
;; NOTE: New interfaces.
contract-violation?
make-blame*))
#|
Blame provides error reporting for the contract system. This module implements
its structure and APIs, and currently follows Racket error message conventions.
See also:
https://docs.racket-lang.org/reference/exns.html#(part._err-msg-conventions)
Blame has a linked structure of <blame> -> <blame> -> ... -> <all-the-info>.
<all-the-info> records contract information and each <blame> node adds extra
context to it. The extra context is combinator-specific (e.g. "the #1 element
of"). For higher-order functions, it also includes whether the positive party
and negative party are swapped.
The positive party provides a definition, and the negative party uses it. For
contracts on higher-order functions, both parties are swapped for function
arguments.
For example, consider the following definition:
(define/contract (example f)
(->/c (->/c number? number?) number?)
...)
The positive party and negative party for ‘example’ will be ‘example’ and
‘caller’, respectively.
‘f’ has a function contract ‘(->/c number? number?)’. As an argument of
‘example’, it initially gets ‘example’ for positive and ‘caller’ for negative.
However the definition of ‘f’ is provided by the caller, so both parties should
be swapped: ‘caller’ for positive, and ‘example’ for negative.
|##|
‘make-blame’ constructs a blame. (<blame> -> <all-the-info>)
(define b1
(make-blame*
#:source #f
#:value 'my-function
#:build-name (const "(listof/c (listof/c number?))")
#:positive 'my-function
#:negative 'caller
#:original? #t))
b1
=> #<<blame>
context-frame: #f
swapped?: #f
and-more: #<<all-the-info> ...>
(blame-swapped? b1)
=> #f
(blame-positive b1)
=> 'my-function
(blame-negative b1)
=> 'caller
(blame-context b1)
=> '()
(blame-contract b1)
=> "(listof/c (listof/c number?))"
‘blame-add-context’ adds a new head node with extra context. (<blame> -> ...)
(define b2
(blame-add-context b1 "an element of" #:swap? #t))
b2
=> #<<blame>
context-frame: "an element of"
swapped? #t
and-more: #<<blame>
context-frame: #f
swapped?: #f
and-more: #<<all-the-info> ...>>
(blame-swapped? b2)
=> #t
(blame-positive b2)
=> 'caller
(blame-negative b2)
=> 'my-function
(blame-context b2)
=> '("an element of")
(blame-contract b2)
=> "(listof/c (listof/c number?))"
(define b3
(blame-add-context b2 "the #1 element of" #:swap? #t))
b3
=> #<<blame>
context-frame: "the #1 element of"
swapped? #t
and-more: #<<blame>
context-frame: "an element of"
swapped? #t
and-more: #<<blame>
context-frame: #f
swapped?: #f
and-more: #<<all-the-info> ...>>
(blame-swapped? b3)
=> #f
(blame-positive b3)
=> 'my-function
(blame-negative b3)
=> 'caller
(blame-context b3)
=> '("the #1 element of" "an element of")
(blame-contract b3)
=> "(listof/c (listof/c number?))"
|#
(define-condition-type &contract-violation &message
contract-violation?)
(define-record-type <important>
(make-important name sense-swapped?)
important?
(name important-name) ; any/c
(sense-swapped? important-sense-swapped?)) ; boolean?
(define-record-type <all-the-info>
(make-all-the-info positive negative source value build-name important
missing-party? context-limit replaced-negative?)
all-the-info?
(positive all-the-info-positive) ; (or/c #f (listof/c any/c))
(negative all-the-info-negative) ; (or/c #f (listof/c any/c))
(source all-the-info-source) ; (or/c #f string?)
(value all-the-info-value) ; any/c
(build-name all-the-info-build-name) ; (->/c string?)
(important all-the-info-important) ; important?
(missing-party? all-the-info-missing-party?) ; boolean?
(context-limit all-the-info-context-limit) ; (or/c #f (and/c integer? (not/c negative?)))
(replaced-negative? all-the-info-replaced-negative?)) ; boolean?
(define (all-the-info-replace-positive all-the-info new-pos)
(make-all-the-info
(all-the-info-positive new-pos)
(all-the-info-negative all-the-info)
(all-the-info-source all-the-info)
(all-the-info-value all-the-info)
(all-the-info-build-name all-the-info)
(all-the-info-important all-the-info)
(all-the-info-missing-party? all-the-info)
(all-the-info-context-limit all-the-info)
(all-the-info-replaced-negative? all-the-info)))
(define (all-the-info-replace-negative all-the-info new-neg)
(make-all-the-info
(all-the-info-positive all-the-info)
(all-the-info-negative new-neg)
(all-the-info-source all-the-info)
(all-the-info-value all-the-info)
(all-the-info-build-name all-the-info)
(all-the-info-important all-the-info)
(all-the-info-missing-party? all-the-info)
(all-the-info-context-limit all-the-info)
(all-the-info-replaced-negative? all-the-info)))
(define-record-type <blame>
(%make-blame context-frame swapped? and-more)
blame?
(context-frame %blame-context-frame) ; (or/c #f string?)
(swapped? %blame-swapped?) ; boolean?
(and-more %blame-and-more)) ; (or/c blame? all-the-info?)
(define* (make-blame source value build-name positive negative original?
#:key (context-limit #f))
(define build/memo-name
(let ((name (delay (build-name))))
(lambda ()
(force name))))
(define all-the-info
(make-all-the-info
(and positive (list positive))
(and negative (list negative))
source
value
build/memo-name
#f
(not (and positive negative))
context-limit
#f))
(%make-blame
#f
(not original?)
all-the-info))
(define* (make-blame* #:key source value build-name positive negative original?
(context-limit #f))
(make-blame source value build-name positive negative original?
#:context-limit context-limit))
(define (blame->all-the-info blame)
(let loop ((b blame))
(if (blame? b)
(loop (%blame-and-more b))
b)))
(define blame-source
(compose all-the-info-source blame->all-the-info))
(define blame-value
(compose all-the-info-value blame->all-the-info))
(define (blame-contract blame)
((all-the-info-build-name (blame->all-the-info blame))))
(define blame-important
(compose all-the-info-important blame->all-the-info))
(define blame-missing-party?
(compose all-the-info-missing-party? blame->all-the-info))
(define blame-context-limit
(compose all-the-info-context-limit blame->all-the-info))
(define blame-replaced-negative?
(compose all-the-info-replaced-negative? blame->all-the-info))
(define (blame-get-info blame getter)
(let loop ((b blame)
(swapped? #f))
(if (blame? b)
(loop (%blame-and-more b)
(if (%blame-swapped? b)
(not swapped?)
swapped?))
(getter b swapped?))))
(define (blame-set-info blame setter)
(let loop ((b blame)
(swap? #f))
(if (blame? b)
(%make-blame
(%blame-context-frame b)
(%blame-swapped? b)
(loop (%blame-and-more b)
(if (%blame-swapped? b)
(not swap?)
swap?)))
(setter b swap?))))
(define (%blame-positive blame)
(blame-get-info
blame
(lambda (all-the-info swapped?)
(if swapped?
(all-the-info-negative all-the-info)
(all-the-info-positive all-the-info)))))
(define (%blame-negative blame)
(blame-get-info
blame
(lambda (all-the-info swapped?)
(if swapped?
(all-the-info-positive all-the-info)
(all-the-info-negative all-the-info)))))
(define (show-blame accessor blame)
(match (accessor blame)
((x) x)
(x x)))
(define blame-positive
(cut show-blame %blame-positive <>))
(define blame-negative
(cut show-blame %blame-negative <>))
(define (ensure-blame-known who blame)
(unless (and (%blame-positive blame)
(%blame-negative blame))
(error who "blame info is not known; positive ~s negative ~s"
(%blame-positive blame)
(%blame-negative blame))))
(define (blame-update blame extra-positive extra-negative)
(ensure-blame-known 'blame-update blame)
(blame-set-info
blame
(lambda (all-the-info swap?)
(if swap?
(make-all-the-info
(cons extra-negative
(all-the-info-positive all-the-info))
(cons extra-positive
(all-the-info-negative all-the-info))
(all-the-info-source all-the-info)
(all-the-info-value all-the-info)
(all-the-info-build-name all-the-info)
(all-the-info-important all-the-info)
(all-the-info-missing-party? all-the-info)
(all-the-info-context-limit all-the-info)
(all-the-info-replaced-negative? all-the-info))
(make-all-the-info
(cons extra-positive
(all-the-info-positive all-the-info))
(cons extra-negative
(all-the-info-negative all-the-info))
(all-the-info-source all-the-info)
(all-the-info-value all-the-info)
(all-the-info-build-name all-the-info)
(all-the-info-important all-the-info)
(all-the-info-missing-party? all-the-info)
(all-the-info-context-limit all-the-info)
(all-the-info-replaced-negative? all-the-info))))))
(define (blame-swap blame)
(%make-blame
(%blame-context-frame blame)
(not (%blame-swapped? blame))
(%blame-and-more blame)))
(define (blame-swapped? blame)
(blame-get-info
blame
(lambda (_ swapped?) swapped?)))
(define blame-original?
(negate blame-swapped?))
(define (blame/important-original? blame)
(let ((important (blame-important blame)))
(cond
((equal? (%blame-positive blame)
(%blame-negative blame))
#f)
(important
(equal? (important-sense-swapped? important)
(blame-original? blame)))
(else
(blame-original? blame)))))
(define (blame-replace-negative blame new-neg)
(blame-set-info
blame
(lambda (all-the-info swap?)
(if swap?
(all-the-info-replace-positive all-the-info new-neg)
(all-the-info-replace-negative all-the-info new-neg)))))
(define (blame-add-missing-party blame missing-party)
(if missing-party
(begin
(unless (blame-missing-party? blame)
(error 'blame-add-missing-party "already have the party: ~s; trying to add ~s"
(if (blame-swapped? blame)
(%blame-positive blame)
(%blame-negative blame))
missing-party))
(blame-set-info
blame
(lambda (all-the-info _)
(make-all-the-info
(or (all-the-info-positive all-the-info)
(list missing-party))
(or (all-the-info-negative all-the-info)
(list missing-party))
(all-the-info-source all-the-info)
(all-the-info-value all-the-info)
(all-the-info-build-name all-the-info)
(all-the-info-important all-the-info)
#f
(all-the-info-context-limit all-the-info)
(all-the-info-replaced-negative? all-the-info)))))
blame))
(define (blame-context blame)
(let loop ((top (%blame-context-frame blame))
(b (%blame-and-more blame)))
(cond
((all-the-info? b)
(if top
(list top)
'()))
(else
(cons top
(loop (%blame-context-frame b)
(%blame-and-more b)))))))
(define* (blame-add-context blame context #:key important swap?)
(let ((context-limit (blame-context-limit blame)))
(if context-limit
(cond
((not (zero? context-limit))
(let ((limited-blame
dropped-swap?
(drop-to-limit blame context-limit)))
(%make-blame
context
(not (equal? dropped-swap? swap?))
limited-blame)))
(swap?
(%make-blame
(%blame-context-frame blame)
(not (%blame-swapped? blame))
(%blame-and-more blame)))
(else blame))
(%make-blame
context
swap?
(if important
(let loop ((b blame))
(if (blame? b)
(%make-blame
(%blame-context-frame b)
(%blame-swapped? b)
(loop (%blame-and-more b)))
(make-all-the-info
(all-the-info-positive b)
(all-the-info-negative b)
(all-the-info-source b)
(all-the-info-value b)
(all-the-info-build-name b)
(make-important
important
(if swap?
(not (blame-original? b))
(blame-original? b)))
(all-the-info-missing-party? b)
(all-the-info-context-limit b)
(all-the-info-replaced-negative? b))))
blame)))))
(define (drop-to-limit blame context-limit)
(define short-enough?
(let loop ((b blame)
(n (- context-limit 1)))
(or (all-the-info? b)
(if (zero? n)
#f
(loop (%blame-and-more b)
(- n 1))))))
(if short-enough?
(values blame #f)
(let ()
(define swapped? #f)
(define limited-blame
(let outer-loop ((outer-b blame)
(n (- context-limit 1)))
(if (zero? n)
(let inner-loop ((inner-b outer-b)
(swap? #f))
(if (blame? inner-b)
(inner-loop (%blame-and-more inner-b)
(if (%blame-swapped? inner-b)
(not swap?)
swap?))
(begin
(set! swapped? swap?)
inner-b)))
(%make-blame
(%blame-context-frame outer-b)
(%blame-swapped? outer-b)
(outer-loop (%blame-and-more outer-b)
(- n 1))))))
(values limited-blame swapped?))))
(define* (raise-blame-error raw-blame #:optional x #:key (missing-party #f)
#:rest fmt+args)
(define blame
(if (and (blame-original? raw-blame)
(not missing-party))
raw-blame
(blame-add-missing-party raw-blame missing-party)))
(define start-of-message
(let ((self-or-not
(if (blame/important-original? blame)
"broke its own contract"
"contract violation")))
(cond
((blame-important blame)
(format #f "~a: ~a" (important-name (blame-important blame)) self-or-not))
((blame-value blame)
(format #f "~a: ~a" (blame-value blame) self-or-not))
(else
(format #f "~a" self-or-not)))))
(define custom-message
(let loop ((args fmt+args))
(match args
;; Keyword arguments will be added to #:rest as well, strip them.
(((? keyword? kw) arg . rest)
(loop rest))
((fmt . fmt-args)
;; When formatting outputs, please use ~s to mimic Racket ~e.
;;
;; XXX: ~s doesn't directly map to Racket ~e. With symbol 'x, ~s
;; gives ‘x’ but Racket ~e gives ‘'x’, for example.
(apply format #f (blame-fmt->string blame fmt) fmt-args)))))
(define context-lines
(let ((context (blame-context blame)))
(or (and context
(not (null? context))
(let loop ((ctx context)
(idx 0)
(res '()))
(if (null? ctx)
(reverse res)
(loop (cdr ctx)
(1+ idx)
(cons (if (zero? idx)
(format #f " in: ~a~%" (car ctx))
(format #f " ~a~%" (car ctx)))
res)))))
'())))
(define contract-line
(format #f " ~a ~a~%"
(if (null? context-lines) "in:" " ")
(blame-contract blame)))
(define from-line
(format #f " contract from: ~a~%"
(if (blame-original? blame)
(last (%blame-positive blame))
(last (%blame-negative blame)))))
(define on-line
(or (and (blame-important blame)
(blame-value blame)
(format #f " contract on: ~a~%" (blame-value blame)))
""))
(define blaming-line
(let ((blame-parties (%blame-positive blame)))
(match blame-parties
((one-party)
(format #f " blaming: ~a~%" one-party))
((multiple-parties ...)
(format #f " blaming multiple parties: ~{~a~%~}~%" multiple-parties)))))
(define assumption-line
" (assuming the contract is correct)")
(define at-line
(or (and=> (blame-source blame)
(cut format #f "~% at: ~a" <>))
""))
(raise
(condition
(&contract-violation
(message
(format #f "~%~a~a~{~a~}~a~a~a~a~a~a"
start-of-message
(if (string-null? custom-message) "~%" custom-message)
context-lines
contract-line
from-line
on-line
blaming-line
assumption-line
at-line))))))
(define (blame-fmt->string blame fmt)
(define original?
(blame/important-original? blame))
(define (tag->str+newline? key val)
(define* (kv->str key val)
(string-append key " " val))
(match key
;; Racket doesn't use ‘got’, but ‘expected’ vs ‘got’ sounds more natural
;; considering directions.
((or 'given: 'got:)
(values (kv->str (if original? "produced:" "given:") val)
#t))
((or 'given 'got)
(values (kv->str (if original? "produced" "given") val)
#f))
('expected:
(values (kv->str (if original? "promised:" "expected:") val)
#t))
('expected
(values (kv->str (if original? "promised" "expected") val)
#f))
('received:
(values (kv->str (if original? "supplied:" "received:") val)
#t))))
(define (normalize-continued-error-message str)
"If STR contains newline (unless at the end), ensure there's a space next to
it."
(define (not-space? x)
(not (equal? x #\space)))
(define str-newline-normalized
(string-replace-substring str "~%" "\n"))
(if (string-contains str-newline-normalized "\n")
(let loop ((chars (string->list str-newline-normalized))
(result '()))
(if (null? chars)
(list->string (reverse result))
(match chars
((#\newline (? not-space? next) . rest)
(loop rest
(append (reverse (list #\newline #\space next))
result)))
((first . rest)
(loop rest
(cons first result))))))
str-newline-normalized))
(define (build-string old new newline?)
(if newline?
(string-append old "\n " new)
(let ((old (if (string-null? old) ";\n" old))
(new (normalize-continued-error-message new)))
(if (or (string-suffix? " " old)
(string-match "^[\n ]" new))
(string-append old new)
(string-append old " " new)))))
(if (string? fmt)
fmt
(let loop ((strs fmt)
(result ""))
(if (null? strs)
(if (string-null? result)
result
(string-append result "\n"))
(match strs
(((? symbol? key) (? string? val) . rest)
(let ((str newline? (tag->str+newline? key val)))
(loop rest
(build-string result str newline?))))
((str . rest)
(loop rest
(build-string result str #f))))))))
@@ -0,0 +1,158 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils contract combinators)
#:use-module (ice-9 match)
#:autoload (rnrs bytevectors) (bytevector?)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-34)
#:use-module (srfi srfi-35)
#:use-module (guix memoization)
#:use-module (rosenthal utils contract impl)
#:use-module (rosenthal utils contract blame)
#:export (any/c
none/c
or/c
listof/c
->/c
->contract))
#|
This module implements contract combinators. To avoid name collisions, all
combinator names have a ‘/c’ suffix.
|#
(define any/c
(make-contract
#:name "any/c"
#:checker (const #t)))
(define none/c
(make-contract
#:name "none/c"
#:checker (const #f)))
(define or/c
(memoize
(lambda (. ctcs)
(let* ((contracts (map ->contract ctcs))
(enforcers (map contract-enforcer contracts))
(name (compound-contract-name "or/c" contracts) ))
(make-contract
#:name name
#:enforcer
(lambda (blame)
(define procs
(map (lambda (enforcer)
(enforcer blame))
enforcers))
(lambda (val neg-party)
(let loop ((procs procs))
(if (null? procs)
(raise-blame-error blame #:missing-party neg-party
'(expected: "~a" got: "~s")
name val)
(match procs
((proc . rest)
(guard (c ((contract-violation? c)
(loop rest)))
(proc val neg-party)))))))))))))
(define listof/c
(mlambda (ctc)
(let* ((contract (->contract ctc))
(enforcer (contract-enforcer contract)))
(make-contract
#:name (compound-contract-name "listof/c" (list contract))
#:enforcer
(lambda (blame)
(define proc
(enforcer (blame-add-context blame "an element of")))
(lambda (val neg-party)
(unless (list? val)
(raise-blame-error blame #:missing-party neg-party
'(expected: "a list of ~a" got: "~s")
(contract-name contract)
val))
(map (lambda (element)
(proc element neg-party))
val)))))))
;; TODO: Rewrite as a macro to support define*, multiple return values, and
;; ‘any’.
(define ->/c
(memoize
(lambda (. ctcs)
(let* ((contracts (map ->contract ctcs))
(domain-contracts (drop-right contracts 1))
(range-contract (last contracts))
(contract-arity (length domain-contracts)))
(make-contract
#:name (compound-contract-name "->/c" contracts)
#:enforcer
(lambda (blame)
(define domain-blames
(map (lambda (index)
(let ((position (format #f "the #~a argument of" index)))
(blame-add-context blame position #:swap? #t)))
(iota contract-arity 1)))
(define domain-enforcers
(map contract-enforcer domain-contracts))
(define range-proc
(let ((range-blame (blame-add-context blame "the range of")))
((contract-enforcer range-contract) range-blame)))
(lambda (val neg-party)
(unless (procedure? val)
(raise-blame-error blame #:missing-party neg-party
'(expected: "a procedure" got: "~s") val))
(match (procedure-minimum-arity val)
((required optional rest?)
(unless (= required contract-arity)
(raise-blame-error
blame #:missing-party neg-party
`(expected: "a procedure that accepts ~a non-keyword argument(s)"
got: "~a~%"
"which accepts ~a argument(s)")
contract-arity
val
required))))
(lambda args
(define args*
(map (lambda (arg blame enforcer)
((enforcer blame) arg neg-party))
args
domain-blames
domain-enforcers))
(range-proc (apply val args*) neg-party)))))))))
(define ->contract
(mlambda (x)
(match x
((? contract?) x)
((? procedure?)
(make-contract
#:name (format #f "~s" (or (procedure-name x) '???))
#:checker x))
((or (? symbol?)
(? boolean?)
(? keyword?))
(make-contract
#:name (format #f "~s" x)
#:checker (cut eq? x <>)))
((or (? string?)
(? bytevector?)
(? char?)
+nan.0)
(make-contract
#:name (format #f "~s" x)
#:checker (cut equal? x <>)))
((? number?)
(make-contract
#:name (format #f "~s" x)
#:checker (cut = x <>)))
(_ (error (format #f "cannot use as contract: ~s" x))))))
+70
View File
@@ -0,0 +1,70 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils contract impl)
#:use-module (srfi srfi-9)
#:use-module (rosenthal utils contract blame)
#:export (contract?
make-contract
contract-name
contract-checker
contract-enforcer
compound-contract-name))
#|
This module provides the data representation of contracts.
When constructing a contract via ‘make-contract’, at least one of a checker or
an enforcer must be specified.
A checker is a predicate function. An enforcer is a function that actually
performs the check and either returns the value or raises an error with extra
context. If only a checker is provided, an enforcer will be automatically
created.
Note that checkers should only be provided when values can be checked
immediately (e.g. checking a value is a number). Checkers don't work well for
things like a list of numbers, since we won't know the location and context of a
failure.
Contract combinators may rely on checkers' availability for optimizations.
Enforcers are "late neg projections" in Racket, which look like the following:
(lambda (blame)
(lambda (val neg-party)
...))
This allows a contract to be partially applied when it's constructed and
attached, before the value is actually checked.
See also (rosenthal utils contract combinators) for more examples, and
(rosenthal utils contract combinators) for error reporting of contracts.
|#
(define-record-type <contract>
(%make-contract name checker enforcer)
contract?
(name contract-name) ; string?
(checker contract-checker) ; (or/c #f (->/c any/c boolean?))
(enforcer contract-enforcer)) ; (->/c blame? (->/c any/c any/c any/c))
(define* (make-contract #:key name checker enforcer)
(%make-contract
name
checker
(or enforcer
(lambda (blame)
(lambda (val neg-party)
(if (checker val)
val
(raise-blame-error blame #:missing-party neg-party
`(expected: "~a" got: "~s") name val)))))))
(define (compound-contract-name name ctcs)
(format #f "(~a ~a)"
name
(string-join (map contract-name ctcs) " ")))
+55
View File
@@ -0,0 +1,55 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils download)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages)
;; Guix build systems
#:use-module (guix build-system gnu)
#:export (go-mod-vendor))
;;;
;;; ‘go mod vendor’ based fetcher
;;;
(define* (go-mod-vendor #:key go)
(lambda* (src hash-algo hash #:optional name #:key (system (%current-system)))
"Return a fixed-output derivation to run \"go mod vendor\" against SRC and
use the produced \"vendor\" directory as the result. The derivation is expected
to have HASH of type HASH-ALGO (a symbol). File name of the derivation defaults
to \"vendored-go-dependencies\" and can be specified by NAME."
(define nss-certs
(module-ref (resolve-interface '(gnu packages nss)) 'nss-certs))
(gexp->derivation
(or name "vendored-go-dependencies")
(with-imported-modules %default-gnu-imported-modules
#~(begin
(use-modules (guix build gnu-build-system)
(guix build utils))
;; Support Unicode in file name.
(setlocale LC_ALL "C.UTF-8")
;; Use our bundled Go toolchain.
(setenv "GOTOOLCHAIN" "local")
;; HTTPS support.
(setenv "SSL_CERT_DIR" #+(file-append nss-certs "/etc/ssl/certs"))
((assoc-ref %standard-phases 'unpack) #:source #+src)
(invoke #+(file-append go "/bin/go") "mod" "vendor")
(copy-recursively "vendor" #$output)))
#:system system
#:hash-algo hash-algo
#:hash hash
;; Is a directory.
#:recursive? #t
#:env-vars
'(("GOCACHE" . "/tmp/go-cache")
("GOPATH" . "/tmp/go"))
;; Honor the user's proxy and locale settings.
#:leaked-env-vars
'("GOPROXY"
"http_proxy" "https_proxy"
"LC_ALL" "LC_MESSAGES" "LANG"
"COLUMNS"))))
+165
View File
@@ -0,0 +1,165 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils file)
;; Guile builtins
#:use-module (ice-9 textual-ports)
;; Utilities
#:use-module (guix gexp)
;; Guix packages
#:use-module (gnu packages guile)
#:use-module (gnu packages guile-xyz)
#:use-module (rosenthal packages guile-xyz)
#:export (computed-substitution-with-inputs
file-content
hidden-desktop-entry
ini-file
json-file
kdl-file
kdlv1-file
toml-file
yaml-file))
;; XXX: ‘substitute*’ doesn't fully support Unicode:
;; https://codeberg.org/guix/guix/src/commit/a88d6a45e422cede96d57d7a953439dc27c6a50c/guix/build/utils.scm#L964
(define (computed-substitution-with-inputs name file inputs)
(with-imported-modules '((guix build utils))
(computed-file
name
#~(begin
(use-modules (ice-9 match)
(guix build utils))
(copy-file #$file #$output)
(substitute* #$output
(("\\$\\$([^\\$]+)\\$\\$" _ path)
(let loop ((candidates '#$inputs))
(if (null? candidates)
(error "file '~a' not found" path)
(match candidates
((candidate . rest)
(let ((full-path (in-vicinity candidate path)))
(if (file-exists? full-path)
full-path
(loop rest))))))))))
#:options '(#:substitutable? #f))))
(define (file-content file)
(call-with-input-file (canonicalize-path file) get-string-all))
(define (hidden-desktop-entry name file)
(computed-file name
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
(copy-file #$file #$output)
(substitute* #$output
(("^\\[Desktop Entry\\].*" all)
(string-append all "NoDisplay=true\n")))))
#:options '(#:substitutable? #f)))
;;;
;;; Serializers.
;;;
;; https://github.com/artyom-poptsov/guile-ini
(define (ini-file name exp)
"Return a file-like object, outputing INI file serialized from EXP."
(computed-file name
(with-extensions (list guile-ini guile-lib guile-smc)
(if (gexp? exp)
#~(begin
(use-modules (srfi srfi-26) (ini))
(call-with-output-file #$output
(cut scm->ini #$exp #:port <>)))
#~(begin
(use-modules (srfi srfi-26) (ini))
(call-with-output-file #$output
(cut scm->ini '#$exp #:port <>)))))
#:options '(#:substitutable? #f)))
;; https://github.com/aconchillo/guile-json
(define (json-file name exp)
"Return a file-like object, outputing JSON file serialized from EXP."
(computed-file name
(with-extensions (list guile-json-4)
(if (gexp? exp)
#~(begin
(use-modules (srfi srfi-26) (json))
(call-with-output-file #$output
(cut scm->json #$exp <> #:pretty #t)))
#~(begin
(use-modules (srfi srfi-26) (json))
(call-with-output-file #$output
(cut scm->json '#$exp <> #:pretty #t)))))
#:options '(#:substitutable? #f)))
(define (kdl-file name exp)
(computed-file name
(with-imported-modules '((rosenthal utils kdl))
(if (gexp? exp)
#~(begin
(use-modules (srfi srfi-26) (rosenthal utils kdl))
(call-with-output-file #$output
(cut display (scm->kdl-string #$exp) <>)))
#~(begin
(use-modules (srfi srfi-26) (rosenthal utils kdl))
(call-with-output-file #$output
(cut display (scm->kdl-string '#$exp) <>)))))
#:options '(#:substitutable? #f)))
(define (kdlv1-file name exp)
(computed-file name
(with-imported-modules '((rosenthal utils kdl))
(if (gexp? exp)
#~(begin
(use-modules (srfi srfi-26) (rosenthal utils kdl))
(call-with-output-file #$output
(cut display (scm->kdlv1-string #$exp) <>)))
#~(begin
(use-modules (srfi srfi-26) (rosenthal utils kdl))
(call-with-output-file #$output
(cut display (scm->kdlv1-string '#$exp) <>)))))
#:options '(#:substitutable? #f)))
;; https://github.com/hylophile/guile-toml
;; TODO: TOML writing support is incomplete.
;; See https://github.com/hylophile/guile-toml/blob/main/toml/builder.scm.
(define (toml-file name exp)
"Return a file-like object, outputing TOML file serialized from EXP."
(computed-file name
(with-extensions (list guile-json-4 guile-toml/dolly)
(if (gexp? exp)
#~(begin
(use-modules (srfi srfi-26) (toml))
(call-with-output-file #$output
(cut scm->toml #$exp <>)))
#~(begin
(use-modules (srfi srfi-26) (toml))
(call-with-output-file #$output
(cut scm->toml '#$exp <>)))))
#:options '(#:substitutable? #f)))
;; https://gitlab.com/yorgath/guile-yamlpp
(define (yaml-file name exp)
"Return a file-like object, outputing YAML file serialized from EXP."
(computed-file name
(with-extensions (list guile-yamlpp)
(if (gexp? exp)
#~(begin
(use-modules (yamlpp))
(call-with-output-file #$output
(lambda (port)
(let ((emitter (make-yaml-emitter)))
(yaml-emit! emitter #$exp)
(display (yaml-emitter-string emitter) port)))))
#~(begin
(use-modules (yamlpp))
(call-with-output-file #$output
(lambda (port)
(let ((emitter (make-yaml-emitter)))
(yaml-emit! emitter '#$exp)
(display (yaml-emitter-string emitter) port)))))))
#:options '(#:substitutable? #f)))
+86
View File
@@ -0,0 +1,86 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils kdl)
#:use-module (ice-9 format)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-71)
#:export (scm->kdl-string
scm->kdlv1-string))
;; https://kdl.dev/spec/
(define %kdl-v1?
(make-parameter #f))
(define* (value->kdl value #:optional (kdlv1? (%kdl-v1?)))
(match value
;; Null
('null
(if kdlv1? "null" "#null"))
;; Boolean
((or #t 'true)
(if kdlv1? "true" "#true"))
((or #f 'false)
(if kdlv1? "false" "#false"))
;; Number
((or +inf.0 'inf)
"#inf")
((or -inf.0 '-inf)
"#-inf")
((or +nan.0 'nan)
"#nan")
((? number?)
(number->string value))
;; String
((? symbol?)
(symbol->string value))
((? string?)
(format #f "~s" value))
;; Property. Added here for convenience.
(_
(string-join
(map (lambda (x)
(format #f "~a=~a"
(value->kdl (first x))
(value->kdl (second x))))
(cdr value))))))
(define (child-node? x)
(and (pair? x)
(not (eq? (car x) '@))))
(define (node->kdl node level)
(let* ((name (car node))
(children args (partition child-node? (cdr node)))
(indent (make-string (* level 8) #\space))
(output
(string-join
(cons (string-append indent (value->kdl name))
(map value->kdl args)))))
(if (null? children)
output
(format #f "~a {~%~{~a~%~}~a}"
output
(map (cut node->kdl <> (1+ level)) children)
indent))))
(define (document->kdl document)
(map (cut node->kdl <> 0) document))
(define (scm->kdl-string scm)
(cond
((null? scm)
"")
((not (pair? scm))
(value->kdl scm))
((eq? (car scm) '*TOP*)
(scm->kdl-string (cdr scm)))
(else
(string-join (document->kdl scm) "\n"))))
(define (scm->kdlv1-string scm)
(parameterize ((%kdl-v1? #t))
(scm->kdl-string scm)))
+414
View File
@@ -0,0 +1,414 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils nix)
;; Guile builtins
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-9)
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-71)
;; Utilities
#:use-module (guix gexp)
#:use-module (guix packages)
;; Guix build systems
#:use-module (guix build-system trivial)
;; Guix packages
#:autoload (gnu packages package-management) (nix)
#:export (%nix-wrapper-default-exclude-env-paths
%nix-wrapper-profile-nixpkgs-commit
%nix-wrapper-profile-extra-outputs
nix-shell-wrapper
nix-wrapper->package nix-shell-wrapper->package
with-nix-profile))
;; Environment variables and subdirectories to exclude in `nix-shell-wrapper'
;; and `nix-expressions->profile-build-wrapper', respectively.
;;
;; This is to avoid adding search paths with incompatible libraries and crashing
;; programs. See also GCD 004:
;; https://consensus.guix.gnu.org/gcd/004-set-search-paths-without-program-wrappers.html
;;
;; Valid item format below. Paths are started with `/' and non-string values
;; are ignored:
;;
;; ENV_VAR
;; (ENV_VAR . PATH)
;; (ENV_VAR . (PATHS ...))
(define %nix-wrapper-default-exclude-env-paths
(make-parameter
'((#f . ("/bin" "/sbin"))
"XDG_DATA_DIRS"
"XDG_CONFIG_DIRS"
;; Glib
("GIO_EXTRA_MODULES" . "/lib/gio/modules")
("GSETTINGS_SCHEMA_DIR" . "/share/glib-2.0/schemas")
;; Qt
("QML2_IMPORT_PATH" . "/lib/qt5/qml")
("QML_IMPORT_PATH" . "/lib/qt6/qml")
("QT_PLUGIN_PATH" . ("/lib/qt5/plugins" "/lib/qt6/plugins")))))
;; Nixpkgs revision to provide `buildEnv' function when building the profile,
;; used by `nix-expressions->profile-build-wrapper'.
(define %nix-wrapper-profile-nixpkgs-commit
(make-parameter "714a5f8c4ead6b31148d829288440ed033ccc041"))
;; Additional package outputs to include when building the profile, used by
;; `nix-expressions->profile-build-wrapper'.
(define %nix-wrapper-profile-extra-outputs
(make-parameter '("man" "info")))
(define (%nix-wrapper-profile-default-exclude-paths)
"Subdirectories to exclude when building the profile, used by
`nix-expressions->profile-build-wrapper'."
(filter identity
(append-map (match-lambda
((_ . (? string? path)) (list path))
((_ (? string? paths) ...) paths)
(_ (list #f)))
(%nix-wrapper-default-exclude-env-paths))))
(define (%nix-wrapper-shell-default-unset-env-vars)
"Environment variables to unset in the `nix shell' environment, used by
`nix-shell-wrapper' by default."
(filter-map (match-lambda
((? string? env) env)
(((? string? env) . _) env)
(_ #f))
(%nix-wrapper-default-exclude-env-paths)))
;;;
;;; Helper utilities to use packages from Nix.
;;;
(define (ensure-list x)
(if (list? x)
x
(list x)))
(define-record-type <nix-wrapper>
(nix-wrapper name command file expressions)
nix-wrapper?
;; For `nix-wrapper->package', package name.
(name nix-wrapper-name) ;string
;; For `nix-wrapper->package', command name.
(command nix-wrapper-command) ;string
;; Wrapper script.
(file nix-wrapper-file) ;file-like object
;; Nix expression equivalents to Nix dependencies of the wrapper.
(expressions nix-wrapper-expressions)) ;list of strings / list of G-expressions
(define-gexp-compiler (nix-wrapper-compiler (wrapper <nix-wrapper>) system target)
(lower-object (nix-wrapper-file wrapper) system #:target target))
(define (nix-wrapper->package wrapper)
"Return a package for nix-wrapper WRAPPER. The package will install a command
under its /bin directory, with the command name of WRAPPER.
Note that packages created by this procedure are not supposed to be used in the
build environment and won't be able to interoperate with other packages in
practice."
(package
(name (nix-wrapper-name wrapper))
(version "0.0.0")
(source #f)
(build-system trivial-build-system)
(arguments
(list #:builder
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
(let ((dest (string-append #$output "/bin/"
#$(nix-wrapper-command wrapper))))
(mkdir-p (dirname dest))
(symlink #$wrapper dest))))))
(home-page #f)
(synopsis #f)
(description #f)
(license #f)))
(define nix-shell-wrapper->package nix-wrapper->package) ;alias
;; Flake output attribute -> Nix expression
;; https://nix.dev/manual/nix/2.34/command-ref/new-cli/nix.html#flake-output-attribute
;; 1. flakeref
;; (import (builtins.getFlake "FLAKEREF") {})
;; 2. flakeref#attrpath
;; (import (builtins.getFlake "FLAKEREF") {}).ATTRPATH
;; 3. expression
;; (EXPRESSION)
;; 4. expression + attrpath
;; (EXPRESSION).ATTRPATH
;; 5. file
;; (import "FILE")
;; 6. file + attrpath
;; (import "FILE").ATTRPATH
(define* (installables->nix-expressions #:optional (installables ".")
#:key expression)
"Return a list of G-expressions to format Nix expressions from Flake output
attributes.
INSTALLABLES (string / list of strings) is specified as Flake output attribute.
When EXPRESSION (string / file-like object) is set, INSTALLABLES will be
optional and interpreted as attribute path relative to the Nix expression."
(define (installable->flakeref+attrpath installable)
(if (string-contains installable "#")
(apply values (string-split installable #\#))
(if expression
(values #f installable)
(values installable #f))))
(map (lambda (installable)
(let* ((flakeref
attrpath
(installable->flakeref+attrpath installable))
(attrpath
(if (and=> attrpath (cut string=? <> "."))
#f
attrpath)))
(match expression
((? file-like?)
#~(format #f "(import ~s)~a"
#$expression
(if #$attrpath
(string-append "." #$attrpath)
"")))
((? string?)
#~(format #f "(~a)~a"
#$expression
(if #$attrpath
(string-append "." #$attrpath)
"")))
(_
#~(format #f "(import (builtins.getFlake ~s) {})~a"
#$flakeref
(if #$attrpath
(string-append "." #$attrpath)
""))))))
(ensure-list installables)))
(define* (nix-expressions->profile-build-wrapper
expressions
#:key (nix (file-append nix "/bin/nix")))
"Return a nix-wrapper that wraps the `nix build' command-line utility and
builds a Nix profile if run. Nix daemon is required to use the wrapper.
The wrapper accepts an optional path argument and will symlink the resulted
profile to the path.
EXPRESSIONS (list of strings / list of G-expressions) can be formatted from
`installables->nix-expressions' and specifies packages to be added into the
profile.
NIX (default: (file-append nix \"/bin/nix\"), string / file-like object)
specifies the Nix binary to use."
(define profile.nix
(computed-file "profile.nix"
#~(begin
(use-modules (ice-9 format)
(srfi srfi-1))
(call-with-output-file #$output
(lambda (port)
(format port "\
let
pkgs = import (builtins.getFlake \"github:NixOS/nixpkgs/~a\") {};
in
pkgs.buildEnv {
name = \"nix-profile-for-search-paths\";
paths = [
pkgs.shared-mime-info
pkgs.desktop-file-utils
~{\
~a
~}\
];
extraOutputsToInstall = [
~{\
~s
~}\
];
postBuild = ''
if [[ -w $out/share/mime ]] && [[ -d $out/share/mime/packages ]]; then
XDG_DATA_DIRS=$out/share ${pkgs.shared-mime-info}/bin/update-mime-database -V $out/share/mime
fi
if [[ -w $out/share/applications ]]; then
${pkgs.desktop-file-utils}/bin/update-desktop-database $out/share/applications
fi
~{\
rm -rf $out~a
~}\
'';
}
"
#$(%nix-wrapper-profile-nixpkgs-commit)
(delete-duplicates (list #$@expressions) string=?)
'#$(%nix-wrapper-profile-extra-outputs)
'#$(%nix-wrapper-profile-default-exclude-paths)))))
#:options '(#:substitutable? #f)))
(define wrapper
(program-file "build-nix-profile-nix-wrapper"
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (ice-9 match)
(guix build utils))
(match (command-line)
((_ . args)
(apply invoke #$nix
"build" "--print-out-paths"
`(,@(if (null? args)
(list "--no-link")
(list "--out-link" (car args)))
"--file" #$profile.nix))))))))
(nix-wrapper "build-nix-profile-nix-wrapper"
"build-nix-profile"
wrapper
expressions))
;; See also https://nix.dev/manual/nix/2.34/command-ref/new-cli/nix3-env-shell.html
(define* (nix-shell-wrapper name
#:optional (installables ".")
#:key expression
(run-command '())
(options '())
(environment-keep #t)
(environment-unset (%nix-wrapper-shell-default-unset-env-vars))
(environment-set '())
(nix (file-append nix "/bin/nix")))
"Return a nix-wrapper that wraps the `nix shell' command-line utility and
spawns an one-off software environment if run. Nix daemon is required to use
the wrapper.
INSTALLABLES (string / list of strings) is specified as Flake output attribute
and will be added into the environment. When EXPRESSION (string / file-like
object) is set, INSTALLABLES will be optional and interpreted as attribute paths
relative to the Nix expression.
RUN-COMMAND (default: '(), list of strings) specifies command and arguments to
be executed in the environment. Command-line arguments passed to the wrapper
will be appended.
OPTIONS (default: '(), list of strings) specifies extra options to pass to the
`nix shell' command-line utility.
When ENVIRONMENT-KEEP (default: #t, boolean / list of strings) is set to a value
other than #t, the environment will be cleared, keeping only specified
environment variables.
ENVIRONMENT-UNSET (default: (%nix-wrapper-shell-default-unset-env-vars), list of
strings) unsets specified environment variables from the environment. It's only
usable when ENVIRONMENT-KEEP is #t.
For each key-value pair in ENVIRONMENT-SET (default: '(), association list), the
environment sets its corresponding environment variable.
NIX (default: (file-append nix \"/bin/nix\"), string / file-like object)
specifies the Nix binary to use.
Examples:
(nix-shell-wrapper \"cowsay-hello-coreutils-env\"
'(\"github:NixOS/nixpkgs/nixos-26.05#coreutils\"
\"github:NixOS/nixpkgs/nixos-26.05#cowsay\")
#:run-command '(\"env\" \"LANG=C.UTF-8\" \"cowsay\" \"hello\"))
(nix-shell-wrapper \"cowsay-hello\"
\"github:NixOS/nixpkgs/nixos-26.05#cowsay\"
#:run-command '(\"cowsay\" \"hello\")
#:environment-set '((\"LANG\" . \"C.UTF-8\")))
(nix-shell-wrapper \"python-with-numpy\"
#:expression \"with (import (builtins.getFlake \\\"github:NixOS/nixpkgs/nixos-26.05\\\") {}); python3.withPackages (ps: [ps.numpy])\"
#:run-command '(\"python\"))
(nix-shell-wrapper \"coreutils-env\"
\"coreutils\"
#:expression (local-file \"/tmp/nixpkgs.nix\")
#:run-command '(\"env\")
#:environment-keep #f)
"
(define %options
(append (match environment-keep
(#t
(append-map (cut list "--unset-env-var" <>)
(lset-difference string=?
environment-unset
(append
(if (boolean? environment-keep)
'()
environment-keep)
(map car environment-set)))))
(#f
'("--ignore-env"))
(_
(cons "--ignore-env"
(append-map (cut list "--keep-env-var" <>)
environment-keep))))
(append-map (match-lambda
((name . value)
(list "--set-env-var" name value)))
environment-set)
options))
(define wrapper-name
(string-append name "-nix-wrapper"))
(define wrapper
(program-file wrapper-name
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (ice-9 match)
(guix build utils))
(match (command-line)
((_ . args)
(apply invoke #$nix
"--extra-experimental-features" "nix-command flakes"
"shell"
#$@%options
#$@(match expression
((? file-like?)
(list "--impure" "--file" expression))
((? string?)
(list "--impure" "--expr" expression))
(_
'()))
#$@(ensure-list installables)
"--command" #$@run-command args)))))))
(nix-wrapper wrapper-name
name
wrapper
(installables->nix-expressions
installables
#:expression expression)))
(define (with-nix-profile packages)
"Transform PACKAGES, turning nix-wrapper into packages, additionally adding a
new package containing a `build-nix-profile' script created for them by
`nix-expressions->profile-build-wrapper'.
The `build-nix-profile' script accepts an optional path argument and will
symlink the resulted profile to that path.
This procedure is intended for use in Guix System and Guix Home package
declarations, along with services `nix-search-paths-service-type' and
`home-nix-search-paths-service-type'.
Example:
(with-nix-profile
(append (list (nix-shell-wrapper \"readest\"
'(\"github:NixOS/nixpkgs/714a5f8c4ead6b31148d829288440ed033ccc041#readest\")
#:run-command '(\"readest\")
#:environment-set '((\"LANG\" . \"C.UTF-8\"))))
%base-packages))
"
(let ((wrappers others (partition nix-wrapper? packages)))
(append (list (nix-wrapper->package
(nix-expressions->profile-build-wrapper
(append-map nix-wrapper-expressions wrappers))))
(map nix-wrapper->package wrappers)
others)))
+124
View File
@@ -0,0 +1,124 @@
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2026 Hilton Chain <hako@ultrarare.space>
(define-module (rosenthal utils others)
#:use-module (guix gexp)
#:use-module (rosenthal utils file)
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
#:use-module (gnu packages file)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages lsof)
#:use-module (gnu packages ncdu)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages password-utils)
#:use-module (gnu packages rsync)
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages ssh)
#:use-module (gnu packages sync)
#:use-module (gnu packages version-control)
#:use-module (gnu packages vim)
#:export (%rosenthal-guix-key-dorphine
%rosenthal-guix-key-nuporta
%rosenthal-guix-key-bocis
%rosenthal-guix-key-ignamma
%rosenthal-ssh-key-hako
%rosenthal-ssh-key-hako-deploy
%rosenthal-ssh-key-jonathan
%rosenthal-ssh-key-podiki
%rosenthal-network-manager-ipv6-privacy
%rosenthal-network-manager-random-mac-address
%rosenthal-cli-packages))
;;;
;;; Guix public keys
;;;
(define %rosenthal-guix-key-dorphine
(plain-file "dorphine.pub"
"(public-key (ecc (curve Ed25519)
(q #A279175682D0DAE3E11268E67E1F3FA47C38D7E509F7725567CF891E248E719F#)))"))
;; Nonguix head node.
(define %rosenthal-guix-key-nuporta
(plain-file "nuporta.pub"
"(public-key (ecc (curve Ed25519)
(q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)))"))
;; aarch64-linux build worker.
(define %rosenthal-guix-key-bocis
(plain-file "bocis.pub"
"(public-key (ecc (curve Ed25519)
(q #7927EA1162184C1FAA62D20C111121A4604F00956E69F0FEB89EEE1721647897#)))"))
;; x86_64-linux + aarch64-linux build worker.
(define %rosenthal-guix-key-ignamma
(plain-file "ignamma.pub"
"(public-key (ecc (curve Ed25519)
(q #6FEEB15C4363F9975EB15C908EC911A4362E486DA642431FA2438C0B1C3D55F5#)))"))
;;;
;;; SSH public keys
;;;
(define %rosenthal-ssh-key-hako
(plain-file "hako.pub"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFcTj1N3cL/bh2Uvwh5/YubhZplPFnvGk/iVHQs3FWV2 openpgp:0x77671915\n"))
(define %rosenthal-ssh-key-hako-deploy
(plain-file "hako-deploy.pub"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMLWIp8y5/JGBaw+yFA5MFB5nlFpEx/tjc0q0Ij9KjTu\n"))
(define %rosenthal-ssh-key-jonathan
(plain-file "jonathan.pub"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHgzHvP3BRTIZ960LVglrK8w/C0+6Z5VM8/Q5Uwa0o+Z jonathan@3700X\n"))
(define %rosenthal-ssh-key-podiki
(plain-file "podiki.pub"
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDaSmW/3uq5L6ZP6gWmRw5RiTTg0es1PrbAo/x4vkPzwIKTrMFOCBCmcuH3vOCkEZJtNy3OpXbt/a3tDW+cc6dkeq2H4WpogQvyMTXreFS2phMgDTEXW2gGZIP6fA33CHERmhd9A/m0A+NH5KGAmLDQNK8QgPgIjZuseJYtYHNCnN2TCsWQYnbZtVQF5CS6iBUILpVp6p7QlSUokiCGaPjZfrjSFCm1hUPjJYSkv0NTq8TzyDfU2quqP7TBCj4WBi9HoW9+a8tN2TQ/+GYbGqlFljeNdz3vzItcHjidHOQL/42mpvzgZx7o7dtrqX9stp+mI3oBREYSD0bMyvND/dEBRWIbpFvbyYx/leMKq9yUcFNyI2lztk17ObaQkDLxlq4ClytgEtdbP6X0gua29FYK/YlAi13NptK6uy2xB2gsEIt5P4N3u+gZCNA0U3IVd7iMRSpg6PWiL1JguvhYSD5vGOnOjiXVlBCKn+ErTO9Ey/BZqwVBZMeDwynFnU1mYnkxtA+G54VI77gj24FrHw/ClOdJOdBUGAso9P3sFjdykkAJyKd4jiFzpDTOOJNs8qKhmFFzJBnJjn7nzwjElwOCZXdDKTrKqF/51WEqpNr8Za2QjRirV4m7n6FnyyD38b24InAVa+yze3qDI9yk2vjPdtFGCeLODSEjfV3U1z1hiw== cardno:11 465 639\n"))
;;;
;;; NetworkManager
;;;
(define %rosenthal-network-manager-ipv6-privacy
`("ip6-privacy.conf"
,(ini-file "ip6-privacy.conf"
'(("connection"
. (("ipv6.ip6-privacy" . 2)))))))
;; NOTE: When using on cloud machines, refer to the terms of the provider
;; first.
(define %rosenthal-network-manager-random-mac-address
`("random-mac-address.conf"
,(ini-file "random-mac-address.conf"
'(("connection-mac-randomization"
. (("ethernet.cloned-mac-address" . "stable")
("wifi.cloned-mac-address" . "stable")))))))
;;;
;;; Packages
;;;
(define %rosenthal-cli-packages
(list curl
file
git
`(,git "send-email")
glibc
gnupg
htop
mosh
ncurses
rclone
rsync
unzip
zip))
Loaded 100 of 106 files, more files were not shown because too many files have changed in this diff. Show more