summaryrefslogtreecommitdiff
path: root/system/amdgpu.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/amdgpu.nix')
-rw-r--r--system/amdgpu.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/amdgpu.nix b/system/amdgpu.nix
index df9a52c..5bb0f02 100644
--- a/system/amdgpu.nix
+++ b/system/amdgpu.nix
@@ -15,8 +15,9 @@ in {
};
# AMD Anti-Lag
- environment.systemPackages = [pkgs.low-latency-layer];
- environment.etc."vulkan/implicit_layer.d/low_latency_layer.json".source = "${pkgs.low-latency-layer}/share/vulkan/implicit_layer.d/low_latency_layer.json";
+ hardware.graphics.extraPackages = with pkgs; [
+ low-latency-layer
+ ];
# Configuration
environment.variables = {