From 26ea3046d9538a0622adcde6ae211ed41ba20892 Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Thu, 29 Oct 2020 17:30:22 +0100
Subject: [PATCH] Add steam user to pulse-access group

---
 layers/steam.nix | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/layers/steam.nix b/layers/steam.nix
index 6e7efcf..7aa4c00 100644
--- a/layers/steam.nix
+++ b/layers/steam.nix
@@ -17,7 +17,11 @@ in
     isNormalUser = true;
     uid = 1100;
     passwordFile = "/etc/secrets/passwords/steam";
-    extraGroups = [ "audio" "input" ];
+    extraGroups = [
+      "audio"
+      "input"
+      "pulse-access"
+    ];
     packages = [
       customSteam
       pkgs.steam-run-native
-- 
GitLab