New answers tagged

0

(somewhat tangential answer, but it could be useful in your situation) You can try running ssh via UDP based OpenVPN (if your firewall permits this). This kind of works, though delays when reconnecting are quite large (a minute or so). However, if you are able to use it, try mosh. It has been designed with connection persistence from the very beginning.


1

Connection persistence Having persistent connection requires support on the server side. This is not available in current openssh server(and does not look like it will be). The client part was implemented years ago, the famous UseRoaming feature, that was dropped weeks ago from openssh. The feature never worked and was one big security vulnerability. It ...


1

There is a configuration option services.logind.extraConfig. Open your NixOS configuration file (/etc/nixos/configuration.nix). Assign a string "HandleLidSwitch=ignore" (or whatever you would usually put into /etc/systemd/logind.conf) to that option: services.logind.extraConfig = "HandleLidSwitch=ignore";


2

"Sleep" is defined as ultra-low power usage: All subsystems get turned off and consume extremely little power but can be woken up quite quickly by an external event: lid open, power button, key press, WOL packet, BIOS. So no, your command will not be running in "sleep" mode, but can run in low-power mode: in that mode, your disk turns off if not needed any ...


0

ACPI was indeed the problem. Running my suspend-to-disk script by hand works perfectly. Suspend-to-ram is working better than it was, but still not working entirely correctly. But I'm happy enough with suspend-to-disk.



Top 50 recent answers are included