set up syncthing
This commit is contained in:
parent
1bf1cb10d8
commit
a380a1bea2
@ -27,8 +27,6 @@
|
|||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh.settings.PermitRootLogin = "yes";
|
|
||||||
|
|
||||||
autopull.enable = false;
|
autopull.enable = false;
|
||||||
|
|
||||||
displayManager.sddm.enable = true;
|
displayManager.sddm.enable = true;
|
||||||
@ -50,6 +48,58 @@
|
|||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
syncthing.settings.folders = {
|
||||||
|
"notes" = {
|
||||||
|
id = "l62ul-lpweo"; # cspell:disable-line
|
||||||
|
path = "/home/richie/notes";
|
||||||
|
devices = [
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"books" = {
|
||||||
|
id = "6uppx-vadmy"; # cspell:disable-line
|
||||||
|
path = "/home/richie/books";
|
||||||
|
devices = [
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"important" = {
|
||||||
|
id = "4ckma-gtshs"; # cspell:disable-line
|
||||||
|
path = "/home/richie/important";
|
||||||
|
devices = [
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
"music" = {
|
||||||
|
id = "vprc5-3azqc"; # cspell:disable-line
|
||||||
|
path = "/home/richie/music";
|
||||||
|
devices = [
|
||||||
|
"phone"
|
||||||
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
"projects" = {
|
||||||
|
id = "vyma6-lqqrz"; # cspell:disable-line
|
||||||
|
path = "/home/richie/projects";
|
||||||
|
devices = [
|
||||||
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.autoUpgrade.enable = false;
|
system.autoUpgrade.enable = false;
|
||||||
|
@ -63,6 +63,7 @@
|
|||||||
id = "l62ul-lpweo"; # cspell:disable-line
|
id = "l62ul-lpweo"; # cspell:disable-line
|
||||||
path = "/ZFS/Media/Notes";
|
path = "/ZFS/Media/Notes";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"rhapsody-in-green"
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
@ -72,6 +73,7 @@
|
|||||||
id = "6uppx-vadmy"; # cspell:disable-line
|
id = "6uppx-vadmy"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/books";
|
path = "/ZFS/Storage/Syncthing/books";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"rhapsody-in-green"
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
@ -81,6 +83,7 @@
|
|||||||
id = "4ckma-gtshs"; # cspell:disable-line
|
id = "4ckma-gtshs"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/important";
|
path = "/ZFS/Storage/Syncthing/important";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"rhapsody-in-green"
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
@ -90,6 +93,7 @@
|
|||||||
id = "vprc5-3azqc"; # cspell:disable-line
|
id = "vprc5-3azqc"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/music";
|
path = "/ZFS/Storage/Syncthing/music";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"rhapsody-in-green"
|
"rhapsody-in-green"
|
||||||
];
|
];
|
||||||
@ -98,7 +102,10 @@
|
|||||||
"projects" = {
|
"projects" = {
|
||||||
id = "vyma6-lqqrz"; # cspell:disable-line
|
id = "vyma6-lqqrz"; # cspell:disable-line
|
||||||
path = "/ZFS/Storage/Syncthing/projects";
|
path = "/ZFS/Storage/Syncthing/projects";
|
||||||
devices = [ "rhapsody-in-green" ];
|
devices = [
|
||||||
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -55,6 +55,7 @@
|
|||||||
id = "l62ul-lpweo"; # cspell:disable-line
|
id = "l62ul-lpweo"; # cspell:disable-line
|
||||||
path = "/home/richie/notes";
|
path = "/home/richie/notes";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
];
|
];
|
||||||
@ -64,6 +65,7 @@
|
|||||||
id = "6uppx-vadmy"; # cspell:disable-line
|
id = "6uppx-vadmy"; # cspell:disable-line
|
||||||
path = "/home/richie/books";
|
path = "/home/richie/books";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
];
|
];
|
||||||
@ -73,6 +75,7 @@
|
|||||||
id = "4ckma-gtshs"; # cspell:disable-line
|
id = "4ckma-gtshs"; # cspell:disable-line
|
||||||
path = "/home/richie/important";
|
path = "/home/richie/important";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
];
|
];
|
||||||
@ -82,13 +85,17 @@
|
|||||||
id = "vprc5-3azqc"; # cspell:disable-line
|
id = "vprc5-3azqc"; # cspell:disable-line
|
||||||
path = "/home/richie/music";
|
path = "/home/richie/music";
|
||||||
devices = [
|
devices = [
|
||||||
|
"bob"
|
||||||
"phone"
|
"phone"
|
||||||
"jeeves"
|
"jeeves"
|
||||||
];
|
];
|
||||||
"projects" = {
|
"projects" = {
|
||||||
id = "vyma6-lqqrz"; # cspell:disable-line
|
id = "vyma6-lqqrz"; # cspell:disable-line
|
||||||
path = "/home/richie/projects";
|
path = "/home/richie/projects";
|
||||||
devices = [ "jeeves" ];
|
devices = [
|
||||||
|
"bob"
|
||||||
|
"jeeves"
|
||||||
|
];
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
};
|
};
|
||||||
fsWatcherEnabled = true;
|
fsWatcherEnabled = true;
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
phone.id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5"; # cspell:disable-line
|
phone.id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5"; # cspell:disable-line
|
||||||
jeeves.id = "7YQ4UEW-OPQEBH4-6YKJH4B-ZCE3SAX-5EIK5JL-WJDIWUA-WA2N3D5-MNK6GAV"; # cspell:disable-line
|
jeeves.id = "7YQ4UEW-OPQEBH4-6YKJH4B-ZCE3SAX-5EIK5JL-WJDIWUA-WA2N3D5-MNK6GAV"; # cspell:disable-line
|
||||||
rhapsody-in-green.id = "INKUNKN-KILXGL5-2TQ5JTH-ORJOLOM-WYD2PYO-YRDLQIX-3AKZFWT-ZN7OJAE"; # cspell:disable-line
|
rhapsody-in-green.id = "INKUNKN-KILXGL5-2TQ5JTH-ORJOLOM-WYD2PYO-YRDLQIX-3AKZFWT-ZN7OJAE"; # cspell:disable-line
|
||||||
|
bob.id = "YP6UYKF-KFZ3FG3-5XM3XM3-5Q24AZS-LZK67PN-LAERKU2-K4WMYBH-N57ZBA5"; # cspell:disable-line
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user