ft (wip): big initial config
This commit is contained in:
18
modules/web/default.nix
Normal file
18
modules/web/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
# TODO: switch to home manager
|
||||
# then configure plugins n shi here too
|
||||
# make a shared section (about:config sections, plugins, profiles) and then have two separate configs in firefox.nix and librewolf.nix
|
||||
# https://wiki.nixos.org/wiki/Librewolf
|
||||
# https://wiki.nixos.org/wiki/Firefox/en
|
||||
imports = [
|
||||
./firefox.nix
|
||||
];
|
||||
|
||||
users.users.djai.packages = with pkgs; [
|
||||
librewolf
|
||||
firefox
|
||||
];
|
||||
}
|
||||
|
||||
39
modules/web/firefox.nix
Normal file
39
modules/web/firefox.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
preferences = { #TODO: port over all changes in about:config from tuxcomp
|
||||
"browser.resistFingerPrinting" = true;
|
||||
};
|
||||
|
||||
policies = {
|
||||
DisableTelemetry = true;
|
||||
ExtensionSettings = {
|
||||
"uBlock0@raymondhill.net" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
};
|
||||
|
||||
"vimium@vimium.org" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/vimium/latest.xpi";
|
||||
};
|
||||
|
||||
"addon@darkreader.org" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/darkreader/latest.xpi";
|
||||
};
|
||||
|
||||
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
||||
installation_mode = "force_installed";
|
||||
install_url =
|
||||
"https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user