about summary refs log tree commit diff
path: root/machines/dnyarri.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-02-07 06:36:41 +0100
committeraszlig <aszlig@redmoonstudios.org>2013-02-07 06:43:51 +0100
commit5023f6642a948625464eea215f3ad09c1e2fc76e (patch)
tree8e6e1d78a457947a5290de1c40d83108672871f4 /machines/dnyarri.nix
parent28652250e4519db8b82f9ed952156999b73357f6 (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/dnyarri.nix')
-rw-r--r--machines/dnyarri.nix5
1 files changed, 5 insertions, 0 deletions
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" ];