From f945bc025399a024b11c89455eb8f1f0d7d74725 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 15 Apr 2025 09:20:01 +0200 Subject: [PATCH] feat(syncthing): add new devices and folder configurations Added devices "m4" and "x1" along with updating folder configurations to include "x1" in the devices list. Included commented-out Syncthing settings for future use in the x1 default configuration. --- homes/x86_64-linux/harald@x1/default.nix | 21 +++++++++++++++++++++ systems/x86_64-linux/sgx/fileserver.nix | 7 +++++++ 2 files changed, 28 insertions(+) diff --git a/homes/x86_64-linux/harald@x1/default.nix b/homes/x86_64-linux/harald@x1/default.nix index f8595fd..65e815a 100644 --- a/homes/x86_64-linux/harald@x1/default.nix +++ b/homes/x86_64-linux/harald@x1/default.nix @@ -26,6 +26,27 @@ services.syncthing = { enable = true; tray.enable = true; + /* + settings = { + devices = { + "sgx" = { + id = "2AAVSVQ-PK66I2B-2B4KWAU-TF674DG-IXNEKLF-CIWK7HG-7MUC7OW-DQQNAQM"; + }; + "x1" = { + id = "ZXRDFYU-W22PYCZ-7QJJCVN-GGHP3TS-KSY56B4-75OLQRN-UR2A4ZU-7BQBQQZ"; + }; + }; + folders = { + "qibxq-03l4j" = { + path = "~/Documents/logseq"; + devices = [ + "sgx" + ]; + }; + }; + }; + */ + # overrideFolders = false; # overrideDevices = false; }; diff --git a/systems/x86_64-linux/sgx/fileserver.nix b/systems/x86_64-linux/sgx/fileserver.nix index 6388831..a51f64a 100644 --- a/systems/x86_64-linux/sgx/fileserver.nix +++ b/systems/x86_64-linux/sgx/fileserver.nix @@ -86,6 +86,12 @@ "S25" = { id = "7Q7XQXG-VF7QM6Y-HJST4V2-RWOPB3M-GHXQDLL-SRRN3IL-3PHKNOZ-D2IFIQV"; }; + "m4" = { + id = "WLIPM6R-RHVUP3S-7DVQJTD-M7NAMCH-ZFEAFI4-HOVXOBN-Q7RTQNG-FMU36QC"; + }; + "x1" = { + id = "ZXRDFYU-W22PYCZ-7QJJCVN-GGHP3TS-KSY56B4-75OLQRN-UR2A4ZU-7BQBQQZ"; + }; }; folders = { "qibxq-03l4j" = { @@ -93,6 +99,7 @@ devices = [ "sgx" "S25" + "x1" ]; }; "sm-s931b_hjcb-Bilder" = {