Gaming/retroarch: sync retroarch folder with syncthing
This commit is contained in:
parent
30a39ec7b0
commit
b924128f7c
1 changed files with 23 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue