summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-03-06 13:11:21 +0100
committertv <tv@krebsco.de>2017-03-06 13:12:32 +0100
commitf927ed394ce174587a29c58eba0dfa81a5ddafa8 (patch)
tree0d01ea4aa73309b6ad8b8cac8b61beeca3683e60 /tv
parent515c345cf4d058b49a871f7bf50be736608816f3 (diff)
tv pulse: talk about hijacking audio devices
Diffstat (limited to 'tv')
-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 = {