From aee7a6b8c8acbec01914ed4052c91027d32f37bf Mon Sep 17 00:00:00 2001 From: Bun Date: Fri, 16 May 2025 04:33:19 -0400 Subject: [PATCH] Attempt a Steam fix? --- modules/home/programs/misc/gaming/launchers/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/home/programs/misc/gaming/launchers/default.nix b/modules/home/programs/misc/gaming/launchers/default.nix index 288d2f80..a803d168 100644 --- a/modules/home/programs/misc/gaming/launchers/default.nix +++ b/modules/home/programs/misc/gaming/launchers/default.nix @@ -8,13 +8,15 @@ steam steam-run-free ]; - persistence."${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}".directories = - with lib; with config.home; with config.xdg; [ + persistence."${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}" = + with lib; with config.home; with config.xdg; { + directories = [ "games/${removePrefix "${homeDirectory}/" configHome}/heroic" "games/${removePrefix "${homeDirectory}/" dataHome}/PrismLauncher" "games/${removePrefix "${homeDirectory}/" dataHome}/Steam" - "games/.steam" ]; + files = [ "games/.steam/registry.vdf" ]; + }; }; nixpkgs.allowUnfreePackages = [