Add ollama config to nixos-framework
This commit is contained in:
parent
29267699ff
commit
b0a8ce7b9d
2 changed files with 8 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [ ollama ];
|
||||
networking.firewall.allowedTCPPorts = [ 11434 ];
|
||||
|
||||
# TODO: Add SystemD services to start / stop ollama serve
|
||||
}
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
loadModels = [
|
||||
"vanilj/Phi-4"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
../../common/services/podman.nix
|
||||
../../common/services/geoclue.nix
|
||||
../../common/services/syncthing.nix
|
||||
../../common/services/ollama.nix
|
||||
];
|
||||
|
||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
|
|
Loading…
Reference in a new issue