63 current 2025-10-05 15:21:07 25.05.20251001.5b5be50 6.12.49 *

This commit is contained in:
2025-10-05 15:21:40 -05:00
parent 3064d01ca4
commit 042e6da6b3
2 changed files with 4 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ in
};
config = lib.mkIf cfg.enable {
systemd.tmpfiles.rules = lib.optionals (cfg.mode == "server") ["d /var/lib/syncthing 0775 root blake -"];
services.syncthing = {
enable = true;
user = if cfg.mode == "server" then "root" else "blake";