1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-03 15:41:02 +01:00
home-manager/tests/modules/programs/mods/basic-configuration.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

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}
'';
};
}