From b09f4d6131688c1a906330082e02ea77bb4e4d3e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 20 Apr 2026 12:58:55 -0700 Subject: [PATCH] nix: install coqui-tts-streamer --- nixos/essential.nix | 3 +++ nixos/flake.lock | 28 ++++++++++++++++++++++++++++ nixos/flake.nix | 11 +++++++++++ 3 files changed, 42 insertions(+) diff --git a/nixos/essential.nix b/nixos/essential.nix index a3a8a51f..cfb84cb5 100644 --- a/nixos/essential.nix +++ b/nixos/essential.nix @@ -5,6 +5,7 @@ ... }: let git-blame-rank = inputs.git-blame-rank.packages.${pkgs.stdenv.hostPlatform.system}.default; + coqui-tts-streamer = inputs.coqui-tts-streamer.packages.${pkgs.stdenv.hostPlatform.system}.default; keepbook = inputs.keepbook.packages.${pkgs.stdenv.hostPlatform.system}.keepbook.overrideAttrs (_: { # Upstream checks currently depend on TS artifacts that are not built in Nix. doCheck = false; @@ -19,6 +20,8 @@ cachix bubblewrap cmake + coqui-tts-streamer + dex direnv fd ffmpeg diff --git a/nixos/flake.lock b/nixos/flake.lock index a4d0e145..4d2a601f 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -186,6 +186,33 @@ "type": "github" } }, + "coqui-tts-streamer": { + "inputs": { + "flake-utils": [ + "flake-utils" + ], + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": [ + "git-sync-rs", + "rust-overlay" + ] + }, + "locked": { + "lastModified": 1776281033, + "narHash": "sha256-Loz5kJHCM8Q04suAZ8683LdW7AP1kn4EszZe1ZjXqGM=", + "owner": "colonelpanic8", + "repo": "coqui-tts-streamer", + "rev": "5b522e3c96db61e2232c917f2c6e3f2570f98a47", + "type": "github" + }, + "original": { + "owner": "colonelpanic8", + "repo": "coqui-tts-streamer", + "type": "github" + } + }, "darwin": { "inputs": { "nixpkgs": [ @@ -2069,6 +2096,7 @@ "caelestia-shell": "caelestia-shell", "claude-code-nix": "claude-code-nix", "codex-cli-nix": "codex-cli-nix", + "coqui-tts-streamer": "coqui-tts-streamer", "flake-utils": "flake-utils", "git-blame-rank": "git-blame-rank", "git-ignore-nix": "git-ignore-nix", diff --git a/nixos/flake.nix b/nixos/flake.nix index 475ada8e..798ae0d9 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -72,6 +72,17 @@ }; }; + coqui-tts-streamer = { + # Keep the default install reproducible across machines. + # For local development, use `just switch --override-input coqui-tts-streamer path:/home/imalison/Projects/coqui-tts-streamer`. + url = "github:colonelpanic8/coqui-tts-streamer"; + inputs = { + nixpkgs.follows = "nixpkgs"; + flake-utils.follows = "flake-utils"; + rust-overlay.follows = "git-sync-rs/rust-overlay"; + }; + }; + kanshi-sni = { url = "github:taffybar/kanshi-sni"; inputs = {