tv pulse: talk about hijacking audio devices

This commit is contained in:
tv 2017-03-06 13:11:21 +01:00
parent ea303cfd55
commit 0953240b83

View File

@ -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 = {