summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-17 00:39:39 +0200
committermakefu <github@syntax-fehler.de>2018-09-17 00:39:39 +0200
commita552d304a3682eec05ebf3229e8f79e75ee697a0 (patch)
tree24ee2c8cdcfa74b9475b44c45156c184c8492ed2
parentbbed9690c9b5cece3a51fc6123bfa437f7d0fca9 (diff)
ma x: syncthing runs as default user
-rw-r--r--makefu/1systems/x/config.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/makefu/1systems/x/config.nix b/makefu/1systems/x/config.nix
index 54a16a931..c11454eb8 100644
--- a/makefu/1systems/x/config.nix
+++ b/makefu/1systems/x/config.nix
@@ -43,6 +43,7 @@ with import <stockholm/lib>;
<stockholm/makefu/2configs/mail-client.nix>
<stockholm/makefu/2configs/printer.nix>
<stockholm/makefu/2configs/task-client.nix>
+ # <stockholm/makefu/2configs/syncthing.nix>
# Virtualization
<stockholm/makefu/2configs/virtualisation/libvirt.nix>
@@ -149,4 +150,6 @@ with import <stockholm/lib>;
"/home/makefu/backup/borgun"
"/home/makefu/.mail/"
];
+ services.syncthing.user = lib.mkForce "makefu";
+ services.syncthing.dataDir = lib.mkForce "/home/makefu/.config/syncthing/";
}