ark/users/modules/chromium/default.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

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"
# "--force-dark-mode"
# "--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-08-23 14:06:38 +03:00
"--enable-features=SystemNotifications,WaylandWindowDecorations,WebRTCPipeWireCapturer"
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
];
};
}