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 = { bubblewrap = {
bind.rw = [ bind.rw = [
"$HOME/.cache/amberol" "$HOME/.cache/amberol"
"$XDG_RUNTIME_DIR/gvfsd"
"$XDG_RUNTIME_DIR/pulse"
]; ];
}; };
app.package = callPackage ./amberol.nix {}; app.package = callPackage ./amberol.nix {};

View file

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