Closed KenMacD closed 2 months ago
The package only works that way if you add the NixOS module, which will then automatically add an overlay to your nixpkgs instanciation. But what you are doing right now is fine too.
Strange. I was using it as a module. In my flake.nix
I had:
hostname = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {inherit self system inputs;};
modules = [
({...}: {
imports = [
inputs.whisper-overlay.nixosModules.default
];
services.realtime-stt-server.enable = true;
environment.systemPackages = [
pkgs.whisper-overlay
];
})
and it seemed like the overlay didn't apply. No biggie though.
I'm not sure if it's an overlay issue or what, but the instructions for NixOS where it says:
throws an error as it's unable to find the package. For testing it locally for now I'm just using: