updated chromium and video configs

This commit is contained in:
Thilo Billerbeck 2023-11-14 02:40:28 +01:00
parent 6e3bc28d9a
commit 0b15336c4c
4 changed files with 32 additions and 6 deletions
home-manager/programs

View file

@ -1,4 +1,4 @@
{ pkgs, ...}:
{ pkgs, ... }:
let
chromium_extension = [
@ -7,17 +7,33 @@ let
"dnhpnfgdlenaccegplpojghhmaamnnfp" # Augmented Steam
"mdjildafknihdffpkfmmpnpoiajfjnjd" # Consent-O-Matic
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # Dark Reader
"ponfpcnoihfmfllpaingbgckeeldkhle" # Youtube Enhancer
"mnjggcdmjocbbbhaepdhchncahnbgone" # Sponsor Block
"epocinhmkcnjfjobnglchpbncndobblj" # Mastodon Gaze
"blipmdconlkpinefehnmjammfjpmpbjk" # Lighthouse
"ggijpepdpiehgbiknmfpfbhcalffjlbj" # Open in mpv
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock Origin
"gbmdgpbipfallnflgajpaliibnhdgobh" # JSON Viewer
"nhdogjmejiglipccpnnnanhbledajbpd" # Vue Devtools
"blipmdconlkpinefehnmjammfjpmpbjk" # Lighthouse
"fmkadmapgofadopljbjfkapdkoienihi" # React Devtools
"bmnlcjabgnpnenekpadlanbbkooimhnj" # Honey
"kbfnbcaeplbcioakkpcpgfkobkghlhen" # Grammarly
];
in
{
programs.chromium = {
enable = true;
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
commandLineArgs = [
"--ignore-gpu-blocklist"
"--enable-gpu-rasterization"
"--enable-zero-copy"
"--enable-features=VaapiVideoDecoder,VaapiVideoEncoder,WebRTCPipeWireCapturer"
"--disable-features=UseChromeOSDirectVideoDecoder"
"--use-vulkan"
"--ozone-platform-hint=auto"
"--enable-hardware-overlays"
];
extensions = map
(eid: {
id = eid;