Updated firefox configuration

This commit is contained in:
2024-06-03 18:26:34 +02:00
parent 114b4f08a6
commit 2e25cdebf6
3 changed files with 47 additions and 19 deletions

View File

@@ -24,7 +24,7 @@
wayland.windowManager.hyprland = {
enable = true;
settings = {
monitor = if hostName == "xv-laptop" then ",preferred,auto,1.4" else ",preferred,auto,auto";
monitor = if hostName == "xv-laptop" then ",preferred,auto,1.333" else ",preferred,auto,auto";
exec-once = [
"waybar"

View File

@@ -7,7 +7,40 @@
programs.firefox = {
enable = true;
# nativeMessagingHosts = [ pkgs.unstable.firefoxpwa ];
nativeMessagingHosts = [ pkgs.unstable.firefoxpwa ];
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
DisablePocket = true;
DisableFirefoxAccounts = true;
DisableAccounts = true;
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "never";
ExtensionSettings = {
"nl-NL@dictionaries.addons.mozilla.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/woordenboek-nederlands/latest.xpi";
installation_mode = "force_installed";
};
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
};
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
installation_mode = "force_installed";
};
"firefoxpwa@filips.si" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/pwas-for-firefox/latest.xpi";
installation_mode = "force_installed";
};
};
};
profiles.xeovalyte = {
search.engines = {
"Nix" = {
@@ -78,11 +111,6 @@
];
"signon.rememberSignons" = false;
};
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
bitwarden
ublock-origin
];
};
};
}