Apparently, if I create a new gnome user account, sound is working properly there. Maybe because I was using --user
flag in all my systemctl commands that I executed, rest of my users survived. Is there a way to restore state from them?
Currently if I try to run systemctl with user flag, I get following error
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
From stackoverflow, I exported the globals as followed
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
export XDG_RUNTIME_DIR="/run/user/$UID"
and then tried to run it, I even included the --global flag, while I didn't get errors , I was not able to restore my audio in my user account.