From f224b243db40b79d8d6bc65916cc7b419c555c12 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Thu, 11 Jun 2020 14:51:35 +0100 Subject: [PATCH] nixos/undervolt: fix up options' descriptions The default `undervolt` package does not accept floating point numbers for any of its numeric arguments. This also mentions in what units are the values expressed. --- nixos/modules/services/hardware/undervolt.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/hardware/undervolt.nix b/nixos/modules/services/hardware/undervolt.nix index 284440975fe3..1e89e74cad08 100644 --- a/nixos/modules/services/hardware/undervolt.nix +++ b/nixos/modules/services/hardware/undervolt.nix @@ -30,7 +30,7 @@ in type = types.nullOr types.str; default = null; description = '' - The amount of voltage to offset the CPU cores by. Accepts a floating point number. + The amount of voltage in mV to offset the CPU cores by. ''; }; @@ -38,7 +38,7 @@ in type = types.nullOr types.str; default = null; description = '' - The amount of voltage to offset the GPU by. Accepts a floating point number. + The amount of voltage in mV to offset the GPU by. ''; }; @@ -46,7 +46,7 @@ in type = types.nullOr types.str; default = null; description = '' - The amount of voltage to offset uncore by. Accepts a floating point number. + The amount of voltage in mV to offset uncore by. ''; }; @@ -54,7 +54,7 @@ in type = types.nullOr types.str; default = null; description = '' - The amount of voltage to offset analogio by. Accepts a floating point number. + The amount of voltage in mV to offset analogio by. ''; }; @@ -62,7 +62,7 @@ in type = types.nullOr types.str; default = null; description = '' - The temperature target. Accepts a floating point number. + The temperature target in Celsius degrees. ''; }; @@ -70,7 +70,7 @@ in type = types.nullOr types.str; default = null; description = '' - The temperature target on AC power. Accepts a floating point number. + The temperature target on AC power in Celsius degrees. ''; }; @@ -78,7 +78,7 @@ in type = types.nullOr types.str; default = null; description = '' - The temperature target on battery power. Accepts a floating point number. + The temperature target on battery power in Celsius degrees. ''; }; };