Add NixOS module, overlay, and systemd service for wyoming-whisper-rs

Add module.nix exposing config.services.wyoming.whisper-cpp with
multi-instance support, systemd hardening, and GPU device access.
Export as nixosModules.default and overlays.default from the flake.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Harald Hoyer 2026-02-24 12:15:33 +01:00
parent f346829cc0
commit 7d88c8c865
2 changed files with 349 additions and 0 deletions

View file

@ -9,6 +9,12 @@
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
in
{
nixosModules.default = ./wyoming-whisper-rs/module.nix;
overlays.default = final: prev: {
wyoming-whisper-rs = final.callPackage ./wyoming-whisper-rs/package.nix { src = self; };
};
packages = forAllSystems (pkgs: {
default = pkgs.callPackage ./wyoming-whisper-rs/package.nix { src = self; };
});