mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-28 19:23:48 +01:00
d2fe48e8d2
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.
19 lines
374 B
Nix
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"
|
|
];
|
|
};
|
|
}
|