From 5023f6642a948625464eea215f3ad09c1e2fc76e Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 7 Feb 2013 06:36:41 +0100 Subject: dnyarri: Add "aszlig" to the audio group. Pulse doesn't seem to get the right permissions to the audio devices. I'm not sure whether this is a multi-seat configuration problem or if the culprit is because synergy doesn't count as a physical pointer in some cases. This needs some research, I think. But maybe it's even a better idea to run pulseaudio as a systemd service, because it's a remote sink for dnyarri as well. Signed-off-by: aszlig --- machines/dnyarri.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'machines/dnyarri.nix') diff --git a/machines/dnyarri.nix b/machines/dnyarri.nix index 6da44406..7e54318c 100644 --- a/machines/dnyarri.nix +++ b/machines/dnyarri.nix @@ -104,6 +104,11 @@ with import ../lib; device = "/dev/shofixti/swap"; }; + # TODO: Try to avoid this, but as there is only a single user using audio on + # this machine, it's okay for now. But remember that this will break heavily, + # should there be another user accessing the audio devices. + users.extraUsers.aszlig.extraGroups = [ "audio" ]; + services.xserver = { videoDrivers = [ "ati" ]; -- cgit 1.4.1