mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Laptop] Add fancontrol if config is set
Will need to find a way to automatically make a fancontrol config
This commit is contained in:
parent
79e389e3e9
commit
981a6d19e2
1 changed files with 4 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ in {
|
|||
pcie_aspm = mkIf cfg.tweaks.pcieAspmForce "force";
|
||||
};
|
||||
|
||||
hardware.fancontrol = {
|
||||
enable = mkIf (! isNull config.hardware.fancontrol.config) true;
|
||||
};
|
||||
|
||||
|
||||
systemd.services.aspm-force-enable = let
|
||||
aspm_enable = pkgs.callPackage ./packages/aspm_enable { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue