mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 03:13:38 +00:00
Add ollama and open-webui
This commit is contained in:
@@ -247,7 +247,25 @@ in
|
||||
};
|
||||
flatpak.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
mullvad-vpn.enable = false;
|
||||
ollama = {
|
||||
package = unstable.ollama;
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
environmentVariables = {
|
||||
HSA_OVERRIDE_GFX_VERSION = "11.0.2";
|
||||
};
|
||||
};
|
||||
open-webui = {
|
||||
enable = true;
|
||||
package = unstable.open-webui;
|
||||
environment = {
|
||||
ANONYMIZED_TELEMETRY = "False";
|
||||
DO_NOT_TRACK = "True";
|
||||
SCARF_NO_ANALYTICS = "True";
|
||||
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
|
||||
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
|
||||
};
|
||||
};
|
||||
printing.enable = true;
|
||||
resolved.enable = true;
|
||||
sshd.enable = true;
|
||||
|
@@ -1,4 +1,8 @@
|
||||
{ stdenv, lib, fetchurl, }:
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cd-fzf";
|
||||
version = "0.0.1";
|
||||
@@ -9,8 +13,7 @@ stdenv.mkDerivation rec {
|
||||
cp ${executable} $out/bin/cd-fzf
|
||||
'';
|
||||
meta = with lib; {
|
||||
description =
|
||||
"\n Fuzzy find change directory";
|
||||
description = "\n Fuzzy find change directory";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user