I have no clue honestly

This commit is contained in:
caem 2025-01-24 23:25:20 +01:00
parent 7d69bf04b6
commit 47d9f76315
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -3,7 +3,7 @@
# https://github.com/schizofox/schizofox/blob/cdf69b2a445ff12680657a3bd44ce7c406bf2ae6/flake/modules/home-manager/default.nix
{ ... }: final: prev: {
firefox-esr-wrapped = let
firefox-esr-wrapped = cfg: let
sandboxFirefox = base: let
sandboxed = prev.mkNixPak {
config = { sloth, ... }: {
@ -76,10 +76,7 @@
};
};
in sandboxed.config.env // {
inherit (base) meta;
browserName = "firefox";
binaryName = base.binaryName or "firefox-esr";
unwrapped = base;
inherit (prev.firefox-esr) meta;
};
in
sandboxFirefox prev.firefox-esr;