From 5014c0ed2160393fb787b585127bce8f27fda722 Mon Sep 17 00:00:00 2001 From: tilpner Date: Fri, 6 Mar 2020 16:05:01 +0100 Subject: Separate policy into smaller modules --- profiles/noMedia.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 profiles/noMedia.nix (limited to 'profiles/noMedia.nix') diff --git a/profiles/noMedia.nix b/profiles/noMedia.nix new file mode 100644 index 0000000..bd5b856 --- /dev/null +++ b/profiles/noMedia.nix @@ -0,0 +1,12 @@ +{ ffLib }: { + policies = { + Preferences = ffLib.flattenAttrs { + media = { + eme.enabled = false; + gmp-gmpopenh264.enabled = false; + gmp-widevinecdm.enabled = false; + peerconnection.enabled = false; + }; + }; + }; +} -- cgit v1.2.3