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 hypridle
wl-clipboard wl-clipboard
cliphist cliphist
swww
] ]
++ config.modules.hyprland.additionalPackages; ++ config.modules.hyprland.additionalPackages;
@ -46,14 +45,6 @@
settings = config.modules.hyprland.additionalConfig; settings = config.modules.hyprland.additionalConfig;
}; };
xdg.portal = {
enable = true;
config.common.default = "*";
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
systemd.user.services.authentication-agent = { systemd.user.services.authentication-agent = {
Unit = { Unit = {
Description = "GNOME Authentication Agent"; 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/darkman.nix
../../modules/home-manager/fish.nix ../../modules/home-manager/fish.nix
../../modules/home-manager/ags.nix ../../modules/home-manager/ags.nix
./apps/firefox.nix
# Home Manager modules # Home Manager modules
inputs.ags.homeManagerModules.default inputs.ags.homeManagerModules.default
@ -47,7 +48,10 @@
darkWallpaper = ./wallpapers/dark.jpg; darkWallpaper = ./wallpapers/dark.jpg;
}; };
stylix.targets.firefox.profileNames = [ "default" ]; stylix.targets.firefox = {
firefoxGnomeTheme.enable = true;
profileNames = [ "sador" ];
};
modules.ags = { modules.ags = {
enable = true; enable = true;

View File

@ -14,7 +14,6 @@ with pkgs;
jq jq
starship starship
firefox
fluffychat fluffychat
home-manager home-manager
thunderbird-bin 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