From 305ea3e9ede5429f2902c1543397cfb60db03e28 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Wed, 13 Oct 2021 09:39:35 -0600 Subject: [PATCH] nixos/nvidia: fix typo in PM assert --- nixos/modules/hardware/video/nvidia.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index b9eb7f69ef43..8f6b5c22ea4f 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."; } -- 2.11.4.GIT