# NetworkManager configuration to disable power management
# Prevents network from sleeping and causing SSH lockout
# Deploy: sudo cp config/networkmanager/99-disable-wifi-powersave.conf /etc/NetworkManager/conf.d/

[connection]
# Keep connections active during system sleep/suspend
connection.autoconnect-slaves=1

[device]
# Disable WiFi power saving to prevent connection drops
wifi.powersave=2

[main]
# Prevent NetworkManager from managing suspend/resume
no-auto-default=*