nix flake

This commit is contained in:
Sergei Poljanski 2026-02-25 10:36:40 +02:00
commit 64b79ee953
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
2 changed files with 45 additions and 0 deletions

18
flake.nix Normal file
View file

@ -0,0 +1,18 @@
{
description = "Qwen3-0.6B local inference environment";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
ollama
llama-cpp
];
};
};
}