diff --git a/users/simon/modules/games.nix b/users/simon/modules/games.nix index b35e625..febe421 100644 --- a/users/simon/modules/games.nix +++ b/users/simon/modules/games.nix @@ -5,6 +5,7 @@ let steam-sandbox = pkgs.writeShellScriptBin "steam-sandbox" /* bash */ '' set -euo pipefail + shopt -s nullglob # make for loop work for glob if files do not exist base_dir="''${XDG_DATA_HOME:-$HOME/.local/share}/steam-sandbox" mkdir -p "$base_dir"/{.local/share,.steam,.config,.factorio,data} bubblewrap_args=(