diff options
-rw-r--r-- | modules/syncthing.nix | 11 | ||||
-rw-r--r-- | satoshipad.nix | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/syncthing.nix b/modules/syncthing.nix new file mode 100644 index 0000000..9c9b778 --- /dev/null +++ b/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"; + }; +} diff --git a/satoshipad.nix b/satoshipad.nix index 9f1f6f0..687980f 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -8,6 +8,7 @@ ./modules/thinkpad.nix ./modules/audio.nix ./modules/adb.nix + ./modules/syncthing.nix ]; networking.hostName = "satoshipad"; |