nixcfg/nixosModules/services/syncthing/syncMusic.nix

21 lines
406 B
Nix
Raw Normal View History

2024-04-26 22:38:29 -04:00
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.services.syncthing.syncMusic {
2024-04-26 22:38:29 -04:00
services.syncthing = {
settings = {
folders = {
"music" = {
id = "6nzmu-z9der";
path = config.ar.services.syncthing.musicPath;
devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wallace"];
2024-04-26 22:38:29 -04:00
};
};
};
};
};
}