Gaming/retroarch: sync retroarch folder with syncthing

This commit is contained in:
Toast 2023-12-31 01:46:40 +01:00
parent 30a39ec7b0
commit b924128f7c

View file

@ -42,5 +42,28 @@ in
};
};
};
# Add a syncthing ignore file to the retroarch folder
xdg.configFile."retroarch-stignore" = {
target = "retroarch/.stignore";
text = ''
!saves
!states
!database
!playlists
// Ignore everything except stuff above
*
'';
};
};
# Sync saves and some other stuff
services.syncthing.settings.folders = {
"retroarch" = {
label = "RetroArch";
id = "jxuou-2yjnu";
devices = [ "steamdeck" "pc" ];
path = "~/.config/retroarch";
};
};
}