Files
dotfiles/config/nix/common/firefox.nix
2024-03-01 02:06:15 +05:30

26 lines
732 B
Nix

{ device, pkgs, nur, ... }: {
programs.firefox = {
enable = false;
# enable = device.isLinux;
profiles.default = {
userChrome = let
csshacks = pkgs.fetchFromGitHub {
owner = "MrOtherGuy";
repo = "firefox-csshacks";
rev = "master";
sha256 = "sha256-r5CKOOcRWZQzYA9M6j7m2CAulOQItCuWsTSNGOYN87w=";
};
in ''
@import url(${csshacks}/chrome/tabs_on_bottom.css);
@import url(${csshacks}/chrome/toolbars_below_content.css);
'';
# extensions = with nur.repos.rycee.firefox-addons; [
# privacy-badger
# ublock-origin
# bitwarden
# ];
};
nativeMessagingHosts = [ pkgs.tridactyl-native ];
};
}