diff options
author | lassulus <lassulus@lassul.us> | 2019-04-07 18:44:57 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-04-07 19:28:35 +0200 |
commit | 797dd8cc2ac3b67ec385e0350db1c3c77012486f (patch) | |
tree | 7892dafab3d727f5998774bb41dbada68612d092 /lass/1systems/blue | |
parent | 853e6b6d2610a9c49bf24c1c29ab59fddad64382 (diff) |
l: sync more with syncthing
Diffstat (limited to 'lass/1systems/blue')
-rw-r--r-- | lass/1systems/blue/config.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lass/1systems/blue/config.nix b/lass/1systems/blue/config.nix index d740403da..da555a860 100644 --- a/lass/1systems/blue/config.nix +++ b/lass/1systems/blue/config.nix @@ -13,6 +13,13 @@ with import <stockholm/lib>; krebs.build.host = config.krebs.hosts.blue; + krebs.syncthing.folders = [ + { id = "contacts"; path = "/home/lass/contacts"; peers = [ "mors" "blue" "green" "phone" ]; } + ]; + lass.ensure-permissions = [ + { folder = "/home/lass/contacts"; owner = "lass"; group = "syncthing"; } + ]; + environment.shellAliases = { deploy = pkgs.writeDash "deploy" '' set -eu |