From cbd7c419384513d8b10d653ec48a68ec00ab6bea Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 8 Apr 2024 11:44:36 +0100 Subject: [PATCH] Add Scorch to syncthing Remove caddy proxy to syncthing interface --- services/syncthing.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/services/syncthing.nix b/services/syncthing.nix index de369fda..25f07152 100644 --- a/services/syncthing.nix +++ b/services/syncthing.nix @@ -14,10 +14,11 @@ in { "Legion".id = "3SSNCLP-ZZKNS65-7CKKGFY-KJYQU6S-P5BM7SB-MMW5ZLM-TMND6IV-ZMUO4AQ"; "Northstar".id = "DJVVFUX-QRJNEUZ-OVEQ63J-KJIGNY7-O4MEOMH-GDKYHOB-BQES3O4-C3BJHQ2"; "Vanguard".id = "NCJBYBK-JRVFAAN-XO4I5AS-B5L7QD2-5PAMWX7-PHD5FQH-Q2EI32H-U3GF5AA"; + "Scorch".id = "VVKKUT6-DMNEJ6J-ZI2QREG-SOLG7S5-V2V6WN3-UCQH2EN-6S2XXLS-FKN6KQF"; }; folders = { "Music" = { - inherit devices; + devices = devices ++ ["Scorch"]; id = "munzw-vnxhl"; path = "~/Music"; ignorePerms = true; @@ -37,10 +38,4 @@ in { }; }; }; - services.caddy.virtualHosts."sync.xenia.me.uk".extraConfig = '' - basicauth { - evie $2a$14$AwYqa81IWL8lU7B5SrQhlOILZj4VqCgcIn9cte8nytQIP/WhfJoSG - } - reverse_proxy http://localhost:8384 - ''; }