modules: remove deprecated literalExample
This commit is contained in:
parent
6d3581ac49
commit
f5adcca761
@ -7,7 +7,7 @@ with lib;
|
|||||||
cards = mkOption {
|
cards = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [ "card0" ];
|
default = [ "card0" ];
|
||||||
example = literalExample ''[ "card0" ]'';
|
example = [ "card0" "card1" ];
|
||||||
description = ''
|
description = ''
|
||||||
A list of cards to enable fan configuration for. The identifiers for
|
A list of cards to enable fan configuration for. The identifiers for
|
||||||
each device can be found in /sys/class/drm/ as card0, card1, etc.
|
each device can be found in /sys/class/drm/ as card0, card1, etc.
|
||||||
|
@ -33,14 +33,12 @@ in
|
|||||||
[ 75 89 ]
|
[ 75 89 ]
|
||||||
[ 80 100 ]
|
[ 80 100 ]
|
||||||
];
|
];
|
||||||
example = literalExample ''
|
example = [
|
||||||
[
|
|
||||||
[ 0 0 ]
|
[ 0 0 ]
|
||||||
[ 40 30 ]
|
[ 40 30 ]
|
||||||
[ 60 50 ]
|
[ 60 50 ]
|
||||||
[ 80 100 ]
|
[ 80 100 ]
|
||||||
]
|
];
|
||||||
'';
|
|
||||||
description = ''
|
description = ''
|
||||||
A list of temperature-fan speed pairs. The temperature is specified in
|
A list of temperature-fan speed pairs. The temperature is specified in
|
||||||
degrees celcius, and speed is specified in %.
|
degrees celcius, and speed is specified in %.
|
||||||
|
@ -17,17 +17,14 @@ in
|
|||||||
type = types.nullOr types.attrs;
|
type = types.nullOr types.attrs;
|
||||||
default = null;
|
default = null;
|
||||||
description = ''
|
description = ''
|
||||||
Configuration set alternative to
|
Configuration set alternative to <literal>configFile</literal>.
|
||||||
<literalExpression>configFile</literalExpression>.
|
|
||||||
'';
|
'';
|
||||||
example = ''
|
example = {
|
||||||
{
|
|
||||||
global = {
|
global = {
|
||||||
monitor = 0;
|
monitor = 0;
|
||||||
follow = "none";
|
follow = "none";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
configFile = mkOption {
|
configFile = mkOption {
|
||||||
|
Loading…
Reference in New Issue
Block a user