2024-04-26 22:38:29 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config = lib.mkIf config.alyraffauf.services.syncthing.syncMusic {
|
|
|
|
services.syncthing = {
|
|
|
|
settings = {
|
|
|
|
folders = {
|
|
|
|
"music" = {
|
|
|
|
id = "6nzmu-z9der";
|
2024-05-27 21:39:30 -04:00
|
|
|
path = config.alyraffauf.services.syncthing.musicPath;
|
2024-04-26 22:38:29 -04:00
|
|
|
devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wattson"];
|
2024-05-03 21:19:45 -04:00
|
|
|
versioning = {
|
|
|
|
params.cleanoutDays = "1";
|
2024-05-27 21:39:30 -04:00
|
|
|
type = "trashcan";
|
2024-05-03 21:19:45 -04:00
|
|
|
};
|
2024-04-26 22:38:29 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|