diff --git a/home/.config/wezterm/wezterm.lua b/home/.config/wezterm/wezterm.lua index 98ef8be..7634134 100644 --- a/home/.config/wezterm/wezterm.lua +++ b/home/.config/wezterm/wezterm.lua @@ -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", diff --git a/nixos/flake.nix b/nixos/flake.nix index bc80760..e48f969 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -14,7 +14,7 @@ modules = [ ./configuration.nix ./hardware-configuration.nix - # ./nvidia.nix + ./nvidia.nix # ./disable-nvidia.nix ./opengl.nix # ./fingerprint-scanner.nix diff --git a/nixos/linux-kernel.nix b/nixos/linux-kernel.nix index d166cc7..e26f5f8 100644 --- a/nixos/linux-kernel.nix +++ b/nixos/linux-kernel.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" diff --git a/nixos/llm.nix b/nixos/llm.nix index e182d0a..8a12873 100644 --- a/nixos/llm.nix +++ b/nixos/llm.nix @@ -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 + ]; } diff --git a/nixos/nvidia.nix b/nixos/nvidia.nix index e43db5d..4974001 100644 --- a/nixos/nvidia.nix +++ b/nixos/nvidia.nix @@ -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; }; }; };