diff options
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/noMedia.nix | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/profiles/noMedia.nix b/profiles/noMedia.nix index bd5b856..32c960a 100644 --- a/profiles/noMedia.nix +++ b/profiles/noMedia.nix @@ -1,11 +1,25 @@ { ffLib }: { + meta.description = '' + This assumes a deployment where video consumption does not occur often. + It disables DRM and other encrypted media, as well as autoplay. + ''; + policies = { Preferences = ffLib.flattenAttrs { media = { eme.enabled = false; - gmp-gmpopenh264.enabled = false; + gmp-gmpopenh264 = { + enabled = false; + autoupdate = false; + }; gmp-widevinecdm.enabled = false; peerconnection.enabled = false; + + autoplay = { + default = 1; + enabled.user-gestures-needed = true; + allow-muted = false; + }; }; }; }; |