diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-10-01 10:43:53 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-10-01 10:43:53 -0500 |
commit | 2d50efec563f258e243737f9be970908a2c14e9a (patch) | |
tree | ba897591922fccf01baa81a29ab494964446c57e /hosts | |
parent | 16564de4892002a333ec042e4ef0469b4e9b48a8 (diff) | |
download | nixos-config-2d50efec563f258e243737f9be970908a2c14e9a.tar.gz nixos-config-2d50efec563f258e243737f9be970908a2c14e9a.zip |
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/bean/common.nix | 7 | ||||
-rw-r--r-- | hosts/tomato/default.nix | 2 | ||||
-rw-r--r-- | hosts/tomato/packages.nix | 10 |
3 files changed, 3 insertions, 16 deletions
diff --git a/hosts/bean/common.nix b/hosts/bean/common.nix index ef7ec36..5785ac9 100644 --- a/hosts/bean/common.nix +++ b/hosts/bean/common.nix @@ -79,12 +79,7 @@ in "xdg/gtk-3.0/settings.ini".source = ./gtkrc-3.ini; }; - services.ollama = { - enable = true; - environmentVariables = { - OLLAMA_CONTEXT_LENGTH = "8192"; - }; - }; + this.ollama.enable = true; services.joycond.enable = true; 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" |