Closed cideM closed 2 years ago
Delete the symlink from ~/.config/systemd/user
so it gets recreated correctly. Seems flakes (and I think I've heard about home-manager doing this too) have a tendency of not always updating service symlinks in $HOME correctly.
EDIT: as you can see the symlink there refers to a much, much older pipewire version than what your flake should contain.
I deleted the symlinks but they weren't being recreated. I commented out the whole PipeWire part of my configuration but to no avail. In the end I manually ran systemctl --user enable pipewire-media-session
and now it's running and I have sound. Not quite sure if this is some kind of intereference between the older Nixpkgs commit I was using first and what the newer Nixpkgs commit now wants to do, with regards to putting systemd services in the user folder.
I'll close this issue since I also had a crash during an update after which I nuked /nix/var/nix/profiles/per-user/tifa/
so maybe this severed the connection between the symlinks and the Nix store and as such the files were just left in place.
Why I'm unable to convince Nix to recreate the symlinks even through repeated uncommenting and commenting I don't know.
Describe the bug
I'm using a pretty stock configuration for PipeWire, and my NixOS is built from a Flake where Nixpkgs is set to
9cad36c40accad65c59368c6b9d27b3d99268e41
. This includes the most recent PipeWire updates from https://github.com/NixOS/nixpkgs/commit/b65f74fd98b06a84a67b66138d31be8419612c09#diff-6c167307e84d42c088d640f1859ad87e6c8cb15c1ce2353361eac78b5351027eHere's the configuration:
But it seems that the
pipewire-media-service
Systemd service isn't running. I need to run the binary manually to have sound.Notice how the file path for the media session isn't valid.
I have no idea what to do at this point.
Notify maintainers
@jansol
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.