mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-04-08 17:05:56 +02:00
nix: fail evaluation if power-profiles-daemon is enabled (#809)
Fixes systemd service being killed on boot
This commit is contained in:
parent
4cee388c1b
commit
e6bbd2c833
@ -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
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user