add: Firefox configuration

This commit is contained in:
Franek 2025-05-06 09:16:18 +02:00
parent 5948c1db1c
commit 89942b9161
6 changed files with 44 additions and 11 deletions

View File

@ -35,7 +35,6 @@
hypridle
wl-clipboard
cliphist
swww
]
++ config.modules.hyprland.additionalPackages;
@ -46,14 +45,6 @@
settings = config.modules.hyprland.additionalConfig;
};
xdg.portal = {
enable = true;
config.common.default = "*";
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
systemd.user.services.authentication-agent = {
Unit = {
Description = "GNOME Authentication Agent";

View File

@ -0,0 +1,39 @@
{
programs.firefox = {
enable = true;
profiles = {
sador = {
isDefault = true;
settings = {
"media.videocontrols.picture-in-picture.enabled" = false;
"widget.wayland-dmabuf-vaapi.enabled" = true;
"browser.ctrlTab.recentlyUsedOrder" = false;
"extensions.pocket.enabled" = false;
"gfx.webrender.all" = true;
};
};
};
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
};
SearchEngines.Default = "DuckDuckGo";
DisablePocket = true;
DisableFirefoxScreenshots = true;
OverrideFirstRunPage = "";
OverridePostUpdatePage = "";
DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "always";
DisplayMenuBar = "never";
SearchBar = "unified";
};
};
}

View File

@ -11,6 +11,7 @@
../../modules/home-manager/darkman.nix
../../modules/home-manager/fish.nix
../../modules/home-manager/ags.nix
./apps/firefox.nix
# Home Manager modules
inputs.ags.homeManagerModules.default
@ -47,7 +48,10 @@
darkWallpaper = ./wallpapers/dark.jpg;
};
stylix.targets.firefox.profileNames = [ "default" ];
stylix.targets.firefox = {
firefoxGnomeTheme.enable = true;
profileNames = [ "sador" ];
};
modules.ags = {
enable = true;

View File

@ -14,7 +14,6 @@ with pkgs;
jq
starship
firefox
fluffychat
home-manager
thunderbird-bin

Binary file not shown.

Before

Width:  |  Height:  |  Size: 719 KiB

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 KiB

After

Width:  |  Height:  |  Size: 2.4 MiB