aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/services/syncthing.scm
diff options
context:
space:
mode:
Diffstat (limited to 'oni/home/services/syncthing.scm')
-rw-r--r--oni/home/services/syncthing.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/oni/home/services/syncthing.scm b/oni/home/services/syncthing.scm
index eee8d23..c12de05 100644
--- a/oni/home/services/syncthing.scm
+++ b/oni/home/services/syncthing.scm
@@ -12,7 +12,7 @@
(define-configuration home-syncthing-configuration
(package
- (package syncthing-gtk)
+ (package syncthing)
"Package to use for setting syncthing"))
(define (add-syncthing-packages config)
@@ -26,9 +26,10 @@
(auto-start? #t)
(start
#~(make-forkexec-constructor
- (list #$(file-append (home-syncthing-configuration-package config) "/bin/syncthing-gtk")
- "--minimized"
- #:log-file (format #f "~a/.local/var/log/syncthing.log" (getenv "HOME")))))
+ (list #$(file-append (home-syncthing-configuration-package config) "/bin/syncthing")
+ "serve"
+ "--logfile" (format #f "~a/.local/var/log/syncthing.log" (getenv "HOME"))
+ "--no-browser")))
(stop
#~(make-kill-destructor)))))