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. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es> Reviewed-by: Aleix Boné <abonerib@bsc.es>
9 lines
125 B
Nix
9 lines
125 B
Nix
{
|
|
imports = [
|
|
../../module/power-policy.nix
|
|
];
|
|
|
|
# Turn on as soon as we have power
|
|
power.policy = "always-on";
|
|
}
|