firefox stuff

This commit is contained in:
Kopatz
2024-04-09 11:01:00 +02:00
parent 565b8a6ed0
commit 1c0e67791c
4 changed files with 26 additions and 2 deletions

View File

@@ -107,7 +107,7 @@
#./modules/no-sleep-lid-closed.nix
#./modules/static-ip.nix
#./modules/wake-on-lan.nix
({ config, outputs, ... }: { nixpkgs.overlays = with outputs.overlays; [additions modifications unstable-packages]; })
({ config, outputs, ... }: { nixpkgs.overlays = with outputs.overlays; [additions modifications unstable-packages nur.overlay]; })
nixos-hardware.nixosModules.dell-xps-15-7590-nvidia
agenix.nixosModules.default
home-manager.nixosModules.home-manager

View File

@@ -52,4 +52,5 @@
"browser.download.dir" = "/tmp";
# Restore previous session automatically
"browser.startup.page"= 3;
"extensions.activeThemeID" = "{5cd68d86-8324-4ab2-9e0d-3afcc60bee5f}";
}

View File

@@ -52,6 +52,30 @@ in {
programs.firefox = {
enable = true;
package = if pkgs.stdenv.isLinux then pkgs.firefox else pkgs.firefox-bin;
policies = {
Extensions = {
Uninstall = [
"google@search.mozilla.org"
"bing@search.mozilla.org"
"amazondotcom@search.mozilla.org"
"ebay@search.mozilla.org"
"wikipedia@search.mozilla.org"
"webcompat-reporter@mozilla.org"
"addons-search-detection@mozilla.com"
];
};
ExtensionSettings = {
"google@search.mozilla.org".installation_mode = "blocked";
"bing@search.mozilla.org".installation_mode = "blocked";
"amazondotcom@search.mozilla.org".installation_mode = "blocked";
"ebay@search.mozilla.org".installation_mode = "blocked";
"wikipedia@search.mozilla.org".installation_mode = "blocked";
"{5cd68d86-8324-4ab2-9e0d-3afcc60bee5f}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/animated-pekora-dark-theme/latest.xpi";
installation_mode = "force_installed";
};
};
};
profiles = {
default = {
name = "privacy-friendly";

View File

@@ -21,7 +21,6 @@
extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; [
(discord.override { withVencord = true; })
firefox
brave
];
openssh.authorizedKeys.keys = [ config.mainUser.sshKey ];