summaryrefslogtreecommitdiff
path: root/hosts/syncthing.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/syncthing.nix')
-rw-r--r--hosts/syncthing.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/syncthing.nix b/hosts/syncthing.nix
new file mode 100644
index 0000000..09b0d9b
--- /dev/null
+++ b/hosts/syncthing.nix
@@ -0,0 +1,9 @@
+{ pkgs, ...}:
+{
+ services.syncthing = {
+ enable = true;
+ user = "y";
+ dataDir = "/home/y/sync/data";
+ configDir = "/home/y/sync/.config";
+ };
+}