Gaming/retroarch: bring back syncthing
This commit is contained in:
parent
bafe0953a1
commit
69afd4bdab
1 changed files with 1 additions and 16 deletions
|
|
@ -74,30 +74,15 @@ in
|
||||||
};
|
};
|
||||||
# Retroarch is dumb since it doesn't generate this folder (but it does for others)
|
# Retroarch is dumb since it doesn't generate this folder (but it does for others)
|
||||||
systemd.user.tmpfiles.rules = [ "d /%h/.local/share/retroarch/playlists" ];
|
systemd.user.tmpfiles.rules = [ "d /%h/.local/share/retroarch/playlists" ];
|
||||||
# Add a syncthing ignore file to the retroarch folder
|
|
||||||
xdg.configFile."retroarch-stignore" = {
|
|
||||||
enable = false;
|
|
||||||
target = "retroarch/.stignore";
|
|
||||||
text = ''
|
|
||||||
!saves
|
|
||||||
!states
|
|
||||||
!database
|
|
||||||
!playlists
|
|
||||||
|
|
||||||
// Ignore everything except stuff above
|
|
||||||
*
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Sync saves and some other stuff
|
# Sync saves and some other stuff
|
||||||
services.syncthing.settings.folders = {
|
services.syncthing.settings.folders = {
|
||||||
"retroarch" = {
|
"retroarch" = {
|
||||||
enable = false;
|
|
||||||
label = "RetroArch";
|
label = "RetroArch";
|
||||||
id = "jxuou-2yjnu";
|
id = "jxuou-2yjnu";
|
||||||
devices = [ "steamdeck" "pc" ];
|
devices = [ "steamdeck" "pc" ];
|
||||||
path = "~/.config/retroarch";
|
path = "~/.local/share/retroarch";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue