Remove firefox from home-manager

This commit is contained in:
Evie Litherland-Smith 2024-01-05 15:26:30 +00:00
parent 787cf097c2
commit 0bfba4b804
6 changed files with 14 additions and 1542 deletions

View file

@ -23,12 +23,11 @@
shell = "zsh";
systemModules = [ ./system/hyprland.nix ];
homeModules = [
./home/default.nix
./home/emacs.nix
./home/accounts/default.nix
./home/hyprland/default.nix
./home/nyxt/default.nix
./home/default.nix
./home/emacs.nix
./home/firefox.nix
];
stateVersion = "23.05";
};

View file

@ -1,109 +0,0 @@
{ config, lib, pkgs, ... }:
{
programs.alacritty = {
enable = true;
settings = {
window = {
dynamic_title = true;
padding = {
x = 10;
y = 10;
};
decorations = "none";
opacity = 0.8;
};
font = {
normal.family = "JetBrainsMono Nerd Font";
size = 14.0;
};
selection.save_to_clipboard = true;
live_config_reload = true;
mouse.hide_when_typing = true;
colors = {
primary = {
background = "#1E1E2E";
foreground = "#CDD6F4";
dim_foreground = "#CDD6F4";
bright_foreground = "#CDD6F4";
};
cursor = {
text = "#1E1E2E";
cursor = "#F5E0DC";
};
vi_mode_cursor = {
text = "#1E1E2E";
cursor = "#B4BEFE";
};
search = {
matches = {
foreground = "#1E1E2E";
background = "#A6ADC8";
};
focused_match = {
foreground = "#1E1E2E";
background = "#A6E3A1";
};
footer_bar = {
foreground = "#1E1E2E";
background = "#A6ADC8";
};
};
hints = {
start = {
foreground = "#1E1E2E";
background = "#F9E2AF";
};
end = {
foreground = "#1E1E2E";
background = "#A6ADC8";
};
};
selection = {
text = "#1E1E2E";
background = "#F5E0DC";
};
normal = {
black = "#45475A";
red = "#F38BA8";
green = "#A6E3A1";
yellow = "#F9E2AF";
blue = "#89B4FA";
magenta = "#F5C2E7";
cyan = "#94E2D5";
white = "#BAC2DE";
};
bright = {
black = "#585B70";
red = "#F38BA8";
green = "#A6E3A1";
yellow = "#F9E2AF";
blue = "#89B4FA";
magenta = "#F5C2E7";
cyan = "#94E2D5";
white = "#A6ADC8";
};
dim = {
black = "#45475A";
red = "#F38BA8";
green = "#A6E3A1";
yellow = "#F9E2AF";
blue = "#89B4FA";
magenta = "#F5C2E7";
cyan = "#94E2D5";
white = "#BAC2DE";
};
indexed_colors = [
{
index = 16;
color = "#FAB387";
}
{
index = 17;
color = "#F5E0DC";
}
];
};
};
};
}

View file

@ -1,59 +0,0 @@
{ pkgs, ... }: {
programs.firefox = {
enable = true;
package = null; # Use system Firefox
profiles.default = {
settings = {
"app.shield.optoutstudies.enabled" = false;
"browser.bookmarks.addedImportButton" = false;
"browser.bookmarks.showMobileBookmarks" = false;
"browser.toolbars.bookmarks.visibility" = "newtab";
"browser.contentblocking.category" = "strict";
"browser.search.region" = "GB";
"browser.search.isUS" = false;
"browser.warnOnQuitShortcut" = false;
"distribution.searchplugins.defaultLocale" = "en-GB";
"doh-rollout.home-region" = "GB";
# Tokyonight theme
"extensions.activeThemeID" = "{995463c6-18a1-4cf7-b0f1-564e050d778b}";
"extensions.formautofill.creditCards.enabled" = false;
"general.useragent.locale" = "en-GB";
"intl.accept_languages" = "en-gb,en";
"intl.locale.requested" = "en-gb,en";
"intl.regional_prefs.use_os_locales" = false;
"media.eme.enabled" = true;
"privacy.webrtc.legacyGlobalIndicator" = false;
"signon.management.page.breach-alerts.enabled" = false;
"signon.rememberSignons" = false;
"browser.newtabpage.pinned" = [
{
title = "NixOS Wiki";
url = "https://nixos.wiki";
}
{
title = "Arch Wiki";
url = "https://wiki.archlinux.org";
}
{
title = "Hyprland Wiki";
url = "https://wiki.hyprland.org";
}
];
};
search = {
default = "DuckDuckGo";
force = true;
order = [ "DuckDuckGo" ];
engines = {
"MyNixOS" = {
urls =
[{ template = "https://mynixos.com/search?q={searchTerms}"; }];
icon =
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@mn" ];
};
};
};
};
};
}

View file

@ -121,17 +121,17 @@
"image/png" = [ "swayimg.desktop" ];
"video/mp4" = [ "mpv.desktop" ];
"text/csv" = [ "calc.desktop" ];
"text/html" = [ "firefox.desktop" ];
"x-scheme-handler/http" = [ "firefox.desktop" ];
"x-scheme-handler/https" = [ "firefox.desktop" ];
"x-scheme-handler/about" = [ "firefox.desktop" ];
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
"application/x-extension-htm" = [ "firefox.desktop" ];
"application/x-extension-html" = [ "firefox.desktop" ];
"application/x-extension-shtml" = [ "firefox.desktop" ];
"application/xhtml+xml" = [ "firefox.desktop" ];
"application/x-extension-xhtml" = [ "firefox.desktop" ];
"application/x-extension-xht" = [ "firefox.desktop" ];
"text/html" = [ "nyxt.desktop" ];
"x-scheme-handler/http" = [ "nyxt.desktop" ];
"x-scheme-handler/https" = [ "nyxt.desktop" ];
"x-scheme-handler/about" = [ "nyxt.desktop" ];
"x-scheme-handler/chrome" = [ "nyxt.desktop" ];
"application/x-extension-htm" = [ "nyxt.desktop" ];
"application/x-extension-html" = [ "nyxt.desktop" ];
"application/x-extension-shtml" = [ "nyxt.desktop" ];
"application/xhtml+xml" = [ "nyxt.desktop" ];
"application/x-extension-xhtml" = [ "nyxt.desktop" ];
"application/x-extension-xht" = [ "nyxt.desktop" ];
"application/pdf" = [ "org.pwmt.zathura-pdf-mupdf.desktop" ];
"application/epub+zip" = [ "org.pwmt.zathura-pdf-mupdf.desktop" ];
"application/oxps" = [ "org.pwmt.zathura-pdf-mupdf.desktop" ];

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
programs.firefox = {
enable = true;
languagePacks = [ "en-GB" ];
@ -31,30 +29,11 @@
install_url =
"https://github.com/mkaply/queryamoid/releases/download/v0.1/query_amo_addon_id-0.1-fx.xpi";
};
"{995463c6-18a1-4cf7-b0f1-564e050d778b}" = {
# Tokyonight theme
installation_mode = "force_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/tokyonight_vim/latest.xpi";
};
"uBlock0@raymondhill.net" = {
# uBlock Origin
installation_mode = "force_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
};
"floccus@handmadeideas.org" = {
# floccus bookmarks sync
installation_mode = "force_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
};
"addon@simplelogin" = {
# SimpleLogin
installation_mode = "force_installed";
install_url =
"https://addons.mozilla.org/firefox/downloads/latest/simplelogin/latest.xpi";
};
};
FirefoxHome = {
Search = true;