aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/firefox.nix48
-rw-r--r--modules/zsh.nix2
2 files changed, 26 insertions, 24 deletions
diff --git a/modules/firefox.nix b/modules/firefox.nix
index a9af9dc..7d3dd4d 100644
--- a/modules/firefox.nix
+++ b/modules/firefox.nix
@@ -6,13 +6,31 @@
programs.firefox = {
enable = true;
profiles.default = {
- extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
- ublock-origin
- istilldontcareaboutcookies
- sponsorblock
- decentraleyes
- vimium-c
- ];
+ extensions = {
+ packages = with inputs.firefox-addons.packages.${pkgs.system}; [
+ ublock-origin
+ istilldontcareaboutcookies
+ sponsorblock
+ decentraleyes
+ vimium-c
+ ];
+
+ force = true;
+
+ settings."uBlock0@raymondhill.net".settings = {
+ UserMessaging = {
+ uiTheme = "dark";
+ uiAccentCustom = true;
+ uiAccentCustom0 = "#2C2C2C";
+ cloudStorageEnabled = false;
+ contextMenuEnabled = false;
+ };
+ # Block annoying login with google banner
+ userFilters = ''
+ ||accounts.google.com/gsi/*
+ '';
+ };
+ };
search.engines = {
nix-packages = {
@@ -177,22 +195,6 @@
WhatsNew = false;
};
- "3rdparty".Extensions = {
- "uBlock0@raymondhill.net".adminSettings = {
- userSettings = {
- uiTheme = "dark";
- uiAccentCustom = true;
- uiAccentCustom0 = "#2C2C2C";
- cloudStorageEnabled = false;
- contextMenuEnabled = false;
- };
- # Block annoying login with google banner
- userFilters = ''
- ||accounts.google.com/gsi/*
- '';
- };
- };
-
Preferences = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.toolbars.bookmarks.visibility" = "never";
diff --git a/modules/zsh.nix b/modules/zsh.nix
index 5832f25..c79e460 100644
--- a/modules/zsh.nix
+++ b/modules/zsh.nix
@@ -13,7 +13,7 @@
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
- initExtra = ''
+ initContent = ''
# view man pages with nvim
export MANPAGER="nvim +Man!"