diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-05-26 23:16:31 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-05-26 23:16:31 -0400 |
| commit | 6778e976f62ad3500aad439ff6959ebc405e0a8d (patch) | |
| tree | 81a25a3a1bc170577e09e02db41ee72435f265c0 | |
| parent | use CachyOS kernel (diff) | |
| download | dotfiles-nix-6778e976f62ad3500aad439ff6959ebc405e0a8d.tar.gz dotfiles-nix-6778e976f62ad3500aad439ff6959ebc405e0a8d.tar.bz2 dotfiles-nix-6778e976f62ad3500aad439ff6959ebc405e0a8d.zip | |
add low latency layer for nvidia
| -rw-r--r-- | system/nvidia.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/nvidia.nix b/system/nvidia.nix index feb2edd..566da5d 100644 --- a/system/nvidia.nix +++ b/system/nvidia.nix @@ -38,6 +38,11 @@ in { package = config.boot.kernelPackages.nvidiaPackages.latest; }; + # NVIDIA Reflex + hardware.graphics.extraPackages = with pkgs; [ + low-latency-layer + ]; + # cuda environment = mkIf cfg.cuda.enable { systemPackages = with pkgs; [ @@ -50,6 +55,9 @@ in { NVIDIA_DRIVER_CAPABILITIES = "compute,utility"; CUDA_VISIBLE_DEVICES = 0; CUDA_PATH = "${pkgs.cudatoolkit}"; + # NVIDIA Reflex + LOW_LATENCY_LAYER = "1"; + LOW_LATENCY_LAYER_REFLEX = "1"; }; }; nix.settings = mkIf cfg.cuda.enable { |