From 0a2987b31f593e49860afeeab7891586aba1469b Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 12 Oct 2023 22:54:05 -0500 Subject: [PATCH] Fan control --- nixos/beefcake/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/nixos/beefcake/default.nix b/nixos/beefcake/default.nix index 773ed3e..0563f92 100644 --- a/nixos/beefcake/default.nix +++ b/nixos/beefcake/default.nix @@ -1,6 +1,12 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page -# and in the NixOS manual (accessible by running 'nixos-help'). +/* +if ur fans get loud: + +# enable manual fan control +sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x01 0x00 + +# set fan speed to last byte as decimal +sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00 +*/ { outputs, modulesPath,