Put steam rom manager data in the persist folder.

This commit is contained in:
Tom Alexander
2025-03-29 18:01:59 -04:00
parent fe7a083a7b
commit 4db3ef1ed3
3 changed files with 22 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ VsyncEnable = true
ScreenshotSize = 1
# webp
ScreenshotFormat = 2
OsdShowFPS = true
OsdShowFPS = false
# Capture video at internal resolution
VideoCaptureAutoResolution = true
# 2x native resolution

View File

@@ -1,3 +1,4 @@
# MANUAL: mkdir -p ~/.persist/.config/steam-rom-manager/userData
{
stdenv,
config,
@@ -27,6 +28,25 @@ in
home.packages = with pkgs; [
package
];
home.persistence."/home/deck/.persist" = {
directories = [
{
directory = ".config/steam-rom-manager/userData";
method = "symlink";
}
];
};
# TODO: Install a fully configured /home/deck/.persist/.config/steam-rom-manager/userData/userConfigurations.json (which contains the parser definitions) and /home/deck/.persist/.config/steam-rom-manager/userData/userSettings.json (which contains the applications settings like steam directory).
# TODO: Maybe only persist /home/deck/.persist/.config/steam-rom-manager/userData/artworkBackups and /home/deck/.persist/.config/steam-rom-manager/userData/artworkCache.json after the parser config is being installed.
# home.persistence."/home/deck/.state" = {
# files = [
# ".config/steam-rom-manager/userData/configPresets.json"
# ];
# };
})
]
);