From 38e2a9056ff29fe777e78a81184398345e1fd9e6 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sat, 5 Nov 2022 15:50:49 +0100 Subject: [PATCH] disable firefox settings --- modules/programs/firefox.nix | 288 +++++++++++++++++------------------ 1 file changed, 143 insertions(+), 145 deletions(-) diff --git a/modules/programs/firefox.nix b/modules/programs/firefox.nix index 0e7c302..4efb3b1 100644 --- a/modules/programs/firefox.nix +++ b/modules/programs/firefox.nix @@ -18,151 +18,149 @@ ExtensionSettings = {}; }; }; - profiles.kabbone = { - #id = 271987; - name = "kabbone"; - isDefault = true; - settings = { - "media.ffmpeg.vaapi.enabled" = true; - "gfx.webrender.all" = true; - "browser.contentblocking.category" = "strict"; - "browser.search.region" = "DE"; - "extensions.active.ThemeID" = "dreamer-bold-colorway@mozilla.org"; - "media.autoplay.default" = 0; - "security.enterprise_roots.enabled" = true; - "widget.gtk.overlay-scrollbars.enabled" = true; - "signon.rememberSignons" = false; - "extensions.formautofill.creditCards.enabled" = false; - "datareporting.healthreport.uploadEnabled" = false; - "browser.urlbar.placeholderName" = "DuckDuckGo"; - "browser.urlbar.placeholderName.private" = "DuckDuckGo"; - "browser.theme.toolbar-theme" = 0; - }; - - userChrome = '' - /* Hide tab bar in FF Quantum */ - @-moz-document url("chrome://browser/content/browser.xul") { - #TabsToolbar { - visibility: collapse !important; - margin-bottom: 21px !important; - } - - #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { - visibility: collapse !important; - } - } - ''; - - search = { - engines = { - "Nix Packages" = { - urls = [{ - template = "https://search.nixos.org/packages"; - params = [ - { name = "type"; value = "packages"; } - { name = "query"; value = "{searchTerms}"; } - ]; - }]; - - icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; - definedAliases = [ "@np" ]; - }; - - "NixOS Wiki" = { - urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; - iconUpdateURL = "https://nixos.wiki/favicon.png"; - updateInterval = 24 * 60 * 60 * 1000; # every day - definedAliases = [ "@nw" ]; - }; - }; - - order = [ "DuckDuckGo" ]; - default = "DuckDuckGo"; - }; - - bookmarks = [ - { - name = "Kabtop Nextcloud"; - url = "https://cloud.kabtop.de/"; - } - { - name = "Home Assistant"; - url = "https://hass.home.opel-online.de/"; - } - { - name = "Netflix"; - url = "https://netflix.com/browse"; - } - { - name = "YouTube"; - url = "https://youtube.com/"; - } - { - name = "Kicker"; - url = "https://kicker.de/"; - } - { - name = "Chilloutzone"; - url = "https://chilloutzone.net/"; - } - { - name = "myDealZ"; - url = "https://mydealz.de/"; - } - { - name = "Kabtop Git"; - url = "https://git.kabtop.de/"; - } - { - name = "Spotify"; - url = "https://open.spotify.com/"; - } - { - name = "Tech"; - bookmarks = [ - { - name = "Golem"; - url = "https://golem.de/"; - } - { - name = "Heise"; - url = "https://heise.de/"; - } - { - name = "Phoronix"; - url = "https://phoronix.com/"; - } - ]; - } - { - name = "Foren"; - bookmarks = [ - { - name = "Archlinux-en"; - url = "https://archlinux.org/"; - } - { - name = "Archlinux-ARM"; - url = "https://archlinuxarm.org/"; - } - { - name = "Archlinux-de"; - url = "https://archlinux.de/"; - } - ]; - } - ]; - }; - - extensions = with pkgs.nur.repos.rycee.firefox-addons; [ - h264ify - honey - keepassxc-browser - multi-account-containers - netflix-1080p - ublock-origin - sidebery - ]; +# profiles.kabbone = { +# #id = 271987; +# name = "kabbone"; +# isDefault = true; +# settings = { +# "media.ffmpeg.vaapi.enabled" = true; +# "gfx.webrender.all" = true; +# "browser.contentblocking.category" = "strict"; +# "browser.search.region" = "DE"; +# "extensions.active.ThemeID" = "dreamer-bold-colorway@mozilla.org"; +# "media.autoplay.default" = 0; +# "security.enterprise_roots.enabled" = true; +# "widget.gtk.overlay-scrollbars.enabled" = true; +# "signon.rememberSignons" = false; +# "extensions.formautofill.creditCards.enabled" = false; +# "datareporting.healthreport.uploadEnabled" = false; +# "browser.urlbar.placeholderName" = "DuckDuckGo"; +# "browser.urlbar.placeholderName.private" = "DuckDuckGo"; +# "browser.theme.toolbar-theme" = 0; +# }; +# +# userChrome = '' +# /* Hide tab bar in FF Quantum */ +# @-moz-document url("chrome://browser/content/browser.xul") { +# #TabsToolbar { +# visibility: collapse !important; +# margin-bottom: 21px !important; +# } +# +# #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { +# visibility: collapse !important; +# } +# } +# ''; +# +# search = { +# engines = { +# "Nix Packages" = { +# urls = [{ +# template = "https://search.nixos.org/packages"; +# params = [ +# { name = "type"; value = "packages"; } +# { name = "query"; value = "{searchTerms}"; } +# ]; +# }]; +# +# icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg"; +# definedAliases = [ "@np" ]; +# }; +# +# "NixOS Wiki" = { +# urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }]; +# iconUpdateURL = "https://nixos.wiki/favicon.png"; +# updateInterval = 24 * 60 * 60 * 1000; # every day +# definedAliases = [ "@nw" ]; +# }; +# }; +# +# order = [ "DuckDuckGo" ]; +# default = "DuckDuckGo"; +# }; +# +# bookmarks = [ +# { +# name = "Kabtop Nextcloud"; +# url = "https://cloud.kabtop.de/"; +# } +# { +# name = "Home Assistant"; +# url = "https://hass.home.opel-online.de/"; +# } +# { +# name = "Netflix"; +# url = "https://netflix.com/browse"; +# } +# { +# name = "YouTube"; +# url = "https://youtube.com/"; +# } +# { +# name = "Kicker"; +# url = "https://kicker.de/"; +# } +# { +# name = "Chilloutzone"; +# url = "https://chilloutzone.net/"; +# } +# { +# name = "myDealZ"; +# url = "https://mydealz.de/"; +# } +# { +# name = "Kabtop Git"; +# url = "https://git.kabtop.de/"; +# } +# { +# name = "Spotify"; +# url = "https://open.spotify.com/"; +# } +# { +# name = "Tech"; +# bookmarks = [ +# { +# name = "Golem"; +# url = "https://golem.de/"; +# } +# { +# name = "Heise"; +# url = "https://heise.de/"; +# } +# { +# name = "Phoronix"; +# url = "https://phoronix.com/"; +# } +# ]; +# } +# { +# name = "Foren"; +# bookmarks = [ +# { +# name = "Archlinux-en"; +# url = "https://archlinux.org/"; +# } +# { +# name = "Archlinux-ARM"; +# url = "https://archlinuxarm.org/"; +# } +# { +# name = "Archlinux-de"; +# url = "https://archlinux.de/"; +# } +# ]; +# } +# ]; +# }; +# +# extensions = with pkgs.nur.repos.rycee.firefox-addons; [ +# honey +# keepassxc-browser +# multi-account-containers +# netflix-1080p +# ublock-origin +# ]; }; }; }