firefox: Improve overlay

This commit is contained in:
caem 2025-03-02 22:13:55 +01:00
parent b30401044e
commit 8db14d0fa5
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 6 additions and 2 deletions

View file

@ -2,7 +2,9 @@
let
importOverlays = builtins.map
(overlay: import overlay { inherit lib inputs pkgs cfgPath; })
(overlay: import overlay {
inherit cfgPath lib inputs;
})
(builtins.filter
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
(lib.filesystem.listFilesRecursive "${cfgPath}/overlays"));

View file

@ -22,7 +22,7 @@
config = { sloth, ... }: {
app.package = intermediary-firefox-esr;
app.binPath = "bin/firefox-esr";
flatpak.appId = "org.mozilla.firefox";
flatpak.appId = "org.mozilla.firefox-esr";
dbus.policies = {
"org.a11y.Bus" = "talk";
@ -77,6 +77,8 @@
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")
(sloth.concat' sloth.xdgConfigHome "/gtk-4.0")
(sloth.concat' sloth.xdgConfigHome "/dconf")
"/run/current-system/sw/share/icons"
"/run/current-system/sw/share/themes"
];
sockets = {