undo tomfoolery

This commit is contained in:
caem 2025-01-25 02:19:56 +01:00
parent 829ecc17f0
commit 4703e5bd0d
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
{ lib, ... }: final: prev: {
{ ... }: final: prev: {
firefox-esr = let
sandboxed-firefox-esr = prev.mkNixPak {
config = { sloth, ... }: {
app.package = prev.firefox-esr-unwrapped;
app.package = prev.firefox-esr;
app.binPath = "bin/firefox-esr";
flatpak.appId = "org.mozilla.firefox";
@ -58,6 +58,7 @@
"/sys/bus/pci"
"/etc/resolv.conf"
"/etc/localtime"
["${prev.firefox-esr}/lib/firefox" "/app/etc/firefox"]
(sloth.concat' sloth.xdgConfigHome "/dconf")
(sloth.concat' sloth.xdgConfigHome "/gtk-2.0")
(sloth.concat' sloth.xdgConfigHome "/gtk-3.0")