Add syncthing service

This commit is contained in:
Julien Hémono 2025-02-09 14:48:27 +01:00
parent ea751c8924
commit fb0a6fba5e
2 changed files with 15 additions and 0 deletions

View file

@ -10,6 +10,7 @@
./hardware-configuration.nix
# Services
./btrbk.nix
./syncthing.nix
];
# Boot configuration

14
hosts/gwiad/syncthing.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
{
services.syncthing = {
enable = true;
user = "jhemono";
group = "users";
dataDir = "/home/jhemono/Downloads";
configDir = "/home/jhemono/.config/syncthing";
overrideDevices = false;
overrideFolders = false;
openDefaultPorts = true;
};
}