fixed broken chromium

This commit is contained in:
Alexander Szczepanski
2021-08-09 09:07:12 +02:00
parent 1735eb8c31
commit 0957e1903b
3 changed files with 6 additions and 60 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { config, pkgs, ... }:
{ {
@ -122,6 +122,7 @@
google-fonts google-fonts
font-awesome font-awesome
stix-two stix-two
nerdfonts
]; ];
fontconfig = { fontconfig = {
@ -138,44 +139,6 @@
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
nixpkgs.config.chromium.commandLineArgs = "--enable-features=WebUIDarkMode,NativeNotifications,VaapiVideoDecoder --ignore-gpu-blocklist --use-gl=desktop --force-dark-mode --disk-cache-dir=/tmp/cache";
programs.chromium = {
enable = true;
extensions = [
"cbnipbdpgcncaghphljjicfgmkonflee" # Axel Springer Blocker
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock for YouTube
"oboonakemofpalcgghocfoadofidjkkk" # KeePassXC-Browser
"fploionmjgeclbkemipmkogoaohcdbig" # Page load time
"egnjhciaieeiiohknchakcodbpgjnchh" # Tab Wrangler
"fnaicdffflnofjppbagibeoednhnbjhg" # Floccus bookmarks
"mmpokgfcmbkfdeibafoafkiijdbfblfg" # Merge Windows
"gppongmhjkpfnbhagpmjfkannfbllamg" # Wappalyzer
"nljkibfhlpcnanjgbnlnbjecgicbjkge" # DownThemAll!
"lckanjgmijmafbedllaakclkaicjfmnk" # Clearurls
"njdfdhgcmkocbgbhcioffdbicglldapd" # LocalCDN
"jinjaccalgkegednnccohejagnlnfdag" # Violentmonkey
];
extraOpts = {
"BrowserSignin" = 0;
"SyncDisabled" = true;
"PasswordManagerEnabled" = false;
"AutofillAddressEnabled" = true;
"AutofillCreditCardEnabled" = false;
"BuiltInDnsClientEnabled" = false;
"MetricsReportingEnabled" = true;
"SearchSuggestEnabled" = false;
"AlternateErrorPagesEnabled" = false;
"UrlKeyedAnonymizedDataCollectionEnabled" = false;
"SpellcheckEnabled" = true;
"SpellcheckLanguage" = [
"de"
"en-US"
];
"CloudPrintSubmitEnabled" = false;
};
};
services = { services = {
blueman.enable = true; blueman.enable = true;
udev.packages = with pkgs; [ gnome.gnome-settings-daemon ]; udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];

View File

@ -67,23 +67,8 @@
kitty = { kitty = {
enable = true; enable = true;
extraConfig = '' extraConfig = ''
enabled_layouts splits:split_axis=vertical
enable_audio_bell false enable_audio_bell false
map F5 launch --location=hsplit
map F6 launch --location=vsplit
map F7 layout_action rotate
map shift+up move_window up
map shift+left move_window left
map shift+right move_window right
map shift+down move_window down
map ctrl+left neighboring_window left
map ctrl+right neighboring_window right
map ctrl+up neighboring_window up
map ctrl+down neighboring_window down
background #000000 background #000000
foreground #e9e9e9 foreground #e9e9e9
cursor #e9e9e9 cursor #e9e9e9
@ -216,10 +201,10 @@
}; };
}; };
gnome-keyring = { # gnome-keyring = {
enable = true; # enable = true;
components = [ "pkcs11" "secrets" "ssh" ]; # components = [ "pkcs11" "secrets" "ssh" ];
}; # };
}; };
# manuals not needed # manuals not needed

View File

@ -111,8 +111,6 @@
"-g C" = "| wc -l"; "-g C" = "| wc -l";
"-g G" = "| grep --ignore-case"; "-g G" = "| grep --ignore-case";
bat = "upower -i /org/freedesktop/UPower/devices/battery_BAT0"; bat = "upower -i /org/freedesktop/UPower/devices/battery_BAT0";
# activate-smb="sc-start smb && sc-start nmb"
# stop-smb="sc-stop smb && sc-stop nmb"
brightness-max = "echo 4794 | sudo tee /sys/class/backlight/intel_backlight/brightness"; brightness-max = "echo 4794 | sudo tee /sys/class/backlight/intel_backlight/brightness";
brightness-power-save = "echo 2300 | sudo tee /sys/class/backlight/intel_backlight/brightness"; brightness-power-save = "echo 2300 | sudo tee /sys/class/backlight/intel_backlight/brightness";
ff = "find . -type f -iname"; ff = "find . -type f -iname";