From 4af279ff01198c486608d1f61f7fa730d198d64f Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 28 Jul 2024 14:30:31 +0200 Subject: [PATCH] Update audio+video group to be enabled for wayland desktops. --- config/users.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/users.nix b/config/users.nix index a99d11c..5db84b4 100644 --- a/config/users.nix +++ b/config/users.nix @@ -31,7 +31,7 @@ with lib; let group = user.name; extraGroups = ["audio" "wheel" "network"] - ++ (optionals cfg.xserver.enable ["input" "video"]) + ++ (optionals (lib.elem "desktop" config.machine.services) ["input" "video"]) ++ (optionals cfg.printing.enable ["cups" "lp"]) ++ (optional (withDocker && !withPodman) "docker") ++ (optional withPodman "podman");