From a2dc4024e086a6a18a44e36ab3d921cf535a9e88 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Mon, 12 Aug 2024 16:12:03 +0100 Subject: [PATCH] syncthing: add extra shares --- README.md | 7 ++++--- hosts/tohru/syncthing.nix | 31 ++++++++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e70385b..0b0fb40 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,15 @@ The canonical location for this repository is https://git.qenya.tel/qenya/nixfil ## Machines -### In this config +### Managed * `tohru`: Dell Latitude 5300, personal laptop -* `yevaud`: Oracle Cloud free AMD VM, hosts a Forgejo instance -* `orm`: Oracle Cloud free AMD VM, WireGuard server for the other machines in the network +* `yevaud`: Oracle Cloud free AMD VM, hosts a Forgejo instance and WireGuard server for the other machines in the network +* `orm`: Oracle Cloud free AMD VM, currently idling ### Referenced only * `kilgharrah`: Custom-built personal desktop, currently running Arch * `shaw`: [My girlfriend's NAS](https://github.com/randomnetcat/nix-configs/tree/main/hosts/shaw) +* `latias`: My Steam Deck ## Usage diff --git a/hosts/tohru/syncthing.nix b/hosts/tohru/syncthing.nix index 0bd239c..a7820bd 100644 --- a/hosts/tohru/syncthing.nix +++ b/hosts/tohru/syncthing.nix @@ -11,12 +11,41 @@ settings = { devices = { "kilgharrah" = { id = "RDT7IGD-76FZ6LY-37PPB2W-DWPQRPR-LZ4AXF7-4GIIHYJ-RVXUUSG-ZXPN3AZ"; }; + "latias" = { id = "EN4W2SB-LB4AAZQ-6AQIE7G-S3BSCSP-V2EUNMM-KAQEHW3-PPAPGBO-PXRPWAL"; }; + "shaw" = { id = "NC7WMZS-GQETJYR-IAYGD65-GHTSTVP-VAAG43K-W7N3LO5-C5OQMZ2-DTK6YA7"; }; }; folders = { + "Sync" = { + id = "uln2v-zwzwj"; + path = "~/Sync"; + devices = [ "kilgharrah" "shaw" ]; + }; + "Documents" = { id = "alp59-7gs9s"; path = "~/Documents"; - devices = [ "kilgharrah" ]; + devices = [ "kilgharrah" "shaw" ]; + }; + "Music" = { + id = "7xvkf-y62s7"; + path = "~/Music"; + devices = [ "kilgharrah" "shaw" ]; + }; + "Pictures" = { + id = "tbmhx-ep7wk"; + path = "~/Pictures"; + devices = [ "kilgharrah" "shaw" ]; + }; + + "ES-DE" = { + id = "c1cbh-llw94"; + path = "~/ES-DE"; + devices = [ "kilgharrah" "latias" "shaw" ]; + }; + "ROMs" = { + id = "dcze4-v6act"; + path = "~/ROMs"; + devices = [ "kilgharrah" "latias" "shaw" ]; }; }; };