make syncthing a --user service
This commit is contained in:
@@ -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
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user