Skip to content

Commit

Permalink
feat(ai): set dataDir for better persistence
Browse files Browse the repository at this point in the history
when set dataDir, we can run the ai process-compose in antoher and keep
the data in the same place.
  • Loading branch information
r17x committed Nov 10, 2024
1 parent 2eba9b5 commit bc76ac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
inputs.services-flake.processComposeModules.default
];
services.ollama.ollamaX.enable = true;
services.ollama.ollamaX.dataDir = "$HOME/.process-compose/ai/data/ollamaX";
services.ollama.ollamaX.models = [ "qwen2.5-coder" ];
};

formatter = inputs'.nixpkgs.legacyPackages.nixfmt-rfc-style;

_module.args =
Expand Down

0 comments on commit bc76ac2

Please sign in to comment.