Skip to content

Commit

Permalink
Change default pathes for ollama service
Browse files Browse the repository at this point in the history
  • Loading branch information
Velnbur committed Jun 17, 2024
1 parent 4c31a81 commit 6891635
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 @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 6891635

Please sign in to comment.