about summary refs log tree commit diff
path: root/modules/nixos/firefox
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/firefox')
-rw-r--r--modules/nixos/firefox/default.nix6
-rw-r--r--modules/nixos/firefox/userContent.css1
2 files changed, 7 insertions, 0 deletions
diff --git a/modules/nixos/firefox/default.nix b/modules/nixos/firefox/default.nix
index e725e95..041752d 100644
--- a/modules/nixos/firefox/default.nix
+++ b/modules/nixos/firefox/default.nix
@@ -11,6 +11,12 @@ in {
   options.nixfiles.modules.firefox.enable = mkEnableOption "Firefox";
 
   config = mkIf cfg.enable {
+    nixfiles.modules.common.xdg.defaultApplications.firefox = [
+      "text/html"
+      "x-scheme-handler/http"
+      "x-scheme-handler/https"
+    ];
+
     hm = {
       imports = [inputs.arkenfox-nixos.hmModules.arkenfox];
 
diff --git a/modules/nixos/firefox/userContent.css b/modules/nixos/firefox/userContent.css
index f5497ab..bb80dbc 100644
--- a/modules/nixos/firefox/userContent.css
+++ b/modules/nixos/firefox/userContent.css
@@ -316,6 +316,7 @@
     #mp-topbanner,
     #siteNotice,
     #siteSub,
+    #wmde-banner-app,
     .mw-footer-container,
     .mw-header,
     .vector-page-toolbar {

Consider giving Nix/NixOS a try! <3