make syncthing a --user service

This commit is contained in:
Odweta
2026-01-18 10:29:55 +01:00
parent 28c658ee58
commit b3790ffc3b
2 changed files with 14 additions and 13 deletions
+14
View File
@@ -0,0 +1,14 @@
{ pkgs, ... }:
{
# Enable Syncthing as a user service
programs.syncthing = {
enable = true;
autoStart = false;
dataDir = "$HOME/.config/syncthing"; # default location
gui = {
enable = true;
address = "127.0.0.1:8384"; # localhost GUI
};
};
}