mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 16:49:18 -05:00
21 lines
406 B
Nix
21 lines
406 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.services.syncthing.syncMusic {
|
|
services.syncthing = {
|
|
settings = {
|
|
folders = {
|
|
"music" = {
|
|
id = "6nzmu-z9der";
|
|
path = config.ar.services.syncthing.musicPath;
|
|
devices = ["lavaridge" "mauville" "petalburg" "rustboro" "wallace"];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|