add: Firefox configuration
This commit is contained in:
39
profiles/hulk/apps/firefox.nix
Normal file
39
profiles/hulk/apps/firefox.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
@ -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 |
Reference in New Issue
Block a user