Skip to content

Commit

Permalink
syncthing folder versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ALinkbetweenNets committed Sep 29, 2024
1 parent 5e7b8c3 commit 4ecd0ce
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions modules/syncthing/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ in {
devices = [ "dn" "fn" "hn" "sn" "xn" ];
versioning = {
type = "simple";
params.keep = "3";
params.keep = "5";
};
};
"github" = {
Expand All @@ -83,14 +83,26 @@ in {
"mirror" = {
path = lib.mkDefault "${config.link.syncthingDir}/.data-mirror";
devices = [ "fn" "xn" "sn" ];
versioning = {
type = "simple";
params.keep = "3";
};
};
"backups" = {
path = lib.mkDefault "${config.link.syncthingDir}/backups";
devices = [ "sn" "pi4b" ];
versioning = {
type = "simple";
params.keep = "3";
};
};
"archive" = {
path = lib.mkDefault "${config.link.syncthingDir}/archive";
devices = [ "dn" "fn" "xn" "sn" ];
versioning = {
type = "simple";
params.keep = "3";
};
};
"doc" = {
path = lib.mkDefault "${config.link.syncthingDir}/doc";
Expand All @@ -106,7 +118,7 @@ in {
];
versioning = {
type = "simple";
params.keep = "10";
params.keep = "5";
};
};
"music" = {
Expand Down

0 comments on commit 4ecd0ce

Please sign in to comment.