nix-config/home/chromium.nix
Donovan Glover d2fe48e8d2
chromium: Set webrtc-ip-handling-policy to public interface
Seems to fix an issue where WebRTC was previously broken in
ungoogled-chromium. Note that `default_public_interface_only`
is used instead of `default` to prevent local IP address leaks.
2024-07-21 13:54:18 -04:00

19 lines
374 B
Nix

{ pkgs, ... }:
let
inherit (pkgs) ungoogled-chromium;
in
{
programs.chromium = {
enable = true;
package = ungoogled-chromium;
commandLineArgs = [
"--ozone-platform=wayland"
"--enable-wayland-ime"
"--extension-mime-request-handling=always-prompt-for-install"
"--webrtc-ip-handling-policy=default_public_interface_only"
];
};
}