From 0601360c183a064732bcaa4d0d0a75c6a635bcfb Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 4 Jul 2021 15:52:33 +0200 Subject: dnyarri: Remove the main user from the audio group The user shouldn't have direct access to the /dev/snd/* but go through things such as pulseaudio or pipewire. I added the user to that group back then as a workaround to quickly get something[TM] working, but nowadays it's not needed anymore. Signed-off-by: aszlig --- machines/aszlig/dnyarri.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'machines') diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix index e395e387..97f2c73c 100644 --- a/machines/aszlig/dnyarri.nix +++ b/machines/aszlig/dnyarri.nix @@ -84,13 +84,7 @@ in { device = "/dev/mapper/${name}"; }) cryptDevices.swap; - users.users.aszlig.extraGroups = [ - "scanner" - # 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. - "audio" - ]; + users.users.aszlig.extraGroups = [ "scanner" ]; services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.xrandrHeads = [ "DisplayPort-0" "DisplayPort-1" ]; -- cgit 1.4.1