From 53e31ee94bf74011a3497999d65f8451f59327f6 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Thu, 25 Apr 2024 19:16:25 -0400 Subject: elmo: move syncthing to /srv --- hostnix/elmo/syncthing.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hostnix/elmo/syncthing.nix') diff --git a/hostnix/elmo/syncthing.nix b/hostnix/elmo/syncthing.nix index 30e3569..63b540e 100644 --- a/hostnix/elmo/syncthing.nix +++ b/hostnix/elmo/syncthing.nix @@ -11,7 +11,7 @@ let in { systemd.tmpfiles.rules = [ - "d /var/lib/syncthing 0775 syncthing syncthing" + "d /srv/syncthing 0770 syncthing syncthing" # defaults to 0700 ]; systemd.services.syncthing = { @@ -23,6 +23,7 @@ in openDefaultPorts = true; # Syncthing supports named sockets but the NixOS module assumes network. guiAddress = "[::1]:8384"; + dataDir = "/srv/syncthing"; settings = { devices = { "Asus Nexus 7" = { -- cgit v1.3.1