summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-10-03 15:42:05 +0200
committerJulian T <julian@jtle.dk>2022-10-03 15:42:05 +0200
commit1f71b665527a0fef1b41624cebb21aff997f854e (patch)
tree75486f1e72a58eed4171d93c22ae80553efdc991
parentca25a8b152edab41c0b14fb0e831b597b98624e2 (diff)
Add syncthingHEADmaster
-rw-r--r--desktop.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop.nix b/desktop.nix
index 8be4255..7b3ab48 100644
--- a/desktop.nix
+++ b/desktop.nix
@@ -24,6 +24,15 @@
sound.enable = true;
services = {
+ syncthing = rec {
+ enable = true;
+ user = "julian";
+ overrideDevices = true;
+ overrideFolders = true;
+ dataDir = "/home/${user}/";
+ configDir = "/home/${user}/.config/syncthing";
+ };
+
xserver = {
enable = true;
layout = "us";