diff --git a/nix/module.nix b/nix/module.nix index d6dcce6..99b6152 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -50,5 +50,15 @@ in { ]; }; }; + + assertions = [ + { + assertion = !config.services.power-profiles-daemon.enable; + message = '' + You have set services.power-profiles-daemon.enable = true; + which conflicts with auto-cpufreq + ''; + } + ]; }; }