21 lines
No EOL
444 B
Nix
21 lines
No EOL
444 B
Nix
{ 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.concat' sloth.xdgConfigHome "/fragments")
|
|
];
|
|
};
|
|
};
|
|
} |