Skip to content

Commit

Permalink
Set models as null by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Velnbur committed Jun 28, 2024
1 parent 1c4d6a7 commit 6dbf183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/services/ollama.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ in {
};

models = mkOption {
type = types.str;
default = "$HOME/.ollama/models";
type = types.nullOr types.str;
default = null;
example = "/path/to/ollama/models";
description = ''
The directory that the ollama service will read models from and download new models to.
Expand Down

0 comments on commit 6dbf183

Please sign in to comment.