This commit is contained in:
parent
9eca4f3e7b
commit
6728f32ffc
6 changed files with 14 additions and 11 deletions
|
@ -12,7 +12,6 @@
|
||||||
./cron.nix
|
./cron.nix
|
||||||
./neomutt.nix
|
./neomutt.nix
|
||||||
./newsboat
|
./newsboat
|
||||||
./ollama.nix
|
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
services = {
|
|
||||||
ollama = {
|
|
||||||
enable = false;
|
|
||||||
acceleration = "rocm";
|
|
||||||
};
|
|
||||||
|
|
||||||
open-webui.enable = false;
|
|
||||||
};
|
|
||||||
}
|
|
3
modules2/hosts/t480/ollama.nix
Normal file
3
modules2/hosts/t480/ollama.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.ollama.enable = true;
|
||||||
|
}
|
3
modules2/hosts/t480/open-webui.nix
Normal file
3
modules2/hosts/t480/open-webui.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.open-webui.enable = true;
|
||||||
|
}
|
3
modules2/ollama/acceleration.nix
Normal file
3
modules2/ollama/acceleration.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.ollama.acceleration = "rocm";
|
||||||
|
}
|
5
modules2/ollama/models.nix
Normal file
5
modules2/ollama/models.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
flake.modules.nixos.pc.services.ollama.loadModels = [
|
||||||
|
"dimavz/whisper-tiny"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue