42 lines
1.4 KiB
Nix
42 lines
1.4 KiB
Nix
|
{ pkgs, ... }: {
|
||
|
hm = {
|
||
|
programs.chromium = {
|
||
|
enable = true;
|
||
|
package = pkgs.ungoogled-chromium;
|
||
|
commandLineArgs = [
|
||
|
"--enable-features=WebUIDarkMode,OzonePlatform,EncryptedClientHello,TouchpadOverscrollHistoryNavigation,VaapiVideoDecoder,WebAssembly"
|
||
|
"--disable-features=UserAgentClientHint"
|
||
|
"--force-webrtc-ip-handling-policy=default_public_interface_only"
|
||
|
"--force-dark-mode"
|
||
|
"--disable-beforeunload"
|
||
|
"--disable-search-engine-collection"
|
||
|
"--extension-mime-request-handling=download-as-regular-file"
|
||
|
"--disable-top-sites"
|
||
|
"--disable-file-system"
|
||
|
"--disable-default-apps"
|
||
|
"--disable-grease-tls"
|
||
|
"--ozone-platform=wayland"
|
||
|
# ''--js-flags="--jitless"''
|
||
|
''
|
||
|
--user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"''
|
||
|
''
|
||
|
--http-accept-header="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"''
|
||
|
"--fingerprinting-canvas-image-data-noise"
|
||
|
"--fingerprinting-canvas-measuretext-noise"
|
||
|
"--fingerprinting-client-rects-noise"
|
||
|
"--enable-quic"
|
||
|
"--gtk-version=4"
|
||
|
];
|
||
|
# extensions = [
|
||
|
#
|
||
|
# ];
|
||
|
};
|
||
|
};
|
||
|
imp.home.dirs = [ ".config/chromium" ];
|
||
|
|
||
|
nodes.phoenix.hardware.graphics.extraPackages = with pkgs; [
|
||
|
nvidia-vaapi-driver
|
||
|
libvdpau-va-gl
|
||
|
];
|
||
|
}
|