diff --git a/nixos/modules/nixos/services/syncthing/config/default.nix b/nixos/modules/nixos/services/syncthing/config/default.nix index 2417d76..3a9819d 100644 --- a/nixos/modules/nixos/services/syncthing/config/default.nix +++ b/nixos/modules/nixos/services/syncthing/config/default.nix @@ -6,32 +6,41 @@ }; devices = { - legiondary = { - name = "legiondary"; - id = "O4WI2YC-BZBPF2W-2ALNQ2D-UOP3BK5-ZDSEHVH-DIHS2FG-BSVJCXG-GF47XAE"; - addresses = [ "dynamic" ]; - }; - shadowfax = { - name = "shadowfax"; - id = "U3DS7CW-GBZT44M-IFP3MOB-AV6SHVY-YFVEL5P-HE3ACC5-NDDGAOB-HOTKJAC"; - addresses = [ "tcp://10.1.1.61:22000" ]; - }; - gandalf = { - name = "gandalf"; - id = "2VYHSOB-4QE3UIJ-EFKAD4D-J7YTLYG-4KF36C2-3SOLD4G-MFR6NK3-C2VSAQV"; - addresses = [ "tcp://10.1.1.13:22000" ]; - }; - telchar = { - name = "telchar"; - id = "ENO4NVK-DUKOLUT-ASJZOEI-IFBVBTA-GDNWKWS-DQF3TZW-JJ72VVB-VWTHNAH"; - addresses = [ "dynamic" ]; + gandalf = { + name = "gandalf"; + id = "2VYHSOB-4QE3UIJ-EFKAD4D-J7YTLYG-4KF36C2-3SOLD4G-MFR6NK3-C2VSAQV"; + addresses = [ "tcp://10.1.1.13:22000" ]; + }; + legiondary = { + name = "legiondary"; + id = "O4WI2YC-BZBPF2W-2ALNQ2D-UOP3BK5-ZDSEHVH-DIHS2FG-BSVJCXG-GF47XAE"; + addresses = [ "dynamic" ]; + }; + shadowfax = { + name = "shadowfax"; + id = "U3DS7CW-GBZT44M-IFP3MOB-AV6SHVY-YFVEL5P-HE3ACC5-NDDGAOB-HOTKJAC"; + addresses = [ "tcp://10.1.1.61:22000" ]; + }; + telchar = { + name = "telchar"; + id = "ENO4NVK-DUKOLUT-ASJZOEI-IFBVBTA-GDNWKWS-DQF3TZW-JJ72VVB-VWTHNAH"; + addresses = [ "dynamic" ]; }; }; folders = { - "~/projects" = { + projects = { id = "projects"; - devices = [ "legiondary" "shadowfax" "gandalf" "telchar" ]; + path = "~/projects"; + versioning = { + type = "simple"; + params.keep = 10; + }; + devices = [ + "legiondary" + "shadowfax" + "gandalf" + ]; }; }; }