I just want ALSA on my computers, no PulseAudio (thus no pavucontrol). It’s alright with me, but not that simple for my family to basically change the master level – I have to admit that launching a terminal and starting alsamixer is not user friendly ^^’!
I’ve searched the NixOS manual, but I don’t see how to just do this – do I have to write a custom systemd service? Is it simple to do? Or maybe that’s just a cron job?
Any idea on the best way to do this?
Thanks for reading and all the best,
systemd.user.services.pnmixer = {
enable = true;
description = "ALSA volume mixer for the system tray";
serviceConfig = {
ExecStart = "${pkgs.pnmixer}/bin/pnmixer";
};
wantedBy = ["multi-user.target"];
};
System is compiling but pnmixer doesn’t launch at startup.
Then I tried to pinpoint one of the latest services via systemctl and to try to launch pnmixer after – I added:
after = ["user@1000.service"];
Still compiling, still nothing .
BTW, I also tried with systemd.services.pnmixer instead of the user version.
No idea how to do this?