Update audio+video group to be enabled for wayland desktops.

This commit is contained in:
Kevin Baensch 2024-07-28 14:30:31 +02:00
parent ee71c6292e
commit 4af279ff01
Signed by: derped
GPG key ID: C0F1D326C7626543

View file

@ -31,7 +31,7 @@ with lib; let
group = user.name; group = user.name;
extraGroups = extraGroups =
["audio" "wheel" "network"] ["audio" "wheel" "network"]
++ (optionals cfg.xserver.enable ["input" "video"]) ++ (optionals (lib.elem "desktop" config.machine.services) ["input" "video"])
++ (optionals cfg.printing.enable ["cups" "lp"]) ++ (optionals cfg.printing.enable ["cups" "lp"])
++ (optional (withDocker && !withPodman) "docker") ++ (optional (withDocker && !withPodman) "docker")
++ (optional withPodman "podman"); ++ (optional withPodman "podman");