Skip to content

Commit 93b5a21

Browse files
committed
fix(ollama): update overlay to v0.11.2 and set explicit package in service
- Bump ollama overlay to version 0.11.2 with new src and hash - Remove ollama from advanced package list - Explicitly set ollama package in service configuration
1 parent ef8321d commit 93b5a21

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

home-manager/overlay/advanced.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,15 @@
1212
emacs-git = prev.emacs-git.override {
1313
withNativeCompilation = false;
1414
};
15+
ollama = prev.ollama.overrideAttrs (oldAttrs: {
16+
version = "0.11.2";
17+
src = final.fetchFromGitHub {
18+
owner = "ollama";
19+
repo = "ollama";
20+
tag = "v0.11.2";
21+
hash = "sha256-NZaaCR6nD6YypelnlocPn/43tpUz0FMziAlPvsdCb44=";
22+
};
23+
doCheck = false;
24+
});
1525
})
1626
]

home-manager/packages/advanced.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ with pkgs;
1212
lazydocker
1313

1414
# for ai
15-
ollama
1615
nodePkgs."@anthropic-ai/claude-code"
1716
nodePkgs."@google/gemini-cli"
1817

home-manager/services/ollama/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{
33
services.ollama = {
44
enable = true;
5+
package = pkgs.ollama;
56
host = "0.0.0.0";
67
};
78
}

0 commit comments

Comments
 (0)