1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 17:07:44 +00:00

nix: define systemd service conflicts

This commit is contained in:
atagen 2025-05-14 23:14:18 +10:00
parent 1eeb6d2d90
commit 47f5703402

View file

@ -33,6 +33,13 @@ in {
systemd.services.superfreq = {
wantedBy = ["multi-user.target"];
conflicts = [
"auto-cpufreq.service"
"power-profiles-daemon.service"
"tlp.service"
"cpupower-gui.service"
"thermald.service"
];
serviceConfig = {
Environment = optional (cfg.settings != {}) ["SUPERFREQ_CONFIG=${cfgFile}"];
WorkingDirectory = "";