hopefully this works

This commit is contained in:
caem 2025-01-24 22:42:40 +01:00
parent 28f5fc1ce8
commit 9c0aa756f2
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -2,11 +2,11 @@
# https://github.com/ryan4yin/nix-config/blob/7deed26cc5a3af2072b8c89a688f265607babc80/hardening/nixpaks/firefox.nix
# https://github.com/schizofox/schizofox/blob/cdf69b2a445ff12680657a3bd44ce7c406bf2ae6/flake/modules/home-manager/default.nix
{ ... }: final: prev: {
{ config, ... }: final: prev: {
firefox-esr = let
sandboxed-firefox-esr = prev.mkNixPak {
sandboxed-firefox-esr = cfg: prev.mkNixPak {
config = { sloth, ... }: {
app.package = prev.firefox-esr;
app.package = (prev.firefox-esr.override cfg);
app.binPath = "bin/firefox-esr";
flatpak.appId = "org.mozilla.firefox";
@ -75,5 +75,5 @@
};
};
in
sandboxed-firefox-esr.config.package;
sandboxed-firefox-esr.config.env;
}