fixed permissions and ignore certain folders

dev-docs
Moritz Böhme 2021-10-12 17:52:38 +02:00
parent f3a1442939
commit efb2e66f2a
1 changed files with 15 additions and 1 deletions

View File

@ -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}";
};
};
};