diff options
| author | Joe Mou <dev@mou.fo> | 2024-04-25 19:16:25 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2024-04-26 16:30:33 -0400 |
| commit | 53e31ee94bf74011a3497999d65f8451f59327f6 (patch) | |
| tree | c07ef161e62f22cb396beeff1d32a64aff9908ff /hostnix/elmo | |
| parent | d7a2de8639c9d901884f6ac0477d87167811756b (diff) | |
elmo: move syncthing to /srv
Diffstat (limited to 'hostnix/elmo')
| -rw-r--r-- | hostnix/elmo/syncthing.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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" = { |
