huffing copium

This commit is contained in:
caem 2025-01-24 23:34:38 +01:00
parent 12fbf5a149
commit 6d0ad852da
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 # https://github.com/schizofox/schizofox/blob/cdf69b2a445ff12680657a3bd44ce7c406bf2ae6/flake/modules/home-manager/default.nix
{ ... }: final: prev: { { ... }: final: prev: {
firefox-esr-wrapped = let firefox-esr-wrapped = cfg: let
sandboxFirefox = base: let sandboxFirefox = base: let
sandboxed = prev.mkNixPak { sandboxed = prev.mkNixPak {
config = { sloth, ... }: { config = { sloth, ... }: {
@ -80,11 +80,10 @@
meta meta
browserName browserName
binaryName binaryName
version version;
cfg;
unwrapped = prev.firefox-esr; unwrapped = prev.firefox-esr;
}; };
in in
sandboxFirefox prev.firefox-esr; sandboxFirefox (prev.firefox-esr.override (oldAttrs: { inherit cfg; }));
} }