I would like to my NixOS run these commands after resuming from suspension:
powerManagement.resumeCommands = '' echo "This should show up in the journal after resuming." echo "Connecting to Wifi after resuming." sleep 5 rmmod iwldvm iwlwifi modprobe iwldvm iwlwifi sleep 1 nmcli connection up Redmi echo "end of connecting to Redmi" '';
Does anyone know why this command doesn’t work for me?