Chromium: Difference between revisions
Add a workaround to make Chromium work with custom system-wide memory allocator. |
add guide to enable manivest v2 support |
||
| Line 42: | Line 42: | ||
You can turn on native Wayland support in all chrome and most electron apps by setting an environment variable: <code>environment.sessionVariables.NIXOS_OZONE_WL = "1"</code>. | You can turn on native Wayland support in all chrome and most electron apps by setting an environment variable: <code>environment.sessionVariables.NIXOS_OZONE_WL = "1"</code>. | ||
== Enabling ManifestV2 support == | |||
To enable manifest v2 support <code>ExtensionManifestV2Availability</code> can be set to <code>2</code>.<ref>https://chromeenterprise.google/policies/#ExtensionManifestV2Availability</ref>{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ | |||
programs.chromium = { | |||
extraOpts = { | |||
"ExtensionManifestV2Availability" = 2; | |||
}; | |||
}; | |||
} | |||
</nowiki>}} | |||
== Enabling DRM (Widevine support) == | == Enabling DRM (Widevine support) == | ||