mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
Compare commits
2 commits
ac38fa15e8
...
1e7e4595cc
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e7e4595cc | |||
| b4d41e5e66 |
2 changed files with 10 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
||||||
./../../modules/core/virtualization.nix
|
./../../modules/core/virtualization.nix
|
||||||
./../../modules/services/tailscale.nix
|
./../../modules/services/tailscale.nix
|
||||||
./../../modules/services/mpd.nix
|
./../../modules/services/mpd.nix
|
||||||
|
./../../modules/services/ollama.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
|
|
|
||||||
9
modules/services/ollama.nix
Normal file
9
modules/services/ollama.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
# Optional: preload models, see https://ollama.com/library
|
||||||
|
# loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b"];
|
||||||
|
# acceleration = "rocm"; # nope, 5700XT is too old for this
|
||||||
|
};
|
||||||
|
services.open-webui.enable = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue