I have these lines in configuration:
sound.enable = true;
hardware.pulseaudio.enable = true;
Recently I performed a hard shutdown (pressing and holding the power button) and I think that might have caused this issue. Pulseaudio doesn’t start at boot and audio starts working if I start the server manually. No package management operations were active when I did the hard shutdown. I’m using samsung 970 evo.
How do I diagnose nixos generated audio configuration? How do I discard the cache and completely rebuild the system configuration?
This is the content of /etc/pulse/client.conf
:
autospawn=no
Nixos version:
20.09.2016.19db3e5ea27 (Nightingale)
Full configuration:
https://gist.github.com/fctorial/245c4a8686e08f2f98b8afb7c9fccfe1
The issue is that systemd user process isn’t running:
$ systemctl --user
Failed to list units: Process org.freedesktop.systemd1 exited with status 1
Why is this happening?
a dump of your logs, and output of your systemd status might be handy +
dmesg
might also be handy.
The problem went away after rebooting a couple of times, so dmesg output is probably useless. I’m curious what could’ve caused this issue. These are the journal logs.
https://drive.google.com/file/d/1a-qqL-rioXO-i8SQSmaOdbXEaf2XX5MS/view?usp=sharing
There is a message saying ‘Failed to create listening socket: permission denied’