fixed permissions and ignore certain folders

This commit is contained in:
Moritz Böhme 2021-10-12 17:52:38 +02:00
parent f3a1442939
commit efb2e66f2a

View file

@ -53,7 +53,18 @@
services.unison = { services.unison = {
enable = true; enable = true;
pairs = { 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 = { diskstation = {
roots = [ "/home/moritz/Documents" "/media/diskstation" ]; roots = [ "/home/moritz/Documents" "/media/diskstation" ];
commandOptions = { commandOptions = {
@ -64,6 +75,9 @@
sshcmd = "\${pkgs.openssh}/bin/ssh"; sshcmd = "\${pkgs.openssh}/bin/ssh";
ui = "text"; ui = "text";
fastcheck = "true"; fastcheck = "true";
# debug = "verbose";
perms = "0o1666";
ignore = "Name {.direnv}";
}; };
}; };
}; };