games/steam: Include ~/.config in sandbox
Some games place their state there.
This commit is contained in:
parent
e64480c820
commit
540f89bff1
|
@ -6,7 +6,7 @@ let
|
|||
steam-sandbox = pkgs.writeShellScriptBin "steam-sandbox" /* bash */ ''
|
||||
set -euo pipefail
|
||||
base_dir="''${XDG_DATA_HOME:-$HOME/.local/share}/steam-sandbox"
|
||||
mkdir -p "$base_dir"/{.local/share,.steam,data}
|
||||
mkdir -p "$base_dir"/{.local/share,.steam,.config,data}
|
||||
bubblewrap_args=(
|
||||
# sandboxing
|
||||
--unshare-all
|
||||
|
@ -59,6 +59,7 @@ let
|
|||
# shared data
|
||||
--bind "$base_dir/.local/share" "$HOME/.local/share"
|
||||
--bind "$base_dir/.steam" "$HOME/.steam"
|
||||
--bind "$base_dir/.config" "$HOME/.config"
|
||||
--bind "$base_dir/data" "$HOME/data"
|
||||
|
||||
# input
|
||||
|
|
Loading…
Reference in a new issue