it has to work eventually

This commit is contained in:
caem 2025-01-24 17:17:19 +01:00
parent f01b7ee1a7
commit fdf9f78888
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -1,12 +1,8 @@
# Shamelessly stolen most parts from https://github.com/schizofox/schizofox # Shamelessly stolen most parts from https://github.com/schizofox/schizofox
{ pkgs, inputs, lib, ... }: final: prev: let { pkgs, ... }: final: prev: {
mkNixPak = inputs.nixpak.lib.nixpak { firefox-esr = let
inherit (pkgs) lib; sandboxed-firefox-esr = pkgs.mkNixPak {
inherit pkgs;
};
in {
firefox-esr = mkNixPak {
config = { sloth, ... }: { config = { sloth, ... }: {
app.package = pkgs.firefox-esr; app.package = pkgs.firefox-esr;
flatpak.appId = "org.mozilla.firefox"; flatpak.appId = "org.mozilla.firefox";
@ -74,5 +70,7 @@ in {
]; ];
}; };
}; };
}.config.script; };
in
sandboxed-firefox-esr.config.env;
} }