summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorTimothy DeHerrera <tim.deh@pm.me>2021-10-13 09:39:35 -0600
committerTimothy DeHerrera <tim.deh@pm.me>2021-10-13 09:39:35 -0600
commit305ea3e9ede5429f2902c1543397cfb60db03e28 (patch)
treeb12943776818ae57cd379ce8b7d6df7678b75947 /nixos/modules
parentf1220d72a3a06b0fbac1999b5c8a097d1d10cc0f (diff)
downloadnixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.tar
nixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.tar.gz
nixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.tar.bz2
nixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.tar.lz
nixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.tar.xz
nixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.tar.zst
nixpkgs-305ea3e9ede5429f2902c1543397cfb60db03e28.zip
nixos/nvidia: fix typo in PM assert
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/hardware/video/nvidia.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index b9eb7f69ef4..8f6b5c22ea4 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -213,7 +213,7 @@ in
       }
 
       {
-        assertion = cfg.powerManagement.enable -> offloadCfg.enable;
+        assertion = cfg.powerManagement.finegrained -> offloadCfg.enable;
         message = "Fine-grained power management requires offload to be enabled.";
       }