config/packages/nixpak/fragments/default.nix

21 lines
No EOL
405 B
Nix

{ mkNixPak, fragments }:
mkNixPak {
config = {
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 = [
"$HOME/.config/fragments"
];
};
};
}