Add variables for thermal monitoring on waybar

This commit is contained in:
Yorick Barbanneau 2024-02-19 00:16:54 +01:00
parent 51142c3af0
commit de6fb52e25
2 changed files with 71 additions and 7 deletions

View file

@ -12,6 +12,43 @@ in
default = false;
description = "configure laptop mode";
};
waybar = {
laptop = mkOption {
type = types.bool;
default = false;
description = "Enable laptop element on Waybar";
};
cpuThermal = {
hwmonPathAbs = mkOption {
type = types.str;
default = "";
description = "CPU thermal hwmon absolute path";
};
inputFilename = mkOption {
type = types.str;
default = "";
description = "CPU thermal hwmon file";
};
};
gpuThermal = {
enable = mkOption {
type = types.bool;
default = false;
description = "enable waybar GPU temperature";
};
hmonPath = mkOption {
type = types.str;
default = "";
description = "Thermal zone for CPU";
};
};
};
};
imports = [
./includes/fuzzel.nix