summaryrefslogtreecommitdiffstats
path: root/tv/2configs/pulse.nix
diff options
context:
space:
mode:
authornin <nineinchnade@gmail.com>2017-03-07 16:27:15 +0100
committernin <nineinchnade@gmail.com>2017-03-07 16:27:15 +0100
commit32e1764b1972ee109ec3687dfec8645f365de9ea (patch)
tree6fd254345fb0378fabbfd74c79ab578c17bbfc94 /tv/2configs/pulse.nix
parente4f43d0732b30381f8c92854fc603329b27084ca (diff)
parentaf162549b12cc7b1f496b2d4d8fe99c9dab85428 (diff)
Merge remote-tracking branch 'prism/newest'
Diffstat (limited to 'tv/2configs/pulse.nix')
-rw-r--r--tv/2configs/pulse.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tv/2configs/pulse.nix b/tv/2configs/pulse.nix
index 2a3b5cb..4185512 100644
--- a/tv/2configs/pulse.nix
+++ b/tv/2configs/pulse.nix
@@ -76,6 +76,9 @@ in
};
};
+ # TODO assert that pulse is the only user with "audio" in group/extraGroups
+ # otherwise the audio device can be hijacked while the pulse service restarts
+ # (e.g. when mpv is running) and then the service will fail.
users = {
groups.pulse.gid = config.users.users.pulse.uid;
users.pulse = {