fixed permissions and ignore certain folders
parent
f3a1442939
commit
efb2e66f2a
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue