setup syncthing

This commit is contained in:
Richie Cahill 2024-04-12 07:38:29 -04:00
parent 6074188fbd
commit 0477fa1907
2 changed files with 57 additions and 0 deletions

View File

@ -75,6 +75,36 @@
sysstat.enable = true;
syncthing = {
enable = true;
user = "richie";
overrideDevices = true;
overrideFolders = true;
dataDir = "/home/richie/Syncthing";
configDir = "/home/richie/.config/syncthing";
settings = {
devices = {
"Phone" = {
id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5";
};
"rhapsody-in-green" = {
id = "INKUNKN-KILXGL5-2TQ5JTH-ORJOLOM-WYD2PYO-YRDLQIX-3AKZFWT-ZN7OJAE";
};
};
folders = {
"Notes" = {
id = "l62ul-lpweo";
path = "/ZFS/Media/Notes";
devices = [
"Phone"
"rhapsody-in-green"
];
fsWatcherEnabled = true;
};
};
};
};
usbguard = {
enable = false;
rules = ''

View File

@ -45,6 +45,33 @@
pulse.enable = true;
};
syncthing = {
enable = true;
user = "richie";
overrideDevices = true;
overrideFolders = true;
dataDir = "/home/richie/Syncthing";
configDir = "/home/richie/.config/syncthing";
settings = {
devices = {
"Phone" = {
id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5";
};
};
folders = {
"Notes" = {
id = "l62ul-lpweo";
path = "/home/richie/Notes";
devices = [
"Phone"
"rhapsody-in-green"
];
fsWatcherEnabled = true;
};
};
};
};
zerotierone = {
enable = true;
joinNetworks = [ "e4da7455b2ae64ca" ];