1

Modules/Firefox: Disable catppuccin-web-file-icons

This commit is contained in:
2025-07-20 01:48:51 +02:00
parent bcf4637167
commit 2fa38179e5

View File

@ -1,4 +1,3 @@
# TODO: https://github.com/nix-community/home-manager/commit/69d19b9839638fc487b370e0600a03577a559081
{ {
config, config,
lib, lib,
@ -45,6 +44,7 @@ in {
# firefox-unwrapped is the pure firefox browser, wrapFirefox adds configuration ontop # firefox-unwrapped is the pure firefox browser, wrapFirefox adds configuration ontop
package = pkgs.wrapFirefox pkgs.firefox-unwrapped { package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
# About policies: https://github.com/mozilla/policy-templates#enterprisepoliciesenabled # About policies: https://github.com/mozilla/policy-templates#enterprisepoliciesenabled
# TODO: To separate file
extraPolicies = { extraPolicies = {
CaptivePortal = false; CaptivePortal = false;
DisableAppUpdate = true; DisableAppUpdate = true;
@ -104,6 +104,7 @@ in {
'') '')
]; ];
# TODO: To separate file
search = { search = {
force = true; # Always override search engines force = true; # Always override search engines
default = "kagi"; default = "kagi";
@ -153,7 +154,7 @@ in {
definedAliases = ["@nw"]; definedAliases = ["@nw"];
}; };
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias google.metaData.alias = "@g";
# Hide bullshit # Hide bullshit
bing.metaData.hidden = true; bing.metaData.hidden = true;
@ -163,6 +164,7 @@ in {
}; };
}; };
# TODO: To separate file
extensions = { extensions = {
force = true; # Always override extensions force = true; # Always override extensions
@ -174,7 +176,7 @@ in {
# bypass-paywalls-clean # bypass-paywalls-clean
# c-c-search-extension # Press cc in searchbar and profit # c-c-search-extension # Press cc in searchbar and profit
catppuccin-mocha-mauve catppuccin-mocha-mauve
catppuccin-web-file-icons # catppuccin-web-file-icons
clearurls clearurls
cookie-autodelete cookie-autodelete
display-_anchors # Easier linking to specific website parts display-_anchors # Easier linking to specific website parts
@ -225,7 +227,8 @@ in {
}; };
bookmarks = { bookmarks = {
force = true; # Always override bookmarks (so we don't forget to add them through here) # Always override bookmarks (so we don't forget to add them through here)
force = true;
settings = import ./bookmarks.nix; settings = import ./bookmarks.nix;
}; };
@ -240,21 +243,12 @@ in {
} }
(lib.optionalAttrs firefox.vaapi { (lib.optionalAttrs firefox.vaapi {
# Firefox wayland hardware video acceleration
# https://github.com/elFarto/nvidia-vaapi-driver/#firefox= # https://github.com/elFarto/nvidia-vaapi-driver/#firefox=
# TODO: Disable and check if it works by default
# "gfx.canvas.accelerated" = true; # Default value
# "gfx.webrender.enabled" = true; # Does not exist?
"media.ffmpeg.vaapi.enabled" = true; "media.ffmpeg.vaapi.enabled" = true;
"media.rdd-ffmpeg.enabled" = true; # Default value "media.rdd-ffmpeg.enabled" = true; # Default value
"media.av1.enabled" = true; "media.av1.enabled" = true;
"gfx.x11-egl.force-enabled" = true; "gfx.x11-egl.force-enabled" = true;
"widget.dmabuf.force-enabled" = true; "widget.dmabuf.force-enabled" = true;
# "layers.acceleration.force-enabled" = true;
# "media.hardware-video-decoding.force-enabled" = true;
# "widget.wayland-dmabuf-vaapi.enabled" = true; # Does not exist?
}) })
]; ];
}; };