1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

Change default pathes for ollama service

This commit is contained in:
Velnbur 2024-06-17 19:34:10 +03:00
parent f65533bab0
commit 2816d8afd3
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ in {
home = lib.mkOption {
type = types.str;
default = "%S/ollama";
default = "$HOME";
example = "/home/foo";
description = ''
The home directory that the ollama service is started in.
@ -50,7 +50,7 @@ in {
models = mkOption {
type = types.str;
default = "%S/ollama/models";
default = "$HOME/.ollama/models";
example = "/path/to/ollama/models";
description = ''
The directory that the ollama service will read models from and download new models to.