Ollama
This commit is contained in:
@@ -2,6 +2,6 @@
|
|||||||
imports = [ ./vscodium ];
|
imports = [ ./vscodium ];
|
||||||
|
|
||||||
config = lib.mkIf (config.syscfg.make.develop) {
|
config = lib.mkIf (config.syscfg.make.develop) {
|
||||||
home.packages = with pkgs; [ blender godot_4 openscad-unstable bambu-studio pandoc];
|
home.packages = with pkgs; [ blender godot_4 openscad-unstable orca-slicer pandoc];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
ms-python.vscode-pylance
|
ms-python.vscode-pylance
|
||||||
ms-vscode.cpptools
|
ms-vscode.cpptools
|
||||||
dbaeumer.vscode-eslint
|
dbaeumer.vscode-eslint
|
||||||
|
continue.continue
|
||||||
];
|
];
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ let
|
|||||||
includeEmulator = false;
|
includeEmulator = false;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
imports = [ ./ollama ];
|
||||||
config = lib.mkIf (config.syscfg.make.develop) {
|
config = lib.mkIf (config.syscfg.make.develop) {
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
[
|
[
|
||||||
|
|||||||
16
modules/nixos/tools/develop/ollama/default.nix
Normal file
16
modules/nixos/tools/develop/ollama/default.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
let
|
||||||
|
ollamaPkg = pkgs.ollama-rocm;
|
||||||
|
in{
|
||||||
|
|
||||||
|
config = lib.mkIf (config.syscfg.make.develop) {
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
package = ollamaPkg;
|
||||||
|
acceleration = "rocm";
|
||||||
|
loadModels = [ "deepseek-v2:lite" "qwen2.5-coder:7b" "qwen2.5-coder:1.5b" ];
|
||||||
|
syncModels = true;
|
||||||
|
};
|
||||||
|
environment.systemPackages = with pkgs; [ ollamaPkg ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -16,9 +16,7 @@ pkgs.mkShell {
|
|||||||
yarn-berry
|
yarn-berry
|
||||||
crystal
|
crystal
|
||||||
shards
|
shards
|
||||||
virtualenv
|
|
||||||
(with python313Packages; [ pip pandas numpy matplotlib typer pillow reportlab python-barcode pypdf markdown requests ])
|
(with python313Packages; [ pip pandas numpy matplotlib typer pillow reportlab python-barcode pypdf markdown requests ])
|
||||||
pipenv
|
|
||||||
scala
|
scala
|
||||||
sbt
|
sbt
|
||||||
cargo
|
cargo
|
||||||
|
|||||||
Reference in New Issue
Block a user