summaryrefslogtreecommitdiff
path: root/hosts/tomato
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-10-01 10:43:53 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-10-01 10:43:53 -0500
commit2d50efec563f258e243737f9be970908a2c14e9a (patch)
treeba897591922fccf01baa81a29ab494964446c57e /hosts/tomato
parent16564de4892002a333ec042e4ef0469b4e9b48a8 (diff)
downloadnixos-config-master.tar.gz
nixos-config-master.zip
modules/ollama: Create by factoring common code from bean/*, tomatoHEADmaster
Diffstat (limited to 'hosts/tomato')
-rw-r--r--hosts/tomato/default.nix2
-rw-r--r--hosts/tomato/packages.nix10
2 files changed, 2 insertions, 10 deletions
diff --git a/hosts/tomato/default.nix b/hosts/tomato/default.nix
index d80afa2..b2b3e8a 100644
--- a/hosts/tomato/default.nix
+++ b/hosts/tomato/default.nix
@@ -28,6 +28,8 @@
services.joycond.enable = true;
+ this.ollama.enable = true;
+
this.buildMachines = ["pinto"];
this.apache = {
diff --git a/hosts/tomato/packages.nix b/hosts/tomato/packages.nix
index 5135f7e..5c17218 100644
--- a/hosts/tomato/packages.nix
+++ b/hosts/tomato/packages.nix
@@ -3,8 +3,6 @@
let
blender-bin = inputs.blender-bin.
packages.x86_64-linux;
- nixpkgs-unstable = inputs.nixpkgs-unstable.
- legacyPackages.x86_64-linux;
in
{
this.sets = {
@@ -72,14 +70,6 @@ in
virtualisation.waydroid.enable = true;
programs.adb.enable = true;
- services.ollama = {
- enable = true;
- package = nixpkgs-unstable.ollama;
- environmentVariables = {
- OLLAMA_CONTEXT_LENGTH = "8192";
- };
- };
-
this.unfree.allowed = [
"shipwright"
"2ship2harkinian"