adding ollama service
This commit is contained in:
parent
6eea466adf
commit
c28c98d552
8
modules/ollama.nix
Normal file
8
modules/ollama.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -11,6 +11,7 @@
|
|||
../../pkgs/base-packages.nix
|
||||
../../modules/base.nix
|
||||
../../modules/localai.nix
|
||||
../../modules/ollama.nix
|
||||
];
|
||||
|
||||
networking.hostName = "shen"; # Define your hostname.
|
||||
|
|
Loading…
Reference in a new issue