summaryrefslogtreecommitdiffstats
path: root/modules/web/firefox
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-01-07 12:00:08 -0500
committerJon Santmyer <jon@jonsantmyer.com>2024-01-07 12:00:08 -0500
commit7b79203f54853733d4fae88943829d0e24e6e49f (patch)
treea352d199fad7453332b9308a6295164157729f27 /modules/web/firefox
parent184bd30bcb303104a4981ac742d8f8961c5477e7 (diff)
downloadnix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.gz
nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.tar.bz2
nix-config-7b79203f54853733d4fae88943829d0e24e6e49f.zip
massive overhaul
Diffstat (limited to 'modules/web/firefox')
-rw-r--r--modules/web/firefox/default.nix52
1 files changed, 0 insertions, 52 deletions
diff --git a/modules/web/firefox/default.nix b/modules/web/firefox/default.nix
deleted file mode 100644
index 0a01090..0000000
--- a/modules/web/firefox/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ config, lib, pkgs, user, ... }:
-with lib;
-let
- arkenfox = {
- owner = "arkenfox";
- repo = "user.js";
- version = "117.0";
- };
-in
-{
- config.home-manager.users.${user} = mkIf (config.xserver.enable) {
- programs.firefox = {
- enable = true;
-
- profiles."default" = {
- extensions = with pkgs.nur.repos.rycee.firefox-addons; [
- ublock-origin
- multi-account-containers
- ];
- extraConfig = builtins.readFile
- ( builtins.fetchTarball {
- url = "https://github.com/${arkenfox.owner}/${arkenfox.repo}/archive/refs/tags/${arkenfox.version}.tar.gz";
- sha256="1pll4fbdn2390n05902l3pkg4rizxghkakpzi1r9z1b7blmk1x4s";
- } + "/user.js");
- search = {
- force = true;
- default = "DuckDuckGo";
- engines = {
- "Nix Packages" = {
- urls = [{
- template = "https://search.nixos.org/packages";
- params = [
- { name = "type"; value = "packages"; }
- { name = "query"; value = "{searchTerms}"; }
- ];
- }];
- definedAliases = [ "@np" ];
- };
- "NixOS Wiki" = {
- urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
- iconUpdateURL = "https://nixos.wiki/favicon.png";
- updateInterval = 24 * 60 * 60 * 1000;
- definedAliases = [ "@nw" ];
- };
- };
- };
- settings = {
-"browser.download.dir" = "/home/${user}/dwn";
- };
- };
- };};
-}