From 5da01d688fcfd4d1956197f7b7f9372e88687d05 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 4 Nov 2023 16:52:03 +0300 Subject: 2023-11-04 --- modules/nixos/firefox/default.nix | 6 ++++++ modules/nixos/firefox/userContent.css | 1 + 2 files changed, 7 insertions(+) (limited to 'modules/nixos/firefox') 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 { -- cgit 1.4.1