diff --git a/modules/services/diskstation/default.nix b/modules/services/diskstation/default.nix index c0f7afd..9f03686 100644 --- a/modules/services/diskstation/default.nix +++ b/modules/services/diskstation/default.nix @@ -53,7 +53,18 @@ services.unison = { enable = true; pairs = { - keepass.roots = [ "/home/moritz/Keepass" "/auto/keepass" ]; + keepass = { + roots = [ "/home/moritz/Keepass" "/auto/keepass" ]; + commandOptions = { + auto = "true"; + batch = "true"; + log = "false"; + repeat = "watch"; + sshcmd = "\${pkgs.openssh}/bin/ssh"; + ui = "text"; + ignore = "Name {lost+found}"; + }; + }; diskstation = { roots = [ "/home/moritz/Documents" "/media/diskstation" ]; commandOptions = { @@ -64,6 +75,9 @@ sshcmd = "\${pkgs.openssh}/bin/ssh"; ui = "text"; fastcheck = "true"; + # debug = "verbose"; + perms = "0o1666"; + ignore = "Name {.direnv}"; }; }; };