mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 07:31:03 +01:00
27 lines
635 B
Nix
27 lines
635 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
config = {
|
|
programs.mods = {
|
|
enable = true;
|
|
package = pkgs.writeScriptBin "dummy-mods" "";
|
|
settings = {
|
|
default-model = "llama3.2";
|
|
apis = {
|
|
ollama = {
|
|
base-url = "http://localhost:11434/api";
|
|
models = {
|
|
"llama3.2" = {
|
|
max-input-chars = 650000;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/mods/mods.yml
|
|
assertFileContent home-files/.config/mods/mods.yml \
|
|
${./basic-configuration.yml}
|
|
'';
|
|
};
|
|
}
|