all repos — nixfiles @ c24e26149c78725b33c68b6bce46cc9fc79f9bea

System and user configuration, managed by nix and home-manager

Add syncthing configuration
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 14:25:02 +0200
commit

c24e26149c78725b33c68b6bce46cc9fc79f9bea

parent

a5b0892e4f3d255d695f6a54219e1f5edf21c725

2 files changed, 12 insertions(+), 0 deletions(-)

jump to
A modules/syncthing.nix
@@ -0,0 +1,11 @@+{ config, pkgs, ... }:
+
+{ services.syncthing = {
+    enable = true;
+    user = "alan";
+    group = "users";
+    systemService = true;
+    useInotify = true;
+    dataDir = "/home/alan/.config/syncthing";
+  };
+}
M satoshipad.nixsatoshipad.nix
@@ -8,6 +8,7 @@ ./modules/laptop.nix     ./modules/thinkpad.nix
     ./modules/audio.nix
     ./modules/adb.nix
+    ./modules/syncthing.nix
   ];
 
   networking.hostName = "satoshipad";