ADD synchting service

main
Alexandre LUCAZEAU 2023-07-27 10:13:00 +02:00
parent 589fa7fcbe
commit 13987650a7
1 changed files with 14 additions and 0 deletions

14
modules/syncthing.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
services = {
syncthing = {
enable = true;
user = "alexandre";
dataDir =
"/home/alexandre/Documents"; # Default folder for new synced folders
configDir =
"/home/alexandre/.config/syncthing"; # Folder for Syncthing's settings and keys
};
};
}