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
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# MANUAL: echo 80 | sudo tee /sys/class/hwmon/hwmon3/max_battery_charge_level
{ {
description = "My system configuration"; description = "My system configuration";

View File

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

View File

@ -1,3 +1,4 @@
# MANUAL: mkdir -p ~/.persist/.config/steam-rom-manager/userData
{ {
stdenv, stdenv,
config, config,
@ -27,6 +28,25 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
package 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"
# ];
# };
}) })
] ]
); );