moved davids-server.id to jeeves/syncthing.nix

This commit is contained in:
2025-01-19 16:18:27 -05:00
parent 1a1cc41265
commit 83dad24351
2 changed files with 117 additions and 115 deletions

View File

@@ -13,7 +13,6 @@
ipad.id = "KI76T3X-SFUGV2L-VSNYTKR-TSIUV5L-SHWD3HE-GQRGRCN-GY4UFMD-CW6Z6AX"; # cspell:disable-line ipad.id = "KI76T3X-SFUGV2L-VSNYTKR-TSIUV5L-SHWD3HE-GQRGRCN-GY4UFMD-CW6Z6AX"; # cspell:disable-line
bob.id = "CJIAPEJ-VO74RR4-F75VU6M-QNZAMYG-FYUJG7Y-6AT62HJ-355PRPL-PJFETAZ"; # cspell:disable-line bob.id = "CJIAPEJ-VO74RR4-F75VU6M-QNZAMYG-FYUJG7Y-6AT62HJ-355PRPL-PJFETAZ"; # cspell:disable-line
rhapsody-in-green.id = "ASL3KC4-3XEN6PA-7BQBRKE-A7JXLI6-DJT43BY-Q4WPOER-7UALUAZ-VTPQ6Q4"; # cspell:disable-line rhapsody-in-green.id = "ASL3KC4-3XEN6PA-7BQBRKE-A7JXLI6-DJT43BY-Q4WPOER-7UALUAZ-VTPQ6Q4"; # cspell:disable-line
davids-server.id = "7GXTDGR-AOXFW2O-K6J7NM3-XYZNRRW-AKHAFWM-GBOWUPQ-OA6JIWD-ER7RDQL"; # cspell:disable-line
}; };
}; };
}; };

View File

@@ -6,120 +6,123 @@ in
services.syncthing = { services.syncthing = {
guiAddress = "192.168.90.40:8384"; guiAddress = "192.168.90.40:8384";
settings.folders = { settings = {
"dotfiles" = { devices.davids-server.id = "7GXTDGR-AOXFW2O-K6J7NM3-XYZNRRW-AKHAFWM-GBOWUPQ-OA6JIWD-ER7RDQL"; # cspell:disable-line
path = "/home/richie/dotfiles"; folders = {
devices = [ "dotfiles" = {
"bob" path = "/home/richie/dotfiles";
"rhapsody-in-green" devices = [
]; "bob"
fsWatcherEnabled = true; "rhapsody-in-green"
}; ];
"notes" = { fsWatcherEnabled = true;
id = "l62ul-lpweo"; # cspell:disable-line };
path = vars.media_notes; "notes" = {
devices = [ id = "l62ul-lpweo"; # cspell:disable-line
"rhapsody-in-green" path = vars.media_notes;
"davids-server" devices = [
]; "rhapsody-in-green"
fsWatcherEnabled = true; "davids-server"
}; ];
"important" = { fsWatcherEnabled = true;
id = "4ckma-gtshs"; # cspell:disable-line };
path = "${vars.storage_syncthing}/important"; "important" = {
devices = [ id = "4ckma-gtshs"; # cspell:disable-line
"bob" path = "${vars.storage_syncthing}/important";
"rhapsody-in-green" devices = [
"phone" "bob"
]; "rhapsody-in-green"
fsWatcherEnabled = true; "phone"
}; ];
"music" = { fsWatcherEnabled = true;
id = "vprc5-3azqc"; # cspell:disable-line };
path = "${vars.storage_syncthing}/music"; "music" = {
devices = [ id = "vprc5-3azqc"; # cspell:disable-line
"bob" path = "${vars.storage_syncthing}/music";
"rhapsody-in-green" devices = [
"ipad" "bob"
"phone" "rhapsody-in-green"
]; "ipad"
fsWatcherEnabled = true; "phone"
}; ];
"projects" = { fsWatcherEnabled = true;
id = "vyma6-lqqrz"; # cspell:disable-line };
path = "${vars.storage_syncthing}/projects"; "projects" = {
devices = [ id = "vyma6-lqqrz"; # cspell:disable-line
"rhapsody-in-green" path = "${vars.storage_syncthing}/projects";
]; devices = [
fsWatcherEnabled = true; "rhapsody-in-green"
}; ];
"rhapsody-in-green_temp" = { fsWatcherEnabled = true;
path = "${vars.storage_syncthing}/rhapsody-in-green_temp"; };
devices = [ "rhapsody-in-green_temp" = {
"rhapsody-in-green" path = "${vars.storage_syncthing}/rhapsody-in-green_temp";
]; devices = [
fsWatcherEnabled = true; "rhapsody-in-green"
}; ];
"vault" = { fsWatcherEnabled = true;
path = "/home/richie/vault"; };
devices = [ "vault" = {
"rhapsody-in-green" path = "/home/richie/vault";
"davids-server" devices = [
]; "rhapsody-in-green"
fsWatcherEnabled = true; "davids-server"
}; ];
"backup" = { fsWatcherEnabled = true;
path = "${vars.storage_syncthing}/backup"; };
devices = [ "backup" = {
"davids-server" path = "${vars.storage_syncthing}/backup";
]; devices = [
fsWatcherEnabled = true; "davids-server"
}; ];
# fsWatcherEnabled = true;
"davids-backup1" = { };
id = "8229p-8z3tm"; # cspell:disable-line #
path = "${vars.storage_syncthing}/davids_backups/1"; "davids-backup1" = {
devices = [ id = "8229p-8z3tm"; # cspell:disable-line
"davids-server" path = "${vars.storage_syncthing}/davids_backups/1";
]; devices = [
fsWatcherEnabled = true; "davids-server"
type = "receiveencrypted"; ];
}; fsWatcherEnabled = true;
"davids-backup2" = { type = "receiveencrypted";
id = "iciw3-dp6ao"; # cspell:disable-line };
path = "${vars.storage_syncthing}/davids_backups/2"; "davids-backup2" = {
devices = [ id = "iciw3-dp6ao"; # cspell:disable-line
"davids-server" path = "${vars.storage_syncthing}/davids_backups/2";
]; devices = [
fsWatcherEnabled = true; "davids-server"
type = "receiveencrypted"; ];
}; fsWatcherEnabled = true;
"davids-backup3" = { type = "receiveencrypted";
id = "9si6m-bnkjb"; # cspell:disable-line };
path = "${vars.storage_syncthing}/davids_backups/3"; "davids-backup3" = {
devices = [ id = "9si6m-bnkjb"; # cspell:disable-line
"davids-server" path = "${vars.storage_syncthing}/davids_backups/3";
]; devices = [
fsWatcherEnabled = true; "davids-server"
type = "receiveencrypted"; ];
}; fsWatcherEnabled = true;
"davids-backup4" = { type = "receiveencrypted";
id = "qjyfy-uupj4"; # cspell:disable-line };
path = "${vars.storage_syncthing}/davids_backups/4"; "davids-backup4" = {
devices = [ id = "qjyfy-uupj4"; # cspell:disable-line
"davids-server" path = "${vars.storage_syncthing}/davids_backups/4";
]; devices = [
fsWatcherEnabled = true; "davids-server"
type = "receiveencrypted"; ];
}; fsWatcherEnabled = true;
"davids-backup5" = { type = "receiveencrypted";
id = "fm4h5-emsu2"; # cspell:disable-line };
path = "${vars.storage_syncthing}/davids_backups/5"; "davids-backup5" = {
devices = [ id = "fm4h5-emsu2"; # cspell:disable-line
"davids-server" path = "${vars.storage_syncthing}/davids_backups/5";
]; devices = [
fsWatcherEnabled = true; "davids-server"
type = "receiveencrypted"; ];
fsWatcherEnabled = true;
type = "receiveencrypted";
};
}; };
}; };
}; };