ft (wip): big initial config

This commit is contained in:
2026-09-26 01:45:42 +02:00
parent 4aead77c60
commit 7a07c37bc3
19 changed files with 1173 additions and 0 deletions

18
modules/web/default.nix Normal file
View 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
View 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";
};
};
};
};
}