fw-fanctrl: set default strategies (#426756)
This commit is contained in:
@@ -48,12 +48,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
strategies = lib.mkOption {
|
strategies = lib.mkOption {
|
||||||
default = null;
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Additional strategies which can be used by fw-fanctrl
|
Additional strategies which can be used by fw-fanctrl
|
||||||
'';
|
'';
|
||||||
type = lib.types.nullOr (
|
type = lib.types.attrsOf (
|
||||||
lib.types.attrsOf (
|
|
||||||
lib.types.submodule {
|
lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
fanSpeedUpdateFrequency = lib.mkOption {
|
fanSpeedUpdateFrequency = lib.mkOption {
|
||||||
@@ -92,7 +91,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
)
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user