diff options
| author | seth <[email protected]> | 2024-01-10 17:08:39 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2024-01-10 17:28:09 -0500 |
| commit | 428430fd2afc290cbc12731e1dfbd786f37233d9 (patch) | |
| tree | 161faedd8243aeb98f4ae495b8a45ba93cc5175d /users/seth | |
| parent | 3ac4556e7cc8ebf3d9015f2edf5ce0ed4e5f5d05 (diff) | |
seth/chromium: remove hw accel flags, add extensions
hw accel flags are pretty unstable
Diffstat (limited to 'users/seth')
| -rw-r--r-- | users/seth/desktop/gnome/default.nix | 2 | ||||
| -rw-r--r-- | users/seth/programs/chromium.nix | 27 |
2 files changed, 18 insertions, 11 deletions
diff --git a/users/seth/desktop/gnome/default.nix b/users/seth/desktop/gnome/default.nix index c2ba992..4698f88 100644 --- a/users/seth/desktop/gnome/default.nix +++ b/users/seth/desktop/gnome/default.nix @@ -33,7 +33,7 @@ in { ]; favorite-apps = [ - "firefox.desktop" + "chromium-browser.desktop" "org.gnome.Nautilus.desktop" "discord.desktop" ]; diff --git a/users/seth/programs/chromium.nix b/users/seth/programs/chromium.nix index 01a6e0a..8386040 100644 --- a/users/seth/programs/chromium.nix +++ b/users/seth/programs/chromium.nix @@ -1,15 +1,22 @@ -{config, ...}: { +{ + config, + pkgs, + ... +}: { programs.chromium = { inherit (config.desktop) enable; - # hw accel support - commandLineArgs = [ - "--ignore-gpu-blocklist" - "--enable-gpu-rasterization" - "--enable-gpu-compositing" - #"--enable-native-gpu-memory-buffers" - "--enable-zero-copy" - "--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization,RawDraw,Vulkan,WebRTCPipeWireCapturer,WaylandWindowDecorations,WebUIDarkMode" - "--force-dark-mode" + + dictionaries = [pkgs.hunspellDictsChromium.en_US]; + + extensions = [ + # ublock origin + {id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";} + # bitwarden + {id = "nngceckbapebfimnlniiiahkandclblb";} + # floccus bookmark sync + {id = "fnaicdffflnofjppbagibeoednhnbjhg";} + # tabby cat + {id = "mefhakmgclhhfbdadeojlkbllmecialg";} ]; }; } |
