Updates to config for terra

This commit is contained in:
ari committed 2024-07-31 12:07:00 -04:00
1 parent 47638d5f8b
commit b313d7a4f8
1 file changed
+17
+17
View File
@@ -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";
};
};
}