adding ollama service

This commit is contained in:
Chris Cochrun 2024-02-15 11:05:21 -06:00
parent 6eea466adf
commit c28c98d552
2 changed files with 9 additions and 0 deletions

8
modules/ollama.nix Normal file
View file

@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
with lib;
{
services.ollama = {
enable = true;
};
}

View file

@ -11,6 +11,7 @@
../../pkgs/base-packages.nix
../../modules/base.nix
../../modules/localai.nix
../../modules/ollama.nix
];
networking.hostName = "shen"; # Define your hostname.