Move syncthing to system service on buck
This commit is contained in:
parent
181a0c10af
commit
f805c215cc
@ -195,7 +195,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
syncthing = {
|
syncthing = {
|
||||||
enable = true;
|
enable = false;
|
||||||
# cause the tray command to wait for the service and tray manager to start
|
# cause the tray command to wait for the service and tray manager to start
|
||||||
#extraOptions = [ "--wait" ];
|
#extraOptions = [ "--wait" ];
|
||||||
tray.enable = false;
|
tray.enable = false;
|
||||||
|
|||||||
@ -117,6 +117,8 @@
|
|||||||
#media-session.enable = true;
|
#media-session.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
syncthing = import ./syncthing.nix;
|
||||||
|
|
||||||
# Enable the X11 windowing system. services.xserver.enable = true;
|
# Enable the X11 windowing system. services.xserver.enable = true;
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
5
machines/buck/syncthing.nix
Normal file
5
machines/buck/syncthing.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
dataDir = "/home/jacob/Sync";
|
||||||
|
#guiAddress = "0.0.0.0:8234"; # for headless
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user