setup syncthing
This commit is contained in:
parent
6074188fbd
commit
0477fa1907
@ -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 = ''
|
||||
|
@ -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" ];
|
||||
|
Loading…
x
Reference in New Issue
Block a user