Replace flake.nix with shell.nix for simpler NixOS dev environment
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{ pkgs ? import <nixpkgs> { config.allowUnfree = true; } }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
portaudio
|
||||
cudaPackages.cudatoolkit
|
||||
uv
|
||||
python314
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export LD_LIBRARY_PATH="${pkgs.cudaPackages.cudatoolkit}/lib:$LD_LIBRARY_PATH"
|
||||
echo "Dev shell ready - microphone input enabled"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user