align hardware.nix
This commit is contained in:
parent
21dd10134e
commit
6af3d8c004
|
@ -4,6 +4,7 @@
|
|||
../../overlays
|
||||
../../modules/base
|
||||
../../modules/desktop
|
||||
./fan.nix
|
||||
./fish.nix
|
||||
./git.nix
|
||||
./hosts.nix
|
||||
|
|
18
hosts/mu/fan.nix
Normal file
18
hosts/mu/fan.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }: {
|
||||
# Disable jet engine
|
||||
services.thinkfan = {
|
||||
enable = true;
|
||||
levels = [
|
||||
[ 0 0 70 ]
|
||||
[ 1 65 75 ]
|
||||
[ 2 70 80 ]
|
||||
[ 3 75 85 ]
|
||||
[ 6 80 90 ]
|
||||
[ 7 90 95 ]
|
||||
[ "level auto" 95 32767 ]
|
||||
];
|
||||
};
|
||||
boot.extraModprobeConfig = ''
|
||||
options thinkpad_acpi fan_control=1 experimental=1
|
||||
'';
|
||||
}
|
|
@ -38,21 +38,4 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
# Disable jet engine
|
||||
services.thinkfan = {
|
||||
enable = true;
|
||||
levels = [
|
||||
[ 0 0 70 ]
|
||||
[ 1 65 75 ]
|
||||
[ 2 70 80 ]
|
||||
[ 3 75 85 ]
|
||||
[ 6 80 90 ]
|
||||
[ 7 90 95 ]
|
||||
[ "level auto" 95 32767 ]
|
||||
];
|
||||
};
|
||||
boot.extraModprobeConfig = ''
|
||||
options thinkpad_acpi fan_control=1 experimental=1
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue