fix steam folder path

This commit is contained in:
caem 2025-01-25 19:27:30 +01:00
parent a0640360f0
commit 4f4bd5c462
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
{ {
environment.persistence."/nix/persist" = { environment.persistence."/nix/persist" = {
users."${username}".directories = [ users."${username}".directories = [
".local/steam_home" ".local/share/steam_home"
".local/share/osu" ".local/share/osu"
]; ];
}; };

View file

@ -1,7 +1,7 @@
{ ... }: final: prev: { { ... }: final: prev: {
steam = prev.steam.override { steam = prev.steam.override {
extraBwrapArgs = [ extraBwrapArgs = [
"--bind $HOME/.local/steam_home $HOME" "--bind $HOME/.local/share/steam_home $HOME"
"--unsetenv XDG_CACHE_HOME" "--unsetenv XDG_CACHE_HOME"
"--unsetenv XDG_CONFIG_HOME" "--unsetenv XDG_CONFIG_HOME"
"--unsetenv XDG_DATA_HOME" "--unsetenv XDG_DATA_HOME"