ollama: service init
This commit is contained in:
parent
601f462ded
commit
56d96eaf2c
1 changed files with 12 additions and 0 deletions
12
services/ollama.nix
Normal file
12
services/ollama.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
mkIf (elem "ollama" config.machine.services) {
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue