When on unstable branch, and services.logind.lidSwitchExternalPower = "ignore" is set, closing the laptop lid will trigger the default behaviour. In my case the result was that the computer disconnects from the network, such that it can no longer be controlled from SSH and instead requires manual intervention.
Steps To Reproduce
Steps to reproduce the behavior:
With laptop lid closed, and connected over SSH, start on stable, install unstable branch with services.logind.lidSwitchExternalPower = "ignore" in configuration.nix
Rebuild, and notice that the computer still works
Reboot
SSH connection doesn't reopen, and can now only be accessed while the laptop lid is open
Expected behavior
lidSwitch options will operate as described in the docs. That is, the laptop will not hibernate when closed, and will still be accessible over ssh.
Additional context
Resetting back to stable branch fixes the problem.
Haven't tried 52ec9ac3b123 yet but works for me with 1d9c2c9b3e71b9ee663d11c5d298727dace8d374 and services.logind.lidSwitch. Not using SSH though, and not rebooting with the lid closed.
Describe the bug
When on unstable branch, and
services.logind.lidSwitchExternalPower = "ignore"
is set, closing the laptop lid will trigger the default behaviour. In my case the result was that the computer disconnects from the network, such that it can no longer be controlled from SSH and instead requires manual intervention.Steps To Reproduce
Steps to reproduce the behavior:
services.logind.lidSwitchExternalPower = "ignore"
in configuration.nixExpected behavior
lidSwitch options will operate as described in the docs. That is, the laptop will not hibernate when closed, and will still be accessible over ssh.
Additional context
Resetting back to stable branch fixes the problem.
Notify maintainers
@nh2
Metadata
Add a :+1: reaction to issues you find important.