From 86c73cfe56079d154451a2a28bc148901be9b6d6 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 13 Jun 2022 16:14:20 +0000 Subject: [PATCH] Convert syncthing to root --- profiles/base/syncthing.nix | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/profiles/base/syncthing.nix b/profiles/base/syncthing.nix index 5058476..dc46abc 100644 --- a/profiles/base/syncthing.nix +++ b/profiles/base/syncthing.nix @@ -10,9 +10,9 @@ in { services.syncthing = { enable = true; - user = "greg"; - group = "users"; - dataDir = "/home/greg/sync"; + user = "root"; + group = "root"; + dataDir = "/root/sync"; devices = { nas = { addresses = [ @@ -32,14 +32,7 @@ in addresses = [ "tcp://linode.thehellings.com:22000" ]; - id = "3PHWAI5-ILAWGGD-S5FC5QM-M2WQ2FX-PZ3IXQF-QVRKANG-WXAACJC-2MZN3Q5"; - }; - }; - folders = { - "mkrvy-tc6x9" = { - enable = true; - path = "/home/greg/drive"; - devices = syncs; + id = "ROZPUG5-G4IAXYA-JNRQXRD-5PFU2BQ-WVJTOGZ-DFMGJ5E-Q4IGXCJ-JHSNDQ6"; }; }; };