unstable ollama

This commit is contained in:
ari committed 2024-07-18 13:25:15 -04:00
1 parent 8b906e666f
commit b6b02e5172
3 files changed
+11 -9

No files matched your search

+2 -1
View File
@@ -1,5 +1,5 @@
{ user, dataDir ? "/mnt/Data" }:
{ pkgs, lib, ... }:
{ pkgs, lib, unstable, ... }:
let
zshFWBook = builtins.filterSource (p: t: true) ../configs/fwbook;
zshFunctions = zshFWBook + "/functions.sh";
@@ -48,6 +48,7 @@ in
enable = true;
acceleration = "rocm";
listenAddress = "0.0.0.0:11434";
package = unstable.ollama;
};
# Brother Printer
hardware.sane.brscan5.enable = true;
+3 -2
View File
@@ -1,5 +1,5 @@
{ user }:
{ pkgs, lib, config, ... }: {
{ pkgs, lib, config, unstable, ... }: {
imports = [ ./hl-bigbox1.hardware-configuration.nix ];
# firmware updater
services.fwupd.enable = true;
@@ -13,6 +13,7 @@
enable = true;
acceleration = "cuda";
listenAddress = "0.0.0.0:11434";
package = unstable.ollama;
};
services.wyoming = {
openwakeword.enable = true;
@@ -32,7 +33,7 @@
# Nvidia Settings
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.enable = true;
nixpkgs.config.cudaSupport = true;
# nixpkgs.config.cudaSupport = true;
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;