|
|
|
@ -12,7 +12,13 @@ in { |
|
|
|
|
config = mkIf cfg.enable { |
|
|
|
|
environment.systemPackages = [ pkgs.auto-cpufreq ]; |
|
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.auto-cpufreq ]; |
|
|
|
|
systemd.services.auto-cpufreq.path = with pkgs; [ bash coreutils ]; |
|
|
|
|
systemd = { |
|
|
|
|
packages = [ pkgs.auto-cpufreq ]; |
|
|
|
|
services.auto-cpufreq = { |
|
|
|
|
# Workaround for https://github.com/NixOS/nixpkgs/issues/81138 |
|
|
|
|
wantedBy = [ "multi-user.target" ]; |
|
|
|
|
path = with pkgs; [ bash coreutils ]; |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|