{ mkNixPak, fragments }: mkNixPak { config = { sloth, ... }: { imports = [ ../modules/gui-base.nix ]; flatpak.appId = "de.haeckerfelix.Fragments"; app.package = fragments; dbus.policies = { "org.freedesktop.secrets" = "talk"; }; bubblewrap = { network = true; bind.ro = [ "/etc/hosts" ]; bind.rw = [ [ (sloth.mkdir (sloth.concat' sloth.appCacheDir "/fragments")) (sloth.concat' sloth.xdgCacheHome "/fragments") ] (sloth.concat' sloth.xdgConfigHome "/fragments") ]; }; }; }