add: Firefox configuration
This commit is contained in:
parent
5948c1db1c
commit
89942b9161
@ -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";
|
||||
|
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 |
Loading…
x
Reference in New Issue
Block a user