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:
parent
1eeb6d2d90
commit
47f5703402
1 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,13 @@ in {
|
||||||
|
|
||||||
systemd.services.superfreq = {
|
systemd.services.superfreq = {
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
|
conflicts = [
|
||||||
|
"auto-cpufreq.service"
|
||||||
|
"power-profiles-daemon.service"
|
||||||
|
"tlp.service"
|
||||||
|
"cpupower-gui.service"
|
||||||
|
"thermald.service"
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Environment = optional (cfg.settings != {}) ["SUPERFREQ_CONFIG=${cfgFile}"];
|
Environment = optional (cfg.settings != {}) ["SUPERFREQ_CONFIG=${cfgFile}"];
|
||||||
WorkingDirectory = "";
|
WorkingDirectory = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue