summaryrefslogtreecommitdiff
path: root/home/home.scm
diff options
context:
space:
mode:
Diffstat (limited to 'home/home.scm')
-rw-r--r--home/home.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/home/home.scm b/home/home.scm
index 53c1fe8..a2b429d 100644
--- a/home/home.scm
+++ b/home/home.scm
@@ -14,6 +14,7 @@
(gnu home services shells)
(gnu home services desktop)
(gnu home services gnupg)
+ (gnu home services syncthing)
(gnu home services)
(freya services pipewire)
(freya packages shells)
@@ -189,11 +190,19 @@
(".nix-channels" ,(local-file "nix-channels"))
(".gitconfig" ,(local-file "config/git/gitconfig"))))
- (service home-pipewire-service-type)
- (service home-dbus-service-type)
+ (service home-syncthing-service-type
+ (syncthing-configuration
+ (user (getenv "USER"))
+ (group (getenv "USER"))
+ (home (string-append (getenv "HOME") "/sync"))
+ (home-service? #t)))
+
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry "/bin/pinentry"))
(ssh-support? #t)))
+
+ (service home-pipewire-service-type)
+ (service home-dbus-service-type)
)))