!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

134 Members
33 Servers

Load older messages


SenderMessageTime
29 Apr 2023
@Minijackson:matrix.orgMinijacksonit seems the pulseaudio socket is not started, if you start it manually, does it fix your issues?14:51:59
@industrial:matrix.orgIndustrial Minijackson: I'm not sure how to do that, but I did try restarting the system and that didn't work. 15:19:10
@Minijackson:matrix.orgMinijackson with systemctl --user start pipewire-pulse.socket 15:19:31
@industrial:matrix.orgIndustrial
Failed to start pipewire-pulse.socket: Unit pipewire-pulse.socket has a bad unit file setting.
See user logs and 'systemctl --user status pipewire-pulse.socket' for details.
15:27:43
@Minijackson:matrix.orgMinijacksonhuh15:28:10
@industrial:matrix.orgIndustrial

Journalctl says

apr 29 17:27:20 drakkar systemd[2057]: pipewire-pulse.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
apr 29 17:28:26 drakkar systemd[2057]: pipewire-pulse.socket: Unit has no Listen setting (ListenStream=, ListenDatagram=, ListenFIFO=, ...). Refusing.
15:29:58
@Minijackson:matrix.orgMinijackson can you run systemctl --user cat pipewire-pulse.socket ? 15:30:19
@industrial:matrix.orgIndustrial

ah, it's empty:

# /etc/systemd/user/pipewire-pulse.socket
[Unit]

[Socket]
15:31:37
@Minijackson:matrix.orgMinijacksonhuh15:31:57
@Minijackson:matrix.orgMinijackson what about realpath /etc/systemd/user/pipewire-pulse.socket? Does the socket comes from the right pipewire package? 15:33:00
@industrial:matrix.orgIndustrial yes, /nix/store/06q4vcxcy113zdqh5jp1ayh3dvn8p497-unit-pipewire-pulse.socket/pipewire-pulse.socket. 15:36:54
@Minijackson:matrix.orgMinijacksonthis looks like a unit generated by NixOS15:37:16
@Minijackson:matrix.orgMinijackson on my system, I have: /nix/store/cg5412y1xdp5nl2sfmh62h5g9hvkibvp-pipewire-0.3.70-pulse/share/systemd/user/pipewire-pulse.socket 15:37:21
@Minijackson:matrix.orgMinijackson which tells me my .socket unit comes directly from the upstream package 15:37:41
@Minijackson:matrix.orgMinijackson do you have any systemd.sockets.pipewire-pulse.<...> option set? 15:38:08
@Minijackson:matrix.orgMinijackson or have you overridden the pipewire package in an overlay? 15:40:35
@industrial:matrix.orgIndustrial

I had a previous installation of nixos and while learning nixos I started to create a flake to manage my system. Unfortunately I left some artifacts on the system state and I couldn't figure out what was wrong so I reinstalled nixos today to have a clean slate.

This is the flake.nix file that I'm using:

https://gist.github.com/Industrial/9646bc7f66d21ae7f78a85bff040cd10

The HomeManager setup does not contain any audio configuration

15:43:14
@industrial:matrix.orgIndustrial(the problem I was having before was not about sound but stuff like yggdrasil service running but not in my config and lots of other quirks)15:43:54
@Minijackson:matrix.orgMinijackson Industrial: ok, so I built the etc directory of your configuration, and I do have ./result/etc/systemd/user/pipewire-pulse.socket -> /nix/store/cg5412y1xdp5nl2sfmh62h5g9hvkibvp-pipewire-0.3.70-pulse/lib/systemd/user/pipewire-pulse.socket 15:57:32
@Minijackson:matrix.orgMinijacksonand the correct content15:57:52
@Minijackson:matrix.orgMinijackson mind showing nix flake metadata of your flake? 15:58:04
@Minijackson:matrix.orgMinijackson(I just commented the import, and the wine package due to compilation)15:58:49
@Minijackson:matrix.orgMinijackson * (I just commented the import, and the wine packages due to compilation)15:58:59
@industrial:matrix.orgIndustrial

@Minijackson thanks for the support/effort :)

warning: Git tree '/home/tom/.dotfiles' is dirty
Resolved URL:  git+file:///home/tom/.dotfiles
Locked URL:    git+file:///home/tom/.dotfiles
Description:   System Flake
Path:          /nix/store/qsnjxr9bf9kki8pd1h8whl8z98i2h406-source
Last modified: 2023-04-23 22:06:25
Inputs:
├───home-manager: github:nix-community/home-manager/3144311f31194b537808ae6848f86f3dbf977d59
│   └───nixpkgs: github:nixos/nixpkgs/645bc49f34fa8eff95479f0345ff57e55b53437e
└───nixpkgs: github:NixOS/nixpkgs/937a9d1ee7b1351d8c55fff6611a8edf6e7c1c37
16:22:57
@Minijackson:matrix.orgMinijacksonsure!16:23:07
@Minijackson:matrix.orgMinijacksonhuh16:23:57
@Minijackson:matrix.orgMinijacksonoh nevermind16:24:25
@Minijackson:matrix.orgMinijacksonsame thing16:24:34
@industrial:matrix.orgIndustrial pipewire-pulse.socket -> /nix/store/cg5412y1xdp5nl2sfmh62h5g9hvkibvp-pipewire-0.3.70-pulse/lib/systemd/user/pipewire-pulse.socket that's in my result 16:24:38
@Minijackson:matrix.orgMinijackson does nixos-rebuild test say something in particular? 16:25:07

Show newer messages


Back to Room ListRoom Version: 9