nix/nixos/hosts/nixos-framework/syncthing.nix
2024-02-13 22:17:24 +09:00

21 lines
No EOL
647 B
Nix

{ pkgs, config, hostname, username, ... }: {
imports = [ ../../common/services/syncthing.nix ];
services.syncthing = {
enable = true;
# user = "${username}";
settings = {
folders = {
"world-of-warcraft" = {
enable = true;
id = "ergcw-ay6yg";
devices = [
"framework-server"
"win10-desktop"
];
path = "/home/${username}/Games/battlenet/drive_c/Program Files (x86)/World of Warcraft/";
};
};
};
};
}