2022-07-07 21:42:36 +03:00
|
|
|
{ mkNixPak, fragments }:
|
|
|
|
|
|
|
|
mkNixPak {
|
2022-12-05 18:00:03 +02:00
|
|
|
config = { sloth, ... }: {
|
2022-07-07 21:42:36 +03:00
|
|
|
imports = [ ../modules/gui-base.nix ];
|
|
|
|
flatpak.appId = "de.haeckerfelix.Fragments";
|
|
|
|
app.package = fragments;
|
|
|
|
dbus.policies = {
|
|
|
|
"org.freedesktop.secrets" = "talk";
|
|
|
|
};
|
|
|
|
bubblewrap = {
|
|
|
|
network = true;
|
2022-08-31 23:48:05 +03:00
|
|
|
bind.ro = [
|
|
|
|
"/etc/hosts"
|
|
|
|
];
|
2022-07-07 21:42:36 +03:00
|
|
|
bind.rw = [
|
2022-12-05 18:00:03 +02:00
|
|
|
(sloth.concat' sloth.xdgConfigHome "/fragments")
|
2022-07-07 21:42:36 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|