diff --git a/systems/jeeves/configuration.nix b/systems/jeeves/configuration.nix index a7f940e..f6f974c 100644 --- a/systems/jeeves/configuration.nix +++ b/systems/jeeves/configuration.nix @@ -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 = '' diff --git a/users/richie/systems/rhapsody-in-green/configuration.nix b/users/richie/systems/rhapsody-in-green/configuration.nix index 87f20b1..ea9a5fa 100644 --- a/users/richie/systems/rhapsody-in-green/configuration.nix +++ b/users/richie/systems/rhapsody-in-green/configuration.nix @@ -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" ];