2022-11-05 23:10:31 +03:00
|
|
|
{config, ...}: {
|
2022-11-18 00:06:43 +03:00
|
|
|
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
|
|
|
|
".config/chromium"
|
|
|
|
".local/share/applications"
|
|
|
|
];
|
2022-11-05 23:10:31 +03:00
|
|
|
programs.chromium = {
|
|
|
|
enable = true;
|
|
|
|
commandLineArgs = [
|
|
|
|
"--ozone-platform-hint=auto"
|
|
|
|
"--enable-features=WaylandWindowDecorations"
|
|
|
|
"--enable-crashpad"
|
|
|
|
"--flag-switches-begin"
|
|
|
|
"--enable-gpu-rasterization"
|
|
|
|
"--enable-unsafe-webgpu"
|
|
|
|
"--enable-zero-copy"
|
|
|
|
"--ignore-gpu-blocklist"
|
|
|
|
"--disable-gpu-driver-bug-workarounds"
|
|
|
|
"--ozone-platform-hint=wayland"
|
|
|
|
"--enable-features=SystemNotifications,WaylandWindowDecorations,CanvasOopRasterization,EnableDrDc,RawDraw,WebRTCPipeWireCapturer"
|
|
|
|
"--disable-features=Vulkan"
|
|
|
|
"--flag-switches-end"
|
|
|
|
"--disk-cache-dir=\"$XDG_RUNTIME_DIR/chromium-cache\""
|
|
|
|
"--process-per-site"
|
|
|
|
];
|
|
|
|
extensions = [
|
|
|
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
|
|
|
|
"nngceckbapebfimnlniiiahkandclblb" # bitwarden
|
|
|
|
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # dark reader
|
|
|
|
"clngdbkpkpeebahjckkjfobafhncgmne" # stylus
|
|
|
|
"hlepfoohegkhhmjieoechaddaejaokhf" # refined github
|
|
|
|
"annfbnbieaamhaimclajlajpijgkdblo" # dark theme
|
2023-02-02 04:53:11 +03:00
|
|
|
"nblkbiljcjfemkfjnhoobnojjgjdmknf" # pronoundb
|
2022-11-05 23:10:31 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|