This commit is contained in:
parent
843802bcb7
commit
c32ce8861c
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, nixpkgs-unstable, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
@ -124,6 +124,15 @@
|
||||
};
|
||||
users.users.jake.extraGroups = [ "podman" ];
|
||||
|
||||
## Ollama
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = nixpkgs-unstable.legacyPackages.x86_64-linux.ollama;
|
||||
|
||||
models = "/data/ollama/models";
|
||||
writablePaths = [ "/data/ollama/models" ];
|
||||
};
|
||||
|
||||
## Networking
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.ip_forward" = true;
|
||||
|
Loading…
Reference in New Issue
Block a user