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"
|
|
|
|
"--flag-switches-begin"
|
2023-08-23 14:06:38 +03:00
|
|
|
"--enable-webrtc-pipewire-capturer"
|
2023-09-10 21:40:39 +03:00
|
|
|
"--disable-software-rasterizer"
|
|
|
|
"--disable-gpu-driver-workarounds"
|
|
|
|
"--enable-accelerated-video-decode"
|
|
|
|
"--enable-accelerated-mjpeg-decode"
|
|
|
|
"--enable-gpu-compositing"
|
|
|
|
"--enable-oop-rasterization"
|
|
|
|
"--canvas-oop-rasterization"
|
|
|
|
"--enable-raw-draw"
|
|
|
|
"--enable-zero-copy"
|
|
|
|
"--enable-gpu-rasterization"
|
|
|
|
"--enable-zero-copy"
|
|
|
|
"--ignore-gpu-blocklist"
|
|
|
|
"--disable-gpu-driver-bug-workarounds"
|
2022-11-05 23:10:31 +03:00
|
|
|
"--ozone-platform-hint=wayland"
|
2023-09-10 21:40:39 +03:00
|
|
|
"--enable-features=SystemNotifications,WaylandWindowDecorations,WebRTCPipeWireCapturer,EnableDrDc,CanvasOopRasterization,RawDraw,VaapiVideoDecoder,UseSkiaRenderer"
|
2022-11-05 23:10:31 +03:00
|
|
|
"--flag-switches-end"
|
|
|
|
"--disk-cache-dir=\"$XDG_RUNTIME_DIR/chromium-cache\""
|
|
|
|
];
|
|
|
|
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
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|