juspay / services-flake

NixOS-like services for Nix flakes
https://community.flake.parts/services-flake
MIT License
350 stars 30 forks source link

How run example llm localy ? #232

Closed back2nix closed 3 months ago

back2nix commented 3 months ago

Please tell me how to run the example locally?

nix run "github:juspay/services-flake?dir=example/llm"

I try

git clone https://github.com/juspay/services-flake
cd .services-flake/example/llm
nix run 

Error:

error: flake 'git+file:///home/bg/Documents/code/github.com/back2nix/nix/test/ollama/services-flake' does not provide attribute 'apps.x86_64-linux.default', 'defaultApp.x86_64-linux', 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'