diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-02-11 17:11:18 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-19 19:46:01 +0300 |
commit | 22750b36fdd96f0b88a8048e00e6ef4c31106f81 (patch) | |
tree | d83cd4c1988cc876661812bee3a796610250481a /nixos/modules/hardware | |
parent | f6eedf08674769a0bf12ec0ce8e3e7d6a8dc3c1b (diff) |
nvidia: support application profiles
Closes #22666.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/video/nvidia.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index cf723d53269b1..161ed9457af9e 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -49,6 +49,10 @@ in Option "RandRRotation" "on" ''; + environment.etc."nvidia/nvidia-application-profiles-rc" = mkIf nvidia_x11.useProfiles { + source = "${nvidia_x11.bin}/share/nvidia/nvidia-application-profiles-rc"; + }; + hardware.opengl.package = nvidiaPackage nvidia_x11 pkgs; hardware.opengl.package32 = nvidiaPackage nvidia_libs32 pkgs_i686; |