packages/nixpak: extract more parameters

This commit is contained in:
Max Headroom 2022-07-07 20:27:40 +02:00
parent 2a5f019c85
commit 77d44a6329
2 changed files with 3 additions and 2 deletions

View file

@ -10,8 +10,6 @@ mkNixPak {
bubblewrap = {
bind.rw = [
"$HOME/.cache/amberol"
"$XDG_RUNTIME_DIR/gvfsd"
"$XDG_RUNTIME_DIR/pulse"
];
};
app.package = callPackage ./amberol.nix {};

View file

@ -16,8 +16,11 @@
network = false;
bind.rw = [
"$HOME/.cache/fontconfig"
"$HOME/.cache/mesa_shader_cache"
"$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY"
"$XDG_RUNTIME_DIR/at-spi/bus"
"$XDG_RUNTIME_DIR/gvfsd"
"$XDG_RUNTIME_DIR/pulse"
];
bind.ro = [
"/etc/fonts"