mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
added LLM models and AI tools, disabled nextjs-ollama-ui
, enabled Nvidia proprietary drivers
This commit is contained in:
@@ -26,7 +26,7 @@ return {
|
||||
source = {
|
||||
File = '/home/xnm/.config/wezterm/lain.gif',
|
||||
},
|
||||
opacity = 0.05,
|
||||
opacity = 0.02,
|
||||
vertical_align = "Middle",
|
||||
horizontal_align = "Center",
|
||||
height = "1824",
|
||||
|
@@ -14,7 +14,7 @@
|
||||
modules = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
# ./nvidia.nix
|
||||
./nvidia.nix
|
||||
# ./disable-nvidia.nix
|
||||
./opengl.nix
|
||||
# ./fingerprint-scanner.nix
|
||||
|
@@ -4,6 +4,7 @@
|
||||
# Linux Kernel
|
||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||
boot.kernelParams = [
|
||||
"splash"
|
||||
"quiet"
|
||||
"fbcon=nodefer"
|
||||
"vt.global_cursor_default=0"
|
||||
|
@@ -2,9 +2,13 @@
|
||||
|
||||
{
|
||||
services.ollama.enable = true;
|
||||
services.ollama.loadModels = [ "llama3.2" ];
|
||||
services.ollama.loadModels = [ "llama3.2:3b" "dolphin-llama3:8b" "qwen2.5-coder:7b" "llava-llama3:8b" "phi3.5:3.8b" ];
|
||||
services.ollama.acceleration = "cuda";
|
||||
|
||||
services.nextjs-ollama-llm-ui.enable = true;
|
||||
services.nextjs-ollama-llm-ui.port = 5000;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
oterm
|
||||
alpaca
|
||||
nextjs-ollama-llm-ui
|
||||
aichat
|
||||
];
|
||||
}
|
||||
|
@@ -19,14 +19,18 @@
|
||||
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
|
||||
powerManagement.finegrained = true;
|
||||
|
||||
# Dynamic Boost. It is a technology found in NVIDIA Max-Q design laptops with RTX GPUs.
|
||||
# It intelligently and automatically shifts power between
|
||||
# the CPU and GPU in real-time based on the workload of your game or application.
|
||||
dynamicBoost.enable = lib.mkForce true;
|
||||
|
||||
# Use the NVidia open source kernel module (not to be confused with the
|
||||
# independent third-party "nouveau" open source driver).
|
||||
# Support is limited to the Turing and later architectures. Full list of
|
||||
# supported GPUs is at:
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
|
||||
# Only available from driver 515.43.04+
|
||||
# Currently alpha-quality/buggy, so false is currently the recommended setting.
|
||||
open = true;
|
||||
# open = true;
|
||||
|
||||
# Enable the Nvidia settings menu,
|
||||
# accessible via `nvidia-settings`.
|
||||
@@ -66,10 +70,6 @@
|
||||
prime.offload.enableOffloadCmd = lib.mkForce false;
|
||||
|
||||
prime.sync.enable = lib.mkForce true;
|
||||
# Dynamic Boost. It is a technology found in NVIDIA Max-Q design laptops with RTX GPUs.
|
||||
# It intelligently and automatically shifts power between
|
||||
# the CPU and GPU in real-time based on the workload of your game or application.
|
||||
dynamicBoost.enable = lib.mkForce true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user