Common: set syncthing options
This commit is contained in:
parent
e6b6416bc3
commit
47c8ca29a0
1 changed files with 9 additions and 1 deletions
|
|
@ -1,8 +1,16 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Set up devices and folders common to every device
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
|
overrideDevices = true;
|
||||||
|
overrideFolders = true;
|
||||||
|
openDefaultPorts = true;
|
||||||
|
extraOptions = {
|
||||||
|
options = {
|
||||||
|
urAccepted = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# Set up devices and folders common to every device
|
||||||
devices = {
|
devices = {
|
||||||
"phone" = {
|
"phone" = {
|
||||||
name = "Xiaomi Redmi Note 10 Pro";
|
name = "Xiaomi Redmi Note 10 Pro";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue