hades: start syncthing
This commit is contained in:
parent
43cfd4b6d3
commit
c2f53e4533
@ -77,7 +77,28 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
motherboard = "amd";
|
motherboard = "amd";
|
||||||
};
|
};
|
||||||
|
syncthing = {
|
||||||
|
enable = true;
|
||||||
|
group = "users";
|
||||||
|
user = "kabbone";
|
||||||
|
dataDir = "/home/${config.services.syncthing.user}/Sync";
|
||||||
|
configDir = "/home/${config.services.syncthing.user}/.config/syncthing";
|
||||||
|
overrideDevices = true; # overrides any devices added or deleted through the WebUI
|
||||||
|
overrideFolders = true; # overrides any folders added or deleted through the WebUI
|
||||||
|
openDefaultPorts = true;
|
||||||
|
settings = {
|
||||||
|
devices = {
|
||||||
|
"jupiter.home.opel-online.de" = { id = "T53WU6Z-3NT74ZE-PZVZB2N-7FBTZ5K-HESC2ZM-W4ABDAS-NWXHTGI-ST4CDQR"; };
|
||||||
|
};
|
||||||
|
folders = {
|
||||||
|
"Sync" = { # Name of folder in Syncthing, also the folder ID
|
||||||
|
path = "/home/${config.services.syncthing.user}/Sync"; # Which folder to add to Syncthing
|
||||||
|
devices = [ "jupiter" ]; # Which devices to share the folder with
|
||||||
|
ignorePerms = false; # By default, Syncthing doesn't sync file permissions. This line enables it for this folder.
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user