Updates to config for terra
This commit is contained in:
1 parent
47638d5f8b
commit
b313d7a4f8
1 file changed
+17
@@ -6,5 +6,22 @@
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.extraModulePackages = with pkgs.linuxPackages; [ it87 ];
|
||||
boot.kernelModules = ["coretemp" "it87" "drivetemp"];
|
||||
systemd.services.fancontrol = {
|
||||
enable = true;
|
||||
description = "Fan control";
|
||||
wantedBy = ["multi-user.target" "graphical.target" "rescue.target"];
|
||||
|
||||
unitConfig = {
|
||||
Type = "simple";
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.lm_sensors}/bin/fancontrol";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user