mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-01 21:43:31 +01:00
fix(raspberry-pi): Explicitly convert integers to strings
This commit is contained in:
1 parent
f4c4c2c0c9
commit
4593bb129d
2 files changed
+16
-16
No files matched your search
@@ -102,23 +102,23 @@ in
|
|||||||
target = <&thermal_trips>;
|
target = <&thermal_trips>;
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
trip0: trip0 {
|
trip0: trip0 {
|
||||||
temperature = <${cfg.fan.temperature0}>;
|
temperature = <${toString cfg.fan.temperature0}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis0}>;
|
hysteresis = <${toString cfg.fan.hysteresis0}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
trip1: trip1 {
|
trip1: trip1 {
|
||||||
temperature = <${cfg.fan.temperature1}>;
|
temperature = <${toString cfg.fan.temperature1}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis1}>;
|
hysteresis = <${toString cfg.fan.hysteresis1}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
trip2: trip2 {
|
trip2: trip2 {
|
||||||
temperature = <${cfg.fan.temperature2}>;
|
temperature = <${toString cfg.fan.temperature2}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis2}>;
|
hysteresis = <${toString cfg.fan.hysteresis2}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
trip3: trip3 {
|
trip3: trip3 {
|
||||||
temperature = <${cfg.fan.temperature3}>;
|
temperature = <${toString cfg.fan.temperature3}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis3}>;
|
hysteresis = <${toString cfg.fan.hysteresis3}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -104,23 +104,23 @@ in
|
|||||||
target = <&thermal_trips>;
|
target = <&thermal_trips>;
|
||||||
__overlay__ {
|
__overlay__ {
|
||||||
trip0: trip0 {
|
trip0: trip0 {
|
||||||
temperature = <${cfg.fan.temperature0}>;
|
temperature = <${toString cfg.fan.temperature0}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis0}>;
|
hysteresis = <${toString cfg.fan.hysteresis0}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
trip1: trip1 {
|
trip1: trip1 {
|
||||||
temperature = <${cfg.fan.temperature1}>;
|
temperature = <${toString cfg.fan.temperature1}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis1}>;
|
hysteresis = <${toString cfg.fan.hysteresis1}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
trip2: trip2 {
|
trip2: trip2 {
|
||||||
temperature = <${cfg.fan.temperature2}>;
|
temperature = <${toString cfg.fan.temperature2}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis2}>;
|
hysteresis = <${toString cfg.fan.hysteresis2}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
trip3: trip3 {
|
trip3: trip3 {
|
||||||
temperature = <${cfg.fan.temperature3}>;
|
temperature = <${toString cfg.fan.temperature3}>;
|
||||||
hysteresis = <${cfg.fan.hysteresis3}>;
|
hysteresis = <${toString cfg.fan.hysteresis3}>;
|
||||||
type = "active";
|
type = "active";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user