aboutsummaryrefslogtreecommitdiff
path: root/tw/home.scm
diff options
context:
space:
mode:
authorTimo Wilken2024-01-14 18:49:17 +0100
committerTimo Wilken2024-01-14 18:49:17 +0100
commit498607d777b2efe1a03d6a6b8a95e03eddcc6e3a (patch)
treecdf6e7bfd22de151e4b9be45f03bf5a382b198c1 /tw/home.scm
parent73b05adaf30ac335c7b3c43d895c6ccd4956a675 (diff)
Mount synced savegame directories into Steam container
Diffstat (limited to 'tw/home.scm')
-rw-r--r--tw/home.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/tw/home.scm b/tw/home.scm
index 7eaad84b..31219509 100644
--- a/tw/home.scm
+++ b/tw/home.scm
@@ -537,6 +537,17 @@ show_border=1
(simple-service 'gui-environment home-environment-variables-service-type
`(("TERMINAL" . "kitty")
("QT_X11_NO_MITSHM" . "1") ; fixes a Steam issue: https://gitlab.com/nonguix/nonguix/-/issues/267
+ ("GUIX_SANDBOX_EXTRA_SHARES" . ; mount savegame locations inside Steam container
+ ,(string-join
+ '(#;"$HOME/savegames/big-pharma=$HOME/.local/share/..."
+ "$HOME/savegames/cities-skylines=$HOME/.local/share/Colossal Order/Cities_Skylines/Saves"
+ #;"$HOME/savegames/colony-survival=$HOME/.local/share/..."
+ #;"$HOME/savegames/infinifactory=$HOME/.local/share/..."
+ #;"$HOME/savegames/planetbase=$HOME/.local/share/..."
+ #;"$HOME/savegames/portal=$HOME/.local/share/..."
+ #;"$HOME/savegames/spacechem=$HOME/.local/share/..."
+ #;"$HOME/savegames/tis-100=$HOME/.local/share/...")
+ #\:))
("_JAVA_OPTIONS" .
,(string-append
"$_JAVA_OPTIONS${_JAVA_OPTIONS:+ }-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true "