6 Commits

Author SHA1 Message Date
Marmel Coder 8c6897e66d feat: add codex-oauth-proxy Home Manager service module 2026-11-12 16:49:26 +03:00
alex 43199e5b8b feat(pdfcraft): add PdfCraft 0.18.0 built from source
CI / check (push) Has been cancelled
Packages the storytold/pdfcraft Cargo workspace at tag v0.18.0: the pdfcraft
desktop app and pdfcraft-cli, with the desktop entry, AppStream metadata,
icons, licences and the two CC-BY-SA OCR models the app reads from
share/pdfcraft/models. No upstream binaries are downloaded.

Two deviations from upstream's build instructions:

- The three [patch.crates-io] entries upstream's own Cargo.lock records as
  [[patch.unused]] (egui_demo_lib, egui_inspection, egui_system_font_provider)
  have no package in nixpkgs' partial vendor tree to resolve against, so cargo
  aborts. postPatch drops them; they are unused, and cargo drops the matching
  lock entries itself, so the build runs without --locked.

- nixos-unstable's rustc 1.98.1 and 1.99.0 reject every AVX-VNNI intrinsic
  ("intrinsic signature mismatch for llvm.x86.avx512.vpdpbusd/vpwssd"), and
  rten-gemm, pic-scale and zlib-rs all use one. The package therefore builds
  against a new nixpkgs-rust195 input (nixos-26.05, rustc 1.95.0), the same
  pattern as nixpkgs-torch211. Follow-up: nix-overlay-g4w.

Also adds a Home Manager module (programs.pdfcraft) to
homeManagerModules.default, and documents both in the README.
2026-11-03 13:48:55 +03:00
alex b6becd5e01 feat: bundle opencode plugin as open-code-review passthru + HM module
CI / check (push) Has been cancelled
- packages/open-code-review/opencode-plugin.nix: builds the plugin TS file
  plus runtime node_modules from the plugin's package-lock.json into
  share/open-code-review/opencode (exposed as passthru.opencode-plugin,
  same source rev as the CLI so versions stay locked)
- modules/open-code-review-hm.nix: homeManagerModules.default with
  programs.open-code-review.{enable,opencode.enable} — symlinks the plugin
  and node_modules into ~/.config/opencode/plugins/ and installs the CLI
- flake.nix: expose homeManagerModules.default

Note: upstream declares the plugin SDKs as devDependencies, so the
lockfile install must not use --omit=dev.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-09-26 11:35:09 +03:00
alex ea9cf8b588 feat(mcp-gateway): add systemd user unit file to package
Install mcp-gateway.service to $out/lib/systemd/user/ so it can be
activated via systemd.user.packages. The service runs:
  mcp-gateway --config ~/.config/mcp-gateway/gateway.yaml serve
2026-05-06 18:38:47 +03:00
alex 743e6afde3 fix(mcp-gateway): change to user systemd service
Use systemd.user.services instead of systemd.services, default config
to ~/.config/mcp-gateway/gateway.yaml, and wantedBy default.target.
2026-05-06 18:23:22 +03:00
alex e327504f4e feat(mcp-gateway): add NixOS module with systemd service
Provides services.mcp-gateway module for easy systemd integration:
  config.services.mcp-gateway = {
    enable = true;
    configFile = "/etc/mcp-gateway/gateway.yaml";
  };
2026-05-06 18:21:18 +03:00