hopefully this works
This commit is contained in:
parent
28f5fc1ce8
commit
9c0aa756f2
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue