Files
jungle/m/common/base/always-power-on.nix
Rodrigo Arias Mallo e3ae73092f Set power policy to always turn on
In all machines, as soon as we recover the power, turn the machine back
on. We cannot rely on the previous state as we will shut them down
before the power is cut to prevent damage on the power supply
monitoring circuit.
2025-07-23 15:25:47 +02:00

9 lines
125 B
Nix

{
imports = [
../../module/power-policy.nix
];
# Turn on as soon as we have power
power.policy = "always-on";
}