Add variables for thermal monitoring on waybar
This commit is contained in:
parent
51142c3af0
commit
de6fb52e25
2 changed files with 71 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue